homepage Welcome to WebmasterWorld Guest from 54.196.197.153
register, free tools, login, search, pro membership, help, library, announcements, recent posts, open posts,
Become a Pro Member
Home / Forums Index / WebmasterWorld / Domain Names
Forum Library, Charter, Moderators: buckworks & webwork

Domain Names Forum

    
Coping with a site redesign and old deep links
How to deal with deep links to now non-existant pages
tankman




msg:700448
 6:47 pm on Mar 23, 2004 (gmt 0)

A recent site redesign has left many sites that deep links to us with 404s.

What's the best method (for google pagerank) to point these links to the new urls?

http-equiv="Refresh"?
404's redirect to homepage in .htaccess?

thanks.

 

pixel_juice




msg:700449
 10:05 pm on Mar 24, 2004 (gmt 0)

IMO the best method would be to use a custom 404 page. So put

ErrorDocument 404 /error.php

in your htaccess (if your host supports this)

Then make error.php which should be a 'smart' 404 page which checks what page was requested. If it's an old url that has moved, it 301 (permanently) redirects to the new location. If the page genuinely doesn't exist, it should give a 404 error as usual.

The 301s should help pass along pagerank etc to the new pages, and also help search engines get the new urls in the index quickly. Most search engines don't really like meta refreshes and other javascripty redirects too much.

Global Options:
 top home search open messages active posts  
 

Home / Forums Index / WebmasterWorld / Domain Names
rss feed

All trademarks and copyrights held by respective owners. Member comments are owned by the poster.
Home ¦ Free Tools ¦ Terms of Service ¦ Privacy Policy ¦ Report Problem ¦ About ¦ Library ¦ Newsletter
WebmasterWorld is a Developer Shed Community owned by Jim Boykin.
© Webmaster World 1996-2014 all rights reserved