Graphics and text tutorials (url+ files) with 404 pages configured on IIS6 _win server

Source: Internet
Author: User

First describes the following message type: URL and file.

In general, if you choose the URL then return 404 page is 200 status (that is, return to the search engine is the normal existence of the page), and select the file is to tell the search engine did not find the page, return is 400 page content, so that the search engine to tax has a good degree of friendliness, In fact, most of us now use file format.

Recommended use of documents AH

Steps/Methods

Open IIS

Find your site, right click, select Attributes

Select the Custom Errors tab to find the 404 item, click the Edit Properties button

In the message type, select URL, and then in the URL box below, fill in the path of your 404 error file.

In the "message type" If you choose "File", in the following "file" input box, fill in your site's 404 pages on the hard drive path

And then "OK" all the way.

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.