Forum Moderators: phranque
Whenever a huge site update is required I need to place a temporary page with: "Just a moment please, site is being updated, check back later..." sort of thing.
Because I cannot just redirect 301 ALL the pages to this page in my .htaccess I was wondering how I can solve this issue.
The reason why I cannot do a 301? All the pages would look the same. This is no problem for the human visitors. But for search engine robots that WILL make a problem. It looks like duplicate content and thus urls will be dropped from their index or spampoints will be given.
So how do I inform the searchengines that they have to come back later for indexing because of maintenance?
This serves maintenance.html with a "503 Service Unavailable" status on every request.
[edited by: Span at 2:23 pm (utc) on Dec. 24, 2006]
- You can tell visitors to check back later, but most of them simply won't. They follow links and if there's no site they're gone forever.
- Assuming bots know what a 503 is (?), they obviously don't read and interpret the "Please come back in an hour or so." on the maintenance page. Bots only see the status code.
So be warned - there is a risk those 503s are getting indexed.