Welcome to WebmasterWorld Guest from 54.226.246.160

Message Too Old, No Replies

What is the Proper Redirection?

     

jakegotmail

10:03 pm on Mar 31, 2005 (gmt 0)

10+ Year Member



I have new site a ... and old site b ... Now old site b has indexed pages in google ... should I 301 redirect all of the pages on site b to site a? Or should I only 301 the index page and 404 all the other pages .... please help.

jakegotmail

11:39 pm on Apr 1, 2005 (gmt 0)

10+ Year Member



does anyone know?

Reid

12:27 am on Apr 2, 2005 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



If you have .htaccess you can do a mod rewrite

rewrite oldsite.* to newsite.* [r=301]

I'm not sure about the proper syntax but what it does is redirects oldsite/pagename.htm to newsite/pagename.htm for whatever page is requested, that is if the old and new sites are the same.

Find out how in the apache forum if you run apache.

the proper HTTP status code would be 301 'page has moved permanently'

mrMister

1:58 am on Apr 2, 2005 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



should I 301 redirect all of the pages on site b to site a? Or should I only 301 the index page and 404 all the other pages

You should issue a 301 on all of the pages on your old site pointing to the same page on the new site.

If you have re-arranged your new site and removed some pages, you should issue a 410 for the pages on site b that no longer exist on site a

 

Featured Threads

Hot Threads This Week

Hot Threads This Month