Support

Admin Tools

#11992 Redirect Entire Country

Posted in ‘Admin Tools for Joomla! 4 & 5’
This is a public ticket

Everybody will be able to see its contents. Do not include usernames, passwords or any other sensitive information.

Environment Information

Joomla! version
n/a
PHP version
n/a
Admin Tools version
n/a

Latest post by nicholas on Saturday, 14 April 2012 13:06 CDT

ameran
Hi,

I am premium user of your extensions. I really love the Admin Tools. I found out that I can block the entire specific country to access my site.

I am wondering, if there is a way to redirect the entire country to a specific URL? If not, is it a good idea to add this feature to Admin Tools? I believe, that this feature will be a good thing for webmasters.

I have two questions: What URL do the blocked visitors from a country see? Is it possible to change that URL or page? I really appreciate your help.

Regards,
Amir Nouri

nicholas
Akeeba Staff
Manager
Hi Amir,

So far nobody had asked for such a feature and, frankly, I don't see a good reason to implement that. Just remember that sniffing the country is about 95% accurate. It's best to redirect visitors based on their language (something which Joomla! can do) rather than their country.

The URL the Geo-blocked visitors see is the same error page all blocked visitors see. You get the choice between a standard-issue Joomla! 403 error page with a custom message, or the new design, overridable error page - it's all in the docs. While you can't the change the URL of the page (because it's not a special URL, it's a bit complicated to explain it but let's just say that Admin Tools hijacks the page), using the custom error page you can provide your own layout to present the message you want. You can do that using standard Joomla! template overrides.

Nicholas K. Dionysopoulos

Lead Developer and Director

🇬🇷Greek: native 🇬🇧English: excellent 🇫🇷French: basic • 🕐 My time zone is Europe / Athens
Please keep in mind my timezone and cultural differences when reading my replies. Thank you!

Support Information

Working hours: We are open Monday to Friday, 9am to 7pm Cyprus timezone (EET / EEST). Support is provided by the same developers writing the software, all of which live in Europe. You can still file tickets outside of our working hours, but we cannot respond to them until we're back at the office.

Support policy: We would like to kindly inform you that when using our support you have already agreed to the Support Policy which is part of our Terms of Service. Thank you for your understanding and for helping us help you!