homepage Welcome to WebmasterWorld Guest from 54.211.235.255
register, free tools, login, search, pro membership, help, library, announcements, recent posts, open posts,
Become a Pro Member

Visit PubCon.com
Home / Forums Index / Hardware and OS Related Technologies / Website Technology Issues
Forum Library, Charter, Moderators: phranque

Website Technology Issues Forum

    
Removing pages and content - what HTTP response to send?
adb64




msg:4011763
 7:48 pm on Oct 22, 2009 (gmt 0)

I'm about to remove some pages from my site. The content that is on that pages will be removed and not on my site anymore on other pages.

The pages are indexed by G and others and visitors come to my site via searchterms on these pages, but the content is not relevant anymore.

What would be the best response code when anyone tries to access these pages after they are gone?
A 301 to my index page, or just a plain 404 on which a link to my index page is provided or a 410 (Gone) with a link to my index page that will be replaced after some time with a 404?

Please advice,
Thanks,
Arjan

 

encyclo




msg:4011947
 12:35 am on Oct 23, 2009 (gmt 0)

Redirecting to the home page is about the worst scenario here. Some possibilities would be to:

1. 301 redirect individual pages to similar pages with updated or similarly-relevant information

2. send a 404 Not Found error response, and use a custom 404 page with a site map, links or search box to direct users to other pages of your site (otherwise they are likely to simply click the Back button and go elsewhere)

3. Use a 410 Gone response code - technically this will probably be the "correct" response code, but search engines generally treat it as a function equivalent of a 404.

Personally, if I couldn't redirect to replacement content, I would go for a 404.

adb64




msg:4012052
 6:13 am on Oct 23, 2009 (gmt 0)

Thanks for the response, as there is no replacement content and the 404 mechanism with a custom page is already in place, option 2 sounds like the way to go then.

Global Options:
 top home search open messages active posts  
 

Home / Forums Index / Hardware and OS Related Technologies / Website Technology Issues
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