WinXP computer appears 404 Not Found What to do

Source: Internet
Author: User
Tags error code html page root directory

winxp system computer appears 404 Not Found solution.

The steps are as follows:

What does 404 Not found mean?

404 Not Found is a standard HTTP return code that, when a user enters a link, the IIS (Internet Information Services) on the server first detects whether the user-entered address link has the corresponding page information, and if there is no corresponding page information, Indicates that the user entered an invalid string of links, and IIS sends a 404 error code page hint to the end user via the server telling the user that the page information that corresponds to the address link is not found. In the Chinese web environment if the 404 return page for the Chinese and reasonable optimization, let users know the first time they input errors, through the optimization of the 404 pages to guide users into the correct link, rather than immediately leave the site, you can say 404 Not found the appearance of greatly improve the user experience degree, Use a friendlier way to face the user.

Second, why will appear 404 Not Found?

First: The user entered an address link incorrectly, causing IIS to prompt 404 Not found.

The second type: The server should have been deleted, this situation in BBS forum, n years ago The post is now you through search engine search out, but in fact BBS forum in order to protect the resources of the server reasonable use, will be outdated or very remote information page deleted, resulting in 404 Not Found

Third: DNS settings to block, in terms of Chinese environment, there are some banned sites in China to browse the same phenomenon of 404 Not Found, which requires the use of Proxy server to normal browsing.

Third, from a professional point of view, there are three reasons:

1, unable to access the Web site on the requested port.

2. The Web service extension lockout policy blocks this request.

3. The MIME mapping policy prevents this request.

Iv. Introduction to the solution of 404 Not Found:

After surfing the internet, you encounter a variety of connection errors when browsing these sites. This error is usually caused by a Web site failure or if you do not have permission to browse. The most common is the 404 Not Found error message. The main reason is that IE could not find the Web page file you requested, the file may not exist or have been moved elsewhere.

1. For existing Web page content due to the path changes caused by the access, can be defined in IIS 404 error point to a dynamic page, in the page using 301 permanent redirect to jump to the new address, when the server returned 301 status code.

2. Set 404 points to a well-designed HTML file, where the page returns the 404 status code. Now the IDC provider basically provides 404 set of functions, directly upload file settings. To set the method in IIS: Open IIS Manager--click the properties of the Web site you want to set custom 404--"Click Custom Error Options-" Select 404 Pages-"Select and open Edit Properties-" set to URL-""/err404.html "-" Click OK to exit and then upload the err404.html page to the site root directory. In message type here, be sure to select file or default, rather than URL, which will result in the return of a "200" status code.

3.404 point to a dynamic page, such as error.asp, if not set inside the page, just return the hint of the HTML code, will cause the page to return 200 status code, which is not true, we can after the content of the prompts, add the statement: response.status= "404 Not Found" ensures that the page returns a 404 status code.

4.Apache Set the 404 error page. The way to set the 404 error page for Apache server is simple, just add the following in the. htaccess file, ErrorDocument 404/notfound.php Edit how this paragraph makes 404 pages.

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.