Changing domainname using 301 moved permanently


When I switched domainnames from blog.emaux.nl to www.typo3-addict.com. Using the 301 moved permanently http header you redirect visitors directly to your new url and tell Google to visit the new url in the future.

To use this 301 header just add the following to your htaccess file:

<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]
# REDIRECT BEGIN
RewriteCond %{HTTP_HOST} ^blog\.emaux\.nl [nc]
RewriteRule (.*) http://www.typo3-addict.com/$1 [R=301,L]
# REDIRECT END
</IfModule>

Bookmark and Share

Comments are currently unavailable due to spam.