Site Status code webmaster can not be ignored details

Source: Internet
Author: User

Intermediary transaction http://www.aliyun.com/zixun/aggregation/6858.html ">seo diagnose Taobao guest cloud host technology Hall

HTTP request status code because of the relatively covert, so it is easy to be overlooked by the webmaster, but if the status code used improperly often will have a great impact on the site, the following Shenzhen classified information network as an example to illustrate the more important several status codes:

1.200 normally request a URL will return 200 status code, the request page success, for search engines, as long as you see 200 status code, will think that the site is normal, is included in the necessary conditions.

2.301 permanent redirects. We often encounter situations like this, for example, to change the domain name, then the old domain name of all the URL to the new domain name corresponding to the URL, this time must be through 301 permanent redirect to the new domain name, meaning to tell the search engine, my previous domain name has not been used, permanent to the new domain name, Then the search engine sees the 301 status code and then deletes the old page and collects the new page again. In this case, even if the domain name changed, do not worry about the search engine on the new domain name is not included, but included very quickly, the same old domain name will follow the PR of the new domain name, the search engine's response to the 301 status code, Google is the fastest, Baidu slightly slow.

3.302 Temporary redirection. We sometimes encounter such a situation, such as to see the content needs to be logged in order to view, when the user clicks need to jump to the login page to allow users to log in, then this jump must use 302 status code to jump so that the search engine will think that this link is only a temporary jump, Not that this link has been invalid, so after the search engine will continue to try to access the content of this link, perhaps the content of the page does not need to log in to view, then the search engine will soon be included.

4.404 pages are not found. This is very important, like my classified information network, often want to delete some outdated information, then delete the page when you have to return to the 404 status Code, instead of jumping to the first page, or return to other status code, so that the search engine will think that this page is no longer exist, will delete this page, If the return 200 status code, search engine will think that the site is still valid, will continue to try to access, but if every time is inaccessible, it is conceivable to the site is very unfavorable.

5.503 Service is temporarily unavailable. This is very important, do the site always to maintain the site regularly, for some of the more significant maintenance may be required to interrupt access (such as the discovery of major vulnerabilities, upgrades, etc.), especially for our 1781.html "> Grassroots website is difficult to avoid, this time 503 on the use of, When users visit the site to return directly to the 503 status code, indicating that the server is being maintained, so that the search engine after 503 will know that the site may be too large or is being maintained and temporarily inaccessible, search engines will be a period of time to visit, for the site although the site can not be visited, But search engines know what is going on, not to have any impact on the search engine, of course, return 503 can not be too frequent.

These five status codes are very important to me, of course, the status code is very many, can refer to other information details. Since the introduction of the status code, then how to view the status code, how do I know what the return of the status code it, here is a tool, very convenient to use, Firefox a plug-in firebug, I think Firefox is a prerequisite for each webmaster browser, so simply install a plugin can be, Below can look at my Shenzhen Classified Information Network screenshot:

1.200 normal access to http://www.maixu.com screenshot

  

2.302 Temporary REDIRECT Access Http://www.maixu.com/admin/mine screenshot

  

3.404 Access to Http://www.maixu.com/1 screenshot

  

This article by the purchase demand Net http://www.maixu.com original, reprint please indicate welcome reprint.

Contact qq:1103061397

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.