views:

51

answers:

4

I am working on a public-facing web site which serves up articles for people to read. After some time, articles become stale and we remove them from the site. My question is this: what is the best way to handle the situation when a search engine visits a URL corresponding to a removed article? Should the app respond with a permanent redirect (301 Moved Permanently) to a "article not found" page, or is there a better way to handle this?

Edit
These articles are actually not removed, but they are "unpublished" - and they may return to the "published" state eventually.

+1  A: 

Well, if you want to be all proper about it, it should redirect not to an article not found, but to an "article removed" page. Because article not found suggests that it should be a 404.

Joel Martinez
OK, so what response should I give back if not 404. 301 doesn't seem right either...
Brandon Montgomery
+1  A: 

My gut tells me that you should probably have an article removed page, but in practice many sites will simply do a 301 redirect to the home page.

I think the idea there is that any "link juice" from the old article will then be transferred to the home page rather than a generic "article removed" page. I get the feeling though that search engines might not look too kindly on that practice.

Eric Petroelje
+5  A: 

If the article is remove you should respond with 410 Gone. Your error page can still have some useful info on it as long as the response code is correct. This indicates that the page has been intentionally removed and is not just "not found" (as would happen with a bad url).

George Steel
+3  A: 

You might consider keeping the content up, with some sort of indicator to the person reading it that the content is stale. Then you could also include more relevant content on the page or links to more relevant content.

This might not be appropriate for your situation, or could be more work than its worth, but it may be a good way not to waste potential traffic.

I feel like the 410 Gone response would be the appropriate response, however, you'd basically be telling the search engine "we don't have this content anymore, so stop linking here" - which isn't advantageous to your SEO strategy.

DutrowLLC
I like this the most because it still brings people to our site, it informs them the article is gone, and I can put links in place of the article to our home page, a list of the current articles, etc.
Brandon Montgomery
Another thought - I could also put "related articles" there and that would be helpful too.
Brandon Montgomery
Exactly. I feel like taking the content down would be like throwing away money. The only reason I'd take it down is if it caused problems for you by supplying people with wrong information or if it was an inordinate amount of work to provide the indicators that it was old content and inclusion of more relevant content.
DutrowLLC
I agree that keeping the content around if possible is the best option. Perhaps making the date of the article highly visible would help. 410 Gone is still the best option if you've had to remove the content. As for SEO, the search engines all sat that honesty is the best policy so if you have to remove an article, 410 Gone is the best response.
George Steel