Iis 404 settings and 404 impact on websites

Source: Internet
Author: User
Tags iis

In some 2003 systems, iis cannot be set as above. Although the following method is acceptable, the returned status code is 200:
Set message content to url
Enter/404.htm in the url
Put 404.htm under the root directory of the website.

You cannot directly modify the default 404 page.

This is a question about file quota. You only need to set 404.htm to everyone readable.


How to set iis 404

Open iis Manager --> right-click website attributes --> Click Custom Error options --> select 404 --> Select and open edit attributes --> set to url --> enter in url "/ www.111cn.net.html "--> in" message type ", you must select" file "or" default value ", do not select "url". Otherwise, "200" status code will be returned. --> Definitely decompress the err.html page to upload it to the root directory of the website.

The impact of http404 on seo tutorials

Customizing the 404 error page is very important for search engines.
When a search engine spider returns the "404 & prime; status response when requesting a url, it knows that the url has expired and no longer indexes the webpage, and report to the data center that the webpage indicated by this url is deleted from the index database tutorial. Of course, the deletion process may take a long time. When the search engine gets "200 & prime; when the status is returned, the url is regarded as valid and then indexed and indexed to the index database, the result is that the two URLs have the same content: the content of the custom 404 error page, which leads to the copy webpage problem. For search engines, especially google, it is not only difficult to obtain the trust index trustrank, but also greatly reduces google's evaluation of website quality. (Why is "200 & prime; status code returned ?? Please refer to the following content "customizing the basic principles of the 404 error page ")

Provide several 404 correct methods for detecting the address

Php Tutorials> http://seo.g2soft.net/online-tools/server_status_checker.php#result

Http://www.ranknow.cn/tools/checkhttpcode404

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.