How I Redirected Missnexus.com Traffic to www.Missnexus.com
Tuesday, September 25th, 2007 at 8:45 am · 31 views
Redirecting traffic from missnexus.com to http://www.missnexus.com was a much easier fix than I suspected.
Of course to start, I simply Googled the search term permanent 301 redirect which takes you here. I few links down on the first page of results, I found this website that laid everything I needed out clearly.
You need to have access to your .htaccess file to make the following edit. I opened it up in Notepad. After you opened the file, to redirect domain.com to www.domain.com add this code:
Options +FollowSymLinks
RewriteEngine On
RewriteCond %{HTTP_HOST} ^domain\.com$ [NC]
RewriteRule ^(.*)$ http://www.domain.com/$1 [R=301,L]
Of course change domain to your domain name.
To Redirect www.domain.com to domain.com
Options +FollowSymLinks
RewriteEngine On
RewriteCond %{HTTP_HOST} ^www.domain\.com$ [NC]
RewriteRule ^(.*)$ http://domain.com/$1 [R=301,L]
After you edit .htaccess, save it then upload to your server. Yes folks it is that easy. I will definitely be sure to check out the SEO grade results of http://www.missnexus.com to see if my changes increased the grade.
Source: http://www.website-development-training.com/301/




