A New Template for Joomla!


Redirecting an Entire Website Using .htaccess

When I decided to change the domain for my Joomla website to, I needed a way to ensure that all traffic from my old URL was not lost - I get quite a few hits from Google. 

I used the following .htaccess file to redirect to If both olddomain and newdomain point to the same server filespace, then you will need to tell this rewrite rule not to redirect newdomain to itself, which it will do unless told otherwise.The added RewriteCond prevent the rule from being applied unless the requested domain is NOT ""

Options +FollowSymLinks
RewriteEngine on
RewriteCond %{HTTP_HOST} !^blog\.mundy\.com
RewriteRule (.*)$1 [R=301,L]