homepage Welcome to WebmasterWorld Guest from 54.145.238.55
register, free tools, login, search, pro membership, help, library, announcements, recent posts, open posts,
Become a Pro Member
Home / Forums Index / Hardware and OS Related Technologies / Website Technology Issues
Forum Library, Charter, Moderators: phranque

Website Technology Issues Forum

    
HTTP 410 Gone
When removing a resource, use 410 Gone
pageoneresults

WebmasterWorld Senior Member pageoneresults us a WebmasterWorld Top Contributor of All Time 10+ Year Member



 
Msg#: 4064 posted 9:47 am on May 29, 2005 (gmt 0)

4.2: HTTP 410 Gone

This does not mean the web does not allow for documents to be removed or deprecated. Content managers should avoid, when possible, simply removing resources, and should consider instead the correct standard procedure, which is to use the 410 gone status code ([RFC2616] section 10.4.11).

Whereas the 404 Not found status code only means that the server is unable to find the resource, the 410 gone status code means that the resource is intentionally unavailable. For the sake of semantics and caching (a 410 gone is cacheable unless indicated otherwise).

How many of you have actually gone as far as micro-managing your 404s vs 410s?

Guideline 4: "Cool URIs don't change", but cool content does [w3.org]

 

Span

WebmasterWorld Senior Member 10+ Year Member



 
Msg#: 4064 posted 10:17 am on May 29, 2005 (gmt 0)

I don't remove files very often, but always make sure a 410 is returned.

TheDoctor

WebmasterWorld Senior Member 10+ Year Member



 
Msg#: 4064 posted 9:00 am on Jun 1, 2005 (gmt 0)

always make sure a 410 is returned

How would I do this?

Romeo

10+ Year Member



 
Msg#: 4064 posted 10:10 am on Jun 1, 2005 (gmt 0)

How would I do this?

There is a RewriteRule flag in .htaccess returning a 410 status: [G] = "gone"

RewriteRule ^somepage.html$ - [G,L]

Regards,
R.

Span

WebmasterWorld Senior Member 10+ Year Member



 
Msg#: 4064 posted 11:00 am on Jun 1, 2005 (gmt 0)

How would I do this

Redirect and RedirectMatch can also be used:

Redirect 410 /file.html
Redirect 410 /folder/

RedirectMatch 410 /file.html
RedirectMatch 410 /folder/

RedirectMatch allows regular expressions:
RedirectMatch gone ^/folder/subfolder/(0[6-9]¦1[0-9]¦2[0-8])\.html

jollymcfats

10+ Year Member



 
Msg#: 4064 posted 4:20 pm on Jun 1, 2005 (gmt 0)

I return 410's for content that is really gone. I've seen absolutely zero side effects or changes in search engine behavior because of this. I imagine they'll continue to pound on the 410 URIs until all the inbound links are gone.

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