[Windows Server 2008] 404 Error Setting method

Source: Internet
Author: User

★ Welcome to The Guardian God · V Classroom, website address: http://v.huweishen.com
★ Guardian God · V Classroom is a Web site dedicated to providing server instructional video for the Guardian God, updated weekly video.
★ This section we will lead you: how to set 404 error page
An HTTP 404 error means that the page that the link is pointing to does not exist, which is often the case when the URL of the original page is invalidated.
Set 404 error page Optimization site, is the webmaster skills, the following process to set a return status code of 404 Jump Page.

1. If the server encounters an error, return to the "Custom error page"
1) Open "IIS Manager", "Web Site", click on the website you need to set;
2) function view, "error page", edit function settings;
Select "Custom Error page".

2. Set the Response Action page as a custom page
1) Enter the edit of status code 404;
2) Select "Insert content from static file in error response";
3) Remove the tick "attempt to return an error file using the client language";
4) file path fill in the relative path of the custom file relative to the Web site root directory.

3. Test results
1) Access a nonexistent page,
Jump to a newly customized page;
2) HTTP status code detection is 404.

4. Supplementary instructions
1) If the effect is not achieved after you configure, check that the Web site directory has a Web. config file that has the "HttpErrors" related item configured;
2) 404 The Wrong File (404.html in this example) has the "Users" Read permission.

404 error Page Setup success, in the perfect site architecture, but also retain the potential customers, more conducive to the improvement of the site ranking optimization effect!
For more server Optimization configuration and security settings, please watch my other videos or purchase Guardian Gods and technical services.

Now that this section is over, please visit the Guardian God website (www.huweishen.com) for more instructional videos.

Reprint please indicate the source (http://v.huweishen.com/video/66.html) Thank you!

[Windows Server 2008] 404 Error Setting method

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.