301 Redirect

On March 9, 2009, in Centos, by How2CentOS

Permanent 301 Redirect

Search engines may think www.example.co.za and example.co.za are two different sites.You should set up a permanent redirect (technically called a “301 redirect”) between these sites. Once you do that, you will get full search engine credit for your work on these sites.

In example.co.za html root folder create the following:

# vi .htaccess

Options +FollowSymlinks
RewriteEngine on
rewritecond %{http_host} ^example.co.za [nc]
rewriterule ^(.*)$ http://www.example.co.za/$1 [r=301,nc]

No related posts.

Tagged with:  

Leave a Reply

blog comments powered by Disqus
Get Adobe Flash playerPlugin by wpburn.com wordpress themes
Afrigator
Blog WebMastered by All in One Webmaster.