Discuss the importance of 404 error pages in SEO

Source: Internet
Author: User

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

Hefei mother in the 2 article introduced the SEO process of the Chinese and foreign chain and the importance of the construction of the chain, including the construction of the chain mentioned 404 error page will affect the SEO. Said not detailed, the article released, someone short message I code error page how to do. Today in this article and you talk about the 404 error page in the development of the Web site.

1, what is the 404 error page 404 page is when the user entered the wrong link, the returned page. The purpose of the 404 page is to tell the viewer that the requested page does not exist or link incorrectly, and that the user is directed to use other pages of the site instead of closing the window to leave. And for the page, the search engine returned the status code is 404, hence the name.

2, why to define 404 error page Webmaster in the process of construction, most of the inevitable web site revision or adjustment, such as the construction of the station program problems, template replacement, subject positioning issues and so on. In this case, the unavoidable part of the migration page is deleted, renamed, or moved. At this point, then use the original URL to visit the site will appear this page can not show the hint; And when visitors can not open the site page through the URL, more than 90% choose to leave the site, which is very detrimental to the user experience, so we should define a friendly to the visitors, search engine friendly 404 pages is necessary. So how do you define a friendly 404 error page?

3, how to define the friendly 404 error page defines the friendly 404 error page including the friendly to the user and to the search engine friendly 2 cases, only the two are the friendliest. Let's talk about how to be user-friendly.

(1) to the user-friendly 404 pages When the visitor's page does not exist, we should tell the user what kind of information to retain visitors, let him continue to retain the site? I think, first of all we want to prompt visitors: You have visited the page does not exist or have been deleted, please understand. This sentence is actually to give visitors a psychological hint, you query the page no longer exist, do not be angry. Then we'll give another demand tip on the page: These pages may be interesting to you, and then we'll list a couple of links to the relevant pages, prompting visitors to find answers from other links. Finally we are prompted: have not found you interested in it? point I return to the home page. Let the visitor return to the homepage. Are these step-by-step hints going to keep visitors? Just enter a link to return to see his 404 page Definition method, concise, friendly, very practical. Next, how to define 404 pages for search engine friendliness.

(2) Search engine friendly 404 page 404 pages can be made into standard HTML page content, and then server configuration. Many sites have this problem: 404 pages return 200 or 302 status codes instead of 404 status Codes. In fact, the search engine is through the HTTP status code to identify the state of the page. When a 200 or 302 status code is returned, the search engine will index the link, and when the search engine gets a bad link, the site should return a 404 status code, telling the search engine to drop the index on the link. If we do not do the proper configuration, it will result in a 404-page Return of the status code is not 404 this will lead to a large number of different links to the same page content. As a result, search engines have significantly reduced their trust in the site. Remember: Do not set a few seconds after the page automatically jump to the home page, but let users click to return to the home page. So how do I configure the 404 error page?

4 How to configure the 404 error page (1) Apache settings (typically Linux hosts) set the 404 error page for Apache server simply by: Add the following to the. htaccess file: ErrorDocument 404/ notfound.php, upload the. htaccess file to the root directory of the site to make a 404 page, you design, named Notfound.php, also uploaded to the site root directory. Article Iis/.net set 404 error page First, modify the settings of the application root directory, open the Web.config file editor, and add the following:

  

A simple and practical friendly 404 error page can greatly enhance the trust of the website, try it quickly. This article Department of L 360 weight loss coffee http://www.koloyo.com stationmaster Hefei mother Original, absolute dry goods, welcome reprint!

Related Article

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.