Forum Moderators: martinibuster

Message Too Old, No Replies

301 redirect and links

         

av8erab

5:00 pm on Feb 5, 2006 (gmt 0)

10+ Year Member



I am currently working on how to do a 301 for www. and non www.

When I choose one and do the redirect how will this affect my inbound links?

I am showing a different # of inbound links for the two. They are close but not the same. Will the one I choose get all the links?

Thanks

milanmk

5:59 pm on Feb 5, 2006 (gmt 0)

10+ Year Member



I am currently working on how to do a 301 for www. and non www.

RewriteEngine On
RewriteCond %{HTTP_HOST} www.example.com
RewriteRule ^.*$ http://example.com%{REQUEST_URI} [R]

It works for almost all the requests which are HTTP/1.1

Will the one I choose get all the links?

It depends on different SE's. MSN will likely change all the indexed links according to your newest redirect. Google and Yahoo will keep the indexed pages for quite a long time.

av8erab

12:24 am on Feb 8, 2006 (gmt 0)

10+ Year Member



Where do I put this code. My site is on asp

Thanks