Address the impact of 404 error pages on Web site optimization

Source: Internet
Author: User

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

A lot of websites inexplicably fall right, however cannot find the reason where. Neither cheating nor optimization over, but by the search engine "mishaps" blocked. So what caused it? We're talking about it from 404. For the novice webmaster may not know what is 404 pages, not to understand 404 errors, the following content we further analysis.

One: About HTML status codes

404: The server could not find the specified resource; 410: The Request Web page does not exist (the difference between 410 is permanent, 410 is temporary does not exist) but the search engine is generally considered equivalent.

200: The client request has successfully responded, 301:url permanently directs a link, and 302: temporarily redirects a link.

Two: About 404 page error

The 404 error of the website can be said that each website cannot avoid, how many may appear 404 page error. For example: the replacement of the program, template modification, and even the deletion of articles, will lead to 404 of pages. Although the Web server has a default 404 error page, it is very unfriendly to the user because of its simplicity, which leads to the loss of traffic. But the custom 404 page Although can enhance the user's experience, save the website the traffic loss, but often ignores the search engine's unfriendly influence, for instance the debugging process returns 302 status code, causes the final search engine to think you in redirects to cheat. The correct approach is when the site specifies that the resource does not exist, the search engine through 404 pages know that the information does not exist, no longer URL indexing, rather than return 200 status code to the URL of the index.

Three: How to set 404 pages

1, based on the user experience of the 404 page settings, the first thing we have to do is a beautiful page. It is important to have navigation and return links, etc., otherwise done is not done. Entering this page when a user fails to access a resource can easily return to other pages instead of shutting down IE windows.

2, if your site is the use of virtual host

  

3, if the host server: IIS Manager-Right to manage the Web site-Properties-Custom error messages, set the appropriate information for 404. However, to select "File" or "Default" in "Message type", you may not select "URL" or return a "200" status code

  

4, remember to set up 404 pages for Apache, otherwise set 404 is equal to White do. The prerequisite server supports the. htaccess setting, in which you join errordocument404/notfound.php to complete the task.

This article from the binary network original writing, from the Electric Business Circle (http://www.07695.com) Summary: Set 404 Not only can improve user access loyalty, based on the 404 page SEO is beneficial to search engines, welcome the exchange of discussion.

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.