Webmaster in making 404 error pages need to pay attention to several matters

Source: Internet
Author: User
Keywords Some

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

When we run our website on a daily basis, I believe you webmaster will encounter this situation, it is often because of changes in the column or file name, resulting in a large number of invalid links in the station, and this link is still exist but can not open, so this search engine spiders crawling and included is very unfavorable, Because the search engine spider will return these error page information to the database, when your site appears too much of this dead link page will be the site's "health" has a great impact, but also very easy to be the major search engines do not like, so this time the webmaster need to do a 404 error page, However, in the process of making 404 error pages, the webmaster still need to pay attention to the following points to do.

1 Do not place jump code in 404 pages, so as not to affect the overall perception of the site search engine!

I have done a test, that is, two sites to detect, in 404 error page Placement jump code on the search engine has any effect, the result is a not in the 404 error page to place the jump code site, the major search engines are still normal updates, normal collection, Not because more than 404 error pages have what; but on the contrary, the 404 error rate page to place the jump code site is very abnormal, first the site was Baidu down right, resulting in Baidu Update site is very slow, and later is not updated directly not included, from the two results obtained from the view, In the 404 error page Placement jump code for the site is a major disaster, so if the webmaster do not want to site by the major search engine punishment. Then in the production of 404 error page is best not to place jump code better!

2 after making 404 pages, it is best to prohibit the search engine spiders crawling included!

When the webmaster do 404 wrong face, in order to avoid future impact on the site, the webmaster is best to prohibit the major search engine spiders crawling or 404 of this error face, why do this? In fact, the reason is also very simple, because this is to prevent major search engines included too many duplicate pages, Caused by the major search engine aversion, which led to the major search engine to reduce the weight of the site and goodwill, after all, for the original content has been in the publicity of the major search engines, the high repeatability of the site will be the major search engine punishment, serious points may also lead to the site by K, I think the major webmaster do not want to cause this reason the site is punished!

Therefore, the webmaster in the production of 404 error surface, it is best to prohibit the major search engine spiders crawl 404 This page, if the webmaster do not know how to prohibit the major search engine spiders crawl or include 404 of this page, I can Jane you, Just go into the robots.txt file and add a "Disallow:/Your 404 error page path" Code on it!

3 webmaster in the production of 404 pages should be carefully examined, not to finish!

Webmaster after setting up 404 pages, it is best to check, return the status code is 404, if it is correct, if the return of the status code is 200, that means there is a problem, there may be webmaster asked, 200 return status code why is not correct? The reason is that We enter a wrong link in the browser, not set personalized 404 page, The return of the status code is definitely 404, which is to tell the search engine that the link is wrong, discard the index of the link,

After setting personalization 404 page, although the display is the personality 404 page, but the address bar above the browser is still the wrong link, instead of jumping to "www.xxxx.com/404.htm", so the link is still invalid, so the return status code or should be 404, Instead of 200, if you return 200, the search engine will index the link, which leads to a large number of different invalid links pointing to the same page content, resulting in a significant reduction in the search engine's trust in the site.

Above content for free call software original, reprint trouble Keep link information: http://www.86tel.org/

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.