Domain redirect

September 14th, 2013

This plugin loads at Joomla! startup and checks if the domain used in the URL matches the one specified in the parameters. If it does not, the plugin gracefully redirects the visitor to the exact same URL, replacing the domain with the preferred one.

Useful if you can’t (or won’t) modify your .htaccess files for Apache redirection. Or if you can’t write Rewrite Rules, just like me…