homepage Welcome to WebmasterWorld Guest from 54.211.201.65
register, free tools, login, search, subscribe, help, library, announcements, recent posts, open posts,
Pubcon Platinum Sponsor 2014
Visit PubCon.com
Home / Forums Index / WebmasterWorld / Webmaster General
Forum Library, Charter, Moderators: phranque & physics

Webmaster General Forum

    
Which status code for temporary unavailable
parts of the website are temporarly down
SirGraham




msg:4219324
 3:57 pm on Oct 20, 2010 (gmt 0)

Which status-Code to use?

I have a website with several thousand pages of unique content.
Because of some error, about 80% of the content pages in the CMS wont be available for at least one week and just will give back an empty page.
Which HTTP-Status code is correct in this case?

204 = available but no content
302 = moved temporarily (redirect everything to the mainpage)
404 = error with page
503 = server temporarily not available

I thought about using 404 error code and just hope that search egines will index the site again after its online again.
As far as I understand, 503 is only used if a whole webserver is down, not only part of the service?

Kim

 

g1smd




msg:4219379
 6:04 pm on Oct 20, 2010 (gmt 0)

Use 503, absolutely 503.

Server isn't available for this request. The fact it might be available for a different request a few seconds later and then not available again only seconds later for some other request probably doesn't come into it.

SirGraham




msg:4219423
 7:40 pm on Oct 20, 2010 (gmt 0)

OK, thanks for the answer. After some more research I found this:

[askapache.com...]
503 it is, tell google to try again in 7 days:)

phranque




msg:4219502
 10:33 pm on Oct 20, 2010 (gmt 0)

the 503 status code response is one of the few cases where the Retry-After response-header [w3.org] is actually useful.

Global Options:
 top home search open messages active posts  
 

Home / Forums Index / WebmasterWorld / Webmaster General
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