Differences between iis 404 page settings and url and file selection

Source: Internet
Author: User

The purpose of setting the 404 page is to improve the user experience of the website. In the user's opinion, we choose url or file, but in the search engine, there are many differences between url and file, the url returns status 200 and the file returns status 404.

The 404 page is more beneficial to the user experience

When you delete and modify part of the content on the webpage due to a website revision, you can use 404 page redirection to effectively protect the original website traffic. When the website cannot be opened, if no 404 page is set, remind users not to lose the website image and improve user experience. page 404 beautification is also very important. It can improve the website image. How to define settings on page 404 is a commonly used method. If you use a VM, You can consult your server provider for definition. step 1: Open IIS (internet Information Service ). Step 2: select your website, right-click Properties, and click custom errors. Step 3: Find "404" in the "http Error message" box, double-click it, or click "Edit attribute" to define the webpage address on page 404 of your website, this method is only applicable to friends who have server management rights, and other friends who buy space define settings. Could you tell me your server carrier. I have never tried the following!

Iis asp 404 error page settings
Set static 404 error pageIn IIS manager, right-click the website you want to manage and open the custom error information page in properties, set the error information page for "404. However, in "Message Type", you must select "file" or "Default Value" instead of "URL". Otherwise, the "200" status code will be returned.
Conclusion: No matter what server, Page 404Make sure that the status code returned by the server is 404. If this cannot be ensured, we recommend that you do not do this for seo. 404 error pageSet to avoid good intentions

Related Article

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.