IIS 404 Page Setup and URL and file selection differences

Source: Internet
Author: User

404 pages more beneficial to user experience

When you page because the site changes to delete modified part of the content, the use of 404 pages to jump, can effectively protect the original site traffic, and when the site is not open, in the case of not set 404 pages, with reminding users, will not lose the image of the site, enhance the user experience.
404 pages of Landscaping is also very important to enhance the image of the site
404 page How to define Settings
Next more common way, with a virtual host friend can consult your server provider to define.
The first step is to turn on IIS (Internet Information Services).
The second step, select your site, right-click the attribute, click Custom Error
The third step, in the following: "HTTP error message" box to find 404, select Double-click, or select the point "Edit Properties" to define your site 404 page address, this method is only applicable to the server management rights of friends, other purchase space friend specific definition settings, Ask your server operator.
I've never tried this!

IIS ASP 404 error Page Setup
The way to set a static 404 error page is simpler, in IIS Manager, right-click the Web site you want to manage, open the custom error message page in properties, and set the appropriate error message page for 404. However, it is important to select "file" or "Default" in "Message type" instead of "URL", which will result in the return of the "200" status code.
Summary: No matter what server, 404 page settings, be sure to ensure that the status code returned by the server is 404, if you can not guarantee this point, we recommend that you do not have to do the SEO 404 error page settings, to avoid good intentions to do bad things

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.