Good search engine optimization needs to correctly set 404 error page

Source: Internet
Author: User
Keywords 404 error page

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

HTTP 404 error means that the link to the page does not exist, that is, the original page URL invalidation, this situation will often occur, it is difficult to avoid, such as: Web site URL generation rules change, Web page file name or move location, import link spelling errors, etc., resulting in the original URL address is inaccessible When the server receives a similar request, it returns a 404 status code telling the browser that the resource being requested does not exist. Customizing a friendly 404 error page is a good way to enhance the site user experience by directing visitors to other pages of the site via a customized error page instead of a bug tip such as "404 Not Found" to reduce traffic loss.

It is well known that customizing the 404 error page is a great way to enhance the user experience, but it is often not noticed in the application that it has been set correctly. For example, the wrong server-side configuration causes the return of the "200" status code, and the custom 404 error page uses meta-refresh to return the "302" status code. A custom 404 error page that is correctly set should not only be displayed correctly, but should also return the "404" error code instead of "200" or "302"

Recently a number of early-weaving dream collector, and set the 404 error page webmaster like I reflect the plugin has prompted the message that he did not correctly set the 404 error page. This problem is mainly the plug-in to its own file to check the prompts, not properly set up, returned 200 state, indicating that the file exists, but the inside of the code is not the code used by Plug-ins, so the hint will appear. Because the Dream collection is a fully automatic search based on the keyword automatic collection of false original SEO plug-ins, the use of more people, as I reflect the message of the webmaster is also more, so many webmasters have not been able to correctly set 404 errors.

Although the HTTP status code is "404" or "200" for the user, it is very important to search engine optimization. Search engine spider when request a URL to get "404" state response, that means that the URL is no longer indexed and the page is deleted from the index database by feedback to the datacenter, although the deletion process may take a long time; when the search engine gets "200" Status code, the URL is considered valid and will be indexed and included in the index database, as a result of which these different URLs have exactly the same content: Customizing the contents of the 404 error page, which can cause duplicate page problems. Light is the search engine down the right, heavy will k off the site. For example, your site does not set 404 error pages correctly, and returns a "200" status code. So I can use a blog, or a Web site, to generate some of your site does not exist page URL, so that search engine spiders through the blog, or the site along I give you the site to generate a non-existent page URL index, you will find that you have a lot of existing pages, because the return "200" status code, but the content is the same Light may be the search engine down the right, heavy will k off the site.

So it is very important to set the 404 error page correctly, rather than setting the 404 error page correctly and better than incorrectly setting the error page. At present, many space vendors to provide 404 error page settings, although it is very convenient, but I used several space business custom 404 error page settings, all returned to me "200" status code, no one is to return the correct "404" status Code, so webmaster friends in the use of space quotient from the 404 error page settings, Remember to use the tool to detect whether a non-existent directory returns a "404" Status Code.

This article starts to weave the Dream Keeper's house: http://www.dedeadmin.com reprint please indicate the source.

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.