When the site's users and search engines do not exist on the site of the page, the server terminal will return 404 error page, if the webmaster did not give the website design humanized 404 pages, that service will return the default error message page, the user can not go through the wrong page to other pages, such a site construction method, In the SEO perspective, is not conducive to user experience and spiders crawl. Website optimization can not ignore the site 404 page design, the author said a few 404 page design.
Error code returned correctly
When there is no page in the site, the user will return 404 code, some webmaster to save 404 pages, and will return the error code to the 200 status code, or directly 301 jump to the homepage of the website. It is not advisable to do such a thing, return 200 of the status code to indicate that the access to the data is correct, these wrong pages at the same time return the same page, will let the search engine that the site has a large number of duplicate pages, repeat the page too many sites, search engines will not give too high weight value, not conducive to SEO optimization site. So when the page doesn't exist, do not return any of the 404 pages to Normal and solve the problem.
Friendly Design 404 page
Webmaster are aware of the site's 404 pages of the user's experience, easy to lead to the loss of traffic, so 404 page design is very important, all hosts have customized 404 page features, 404 page design needs to pay attention to which aspects of the details:
First: 404 page to and the main station can have the same tonal design, the best is to use the same template, the page should have the main station logo, such a design will not give users too large visual poor, so that customers do not know which site to come to.
Second: On the page to be in the obvious location of the error message, to explicitly prompt the user to come to the page is wrong, to access the page on the server does not exist. The message can be "the page you visited has been deleted" or "your access to the link address error".
Again: Return the error page can add navigation information, guide customers into other pages to browse, reduce the loss of traffic in the site. Error message can appear below: Site map, the top of the home page navigation, website related information. Now a lot of Web sites do public service events, in 404 of pages appear missing notices, such 404 design is to improve the user experience. The following is the Baidu Company's 404 pages, the page is simple and clear, webmaster can refer to.
Using 404 pages to improve the quality of the chain
Spiders do not have a reason to access the site does not exist page, there must be an external link to the site, Spider access page returned 404 errors, most of the links are from the external site links come in, these wrong links to the site to bring the loss of traffic, if the webmaster can make good use of these error links, Can improve the quality of the chain. These 404 error links can be queried by Google Webmaster tools, webmaster can contact the site webmaster, correct the correct form of the chain, full use of these waste outside the chain of resources. Or it will be the wrong page 301 to the correct page, and then a good way is to build on the site does not exist on the link page, so that the external weight of these error pages can be used, this is also not the site to do a way outside the chain.
Site optimization rivals are often the competition between the details of the webmaster if they can do the optimization of these details, such as the design of 404 pages, make full use of the neglected resources, the site can be truly long-term operation down. Part-time Bar (http://www.jianzhi8.com/) hope that the webmaster can do a good job of the details of optimization, really away from Baidu's right to fall deep pits.
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.