Http Error Code Under Construction
Contents |
here for a quick overview of the site Help Center Detailed answers to any questions you might have Meta Discuss the workings and policies of this site About Us Learn more about Stack Overflow the company Business Learn
Php Header 503
more about hiring developers or posting ads with us Stack Overflow Questions Jobs Documentation Tags 503 seo Users Badges Ask Question x Dismiss Join the Stack Overflow Community Stack Overflow is a community of 4.7 million programmers, just like you,
Http Status Code Maintenance
helping each other. Join them; it only takes a minute: Sign up HTTP status code for temporarily unavailable pages up vote 32 down vote favorite 3 I'm redesigning my small business' website. I will be putting up a php 503 error temporarily 'under construction' splash page. I know, I know... but it will be one in style, I hope. :) What, mostly for SEO purposes, is the best HTTP status code to dish out for the URLs that will be temporarily unavailable (the same URLs will have content again, after the new site is up). Now, my website traffic is hardly of any importance, but as a webdeveloper I want this knowledge in my toolbox for possible http 503 future client projects. And what better way to test and experiment with this, now that I have a convenient 'reason' with my own website. Here's a few I thought about: 503 looks appealing, but is in the category of server errors. 204 looks appealing as well, but I'd rather temporarily redirect to the splash page. 307 looks like the best choice, but I'm not entirely sure. There are a few others as well. So I'm curious to hear your advice. Thanks http http-status-codes share|improve this question edited Sep 23 '11 at 14:53 Sathya 13.2k1667106 asked Jan 10 '11 at 1:08 Decent Dabbler 13.7k44285 add a comment| 1 Answer 1 active oldest votes up vote 56 down vote accepted I disagree to the selected answer. I would use the 503 code. According to the RFC for HTTP/1.1: 503 Service Unavailable The server is currently unable to handle the request due to a temporary overloading or maintenance of the server. The implication is that this is a temporary condition which will be alleviated after some delay. Yes, it should be an error, because the expected page will not appear. share|improve this answer edited May 26 at 20:08 Community♦ 11 answered Apr 16 '13 at 13:13 Jan Siqueira 781711 7 Note this is not claimed just by wikipedia. This interpretation actually comes from the RFC - tools.ietf.org/html/rfc2616#section-10.5.4 &
status codes HTTP status codes tell search engines the status of the pages, they are in the server header that search engines and browsers get after requesting a URL. For example if a search engine downloads a URL with HTTP status 200 (OK) in the HTTP
Google Analytics
server header, that means that the URL has good content, that it is a successful HTTP request. If the HTTP status is 404 (Not Found) this indicates to search engines that there is no real content for that URL, and that the URL could have been collected from a broken link. The URL most important in a website to search engines is that of robots.txt. Search engines access the robots.txt URL that contains directives on which URLs of the sites are blocked to bots. If the http://stackoverflow.com/questions/4642923/http-status-code-for-temporarily-unavailable-pages URL of the robots.txt does not return resulting (directly or after redirect through server header) HTTP status 200 (OK) or 404 (Not Found), if it returns for example HTTP status 500 (Internal Server Error), most search engines will not crawl the website, because they cannot know what directives to follow on crawling the site, if there are URLs that they are supposed not to access, and they assume all URLs are blocked. Sometimes search engines can be presented a different content or HTTP status than browsers or http://blog.ilaseo.com/http-status-codes/ other bots, sometimes because of firewall settings, or directives in .htaccess files, etc. Google and Bing have utilities in their Webmaster Tools to fetch a URL from their servers and check how a URL is seen by them. There is a small set of HTTP status codes that are important to search engines: 200 (OK) that means that the URL is OK and the server returns a successful result to the HTTP request, and the URL can be collected to be considered for indexing in search results. 301 (permanent redirect) - returns a server header that has the URL destination of the redirect. The resulting HTTP status code will be the status of the URL end-destination of redirect. The URL that search engines list in search results is the URL destination of the redirect and value obtained from links is passed to the URL destination of redirect. 302 (temporary redirect) - search engines do not always treat the redirect 302 in the same way, it depends if the two URLs, source and destination of redirect are in the same domaine, and the URL source of the redirect can appear in some search results instead of the URL destination of redirect. 304 (Not Modified) - when there is a conditional GET request that asks if the content of the URL has been modified since a specified date, if the server can answer this and there is no change in the content of the URL, the HTTP status is 304 and there is no content sent by the se
DOMAINS WEB DESIGN WEB DESIGN SERVICES CREATE YOUR OWN WEBSITE SITE HOSTING TOOLS MEET US MEET US ABOUT US PARTNERS & AWARDS BLOG http://www.inmotionhosting.com/support/website/redirects/redirect-visitors-under-construction-page WE'RE HIRING CONTACT US AMP LOGIN SUPPORT CENTER Search Support https://mediatemple.net/community/products/dv/204645190/create-a-temporary-%22under-construction%22-page Center Product Guides Dedicated Hosting Reseller Hosting KnowledgeBase Website Email Domain Names Reseller Billing Community Support Browse Questions Ask a Question User Submitted Articles Education Channels Android BoldGrid cPanel DokuWiki Drupal 7 Drupal 8 Everything Email Joomla 2.5 Joomla 3.1 K2 Magento http error 1.6 Mambo MediaWiki Moodle Movable Type OpenCart OpenCart 2.0 osCommerce PHP-Fusion PHP-Nuke phpBB phpList Premium Website Builder PrestaShop 1.5 PrestaShop 1.6 SMF Tiki Wiki VirtueMart 3 Web Hosting Manager Website Design WordPress Tools & Resources Email Configuration Blacklist Check Visual DNS Lookup Quick Tagger Icon Sets Favicon Generator Bounce Back Parser What is http error code my IP address? >>Website .htaccess (17)Adobe Flash (2)APIs (2)Backup and Restore (15)Billing (8)Browser Issues (2)Connecting to a Database (5)cPanel (26)cPanel Account Management (16)Cron Jobs (4)Cube Cart (2)Database Setup (5)Database Troubleshooting (6)Domain Management (2)Dreamweaver (12)Drush (2)eCommerce (7)Elasticsearch (4)Fantastico (4)File Management (16)File Manager (6)FTP (10)FTP Client Setup (21)General Server Setup / Management (15)Getting Started Guides (18)Ghost (3)Google Tools (21)How To (23)HTML (2)Image Editing (2)IP Addresses (3)iWeb (1)JavaScript (2)Joomla (10)Joomla 2.5 (36)Koken (11)Linux (27)Logaholic (5)Magento (2)Maintaining Your Website (1)Managing Files (7)Microsoft FrontPage (11)Microsoft Publisher (1)ModSecurity (7) MODx (3)New Customers (7)Open Classifieds (1)PCI Compliance (7)PHP (15)PHP Configuration (7)PHP Troubleshooting (6)phpBB (25)phpMyAdmin (10)Premium Website Builder (22)Prestashop (1)Protecting Files (5)Publishing Your Site (2)Python (1)Redirects (4)Restricting Bots (5)Search Engine Optimization (1)Secure Socket Layer (SSL) Tutorials (13)Security (12)Sending Email From Websites (2)Server Security (2)Server Usage (21)Slow Websites (7)Social Media (4)Software FAQs (11)Soho Web Builder (18)SSH and Root access (21)Statistics/Logging (12)Troubleshooting Comment Spam (3)Troubleshooting Hacked Websites (9)Web Host Manager (7)Website Error Numbers (4)Website Is U
a temporary "Under Construction" page Browse by products and services DV and VPS Hosting Grid Shared Hosting DV Developer Hosting WordPress Hosting Legacy DV Hosting Applies to: All Services Difficulty: Easy Time Needed: 7 Tools Required: FTP or SSH Overview Having an "Under Construction" page for your website can be useful in a variety of cases. The main goal of such a page is to hide your usual website while it is in an undesirable state. Provide a simple landing page during the testing phase of your initial development. Prevent hacked content from being accessed while making security updates. Display basic site information during renovations. Keep your site up even when your more advanced pages are experiencing technical difficulties. Instructions Open a plain-text or HTML editor, and create an 'under_construction.html' with the code: DOCTYPE>
This page is under construction. Please come back soon!