Welcome to WebmasterWorld Guest from

Forum Moderators: phranque

Message Too Old, No Replies

Removing pages and content - what HTTP response to send?

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

Full Member

10+ Year Member

joined:Feb 4, 2004
votes: 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,

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

Senior Member from CA 

WebmasterWorld Senior Member encyclo is a WebmasterWorld Top Contributor of All Time 10+ Year Member

joined:Aug 31, 2003
votes: 6

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.

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

Full Member

10+ Year Member

joined:Feb 4, 2004
votes: 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.