404 not found !, 404 notfound

Source: Internet
Author: User

404 not found !, 404 notfound
404 not found! Sorry, no article is found !! What is 404 Not Found?

404 page is a necessary page for a website. It carries the important responsibilities of user experience and SEO optimization. The 404 page usually indicates that the user accesses a page that does not exist or has been deleted on the website, and the server returns the 404 error. If the webmaster does not set the 404 page, there will be dead links. When crawlers crawl such websites, It is not conducive to search engine inclusion.

404 Not Found Origin

It is said that before the third technological revolution, the Internet was like a large central database, which was set in Room 404. At that time, all requests were manually completed. If the file requested by the requester was not found in the database, or the requester wrote the wrong file number, the user will get a returned message: room 404: file not found. After the rise of the Internet, people became accustomed to using 404 as the error code for files not found on servers. Of course, the legendary room 404 does not exist.

You can change the default error page of the server to 404 page. The following are some suggestions for making it easy for visitors to access the website. Concept:Provides concise problem descriptions to eliminate visitor frustration. Provide reasonable solutions to help visitors complete access targets. Provides a personalized and user-friendly interface to Improve the access experience. Implementation Method (arranged in order from simple to complex ):This allows a visitor to go somewhere rather than backward. The page contains links to important parts of the site, such as the home page or site map. Do not just tell them to check spelling. Use text links instead of images, because many visitors do not want to click the image. Example: our website has a home page return link. This is the minimum level for friendly feedback. In addition, we will also consider how to make up for errors through visitor feedback when there is insufficient effective help information. You must include an email link pointing to the website administrator or a table used to submit the lost link. Compared with sending emails, visitors prefer to use the submit form. Add a search box to search for the site. For example, MSN has a search box at the bottom of all pages and links them to an important part of the site. List links close to the visitor's desired page on the site to speculate on the page the visitor is looking. You do not need to adopt all the above suggestions, but these suggestions serve the purpose of making visitors more willing to stay on your site. A reasonable 404 error page can be completed now, which will provide valuable information to visitors. 404 settings 1. if the webpage content cannot be accessed due to a path change, you can define a 404 error in IIS to point to a dynamic page, and use 301 to redirect permanently to a new address in the page, in this case, the server returns the 301 status code. 2. Set 404 to point to a designed html file. The 404 status code returned by the page is displayed. Basically, idc providers provide the 404 setting function, which allows you to directly Upload File Settings. How to Set in IIs: open IIS manager --> click the properties of the website for which you want to set custom 404 --> click custom error options --> Select page 404 --> select and open edit Attributes --> set to URL --> enter "/err404.html" in the URL --> return the URL and upload the err404.html page to the root directory of the website. In "Message Type", you must select "file" or "Default Value" instead of "URL". Otherwise, the "200" status code is returned. 3. 404 points to a dynamic page, such as error. asp. If it is not set in the page, only the HTML code of the prompt is returned, which will result in the 200 status code returned on the page. This is incorrect. After the prompt content is displayed, add statement: Response. status = "404 Not Found", so that the page returns a 404 Status code. 4. Set the 404 error page in Apache. Setting the 404 error page for Apache Server is simple. You only need to add the following content to the. htaccess file: ErrorDocument 404/notfound. php Websites with 404 themes:404 is an HTTP access error, but some webmasters discovered business opportunities and created a "404-witty online Homepage ", the website only contains the basic search box, links to five domestic websites, and shopping navigation! The theme is a funny style, but such a simple page attracts many users. In the face of the same style of navigation for all major websites, this creative website is quite unique!

Set two benefits for the 404 page
  • Instruct users not to close the website and enhance user experience.
  • Prevent the website from getting dead links.

404 Not Found related images



404 Not Found

The 404 page is a common error during WWW website access. The most common error message is 404 not found. The 404 page is the page returned when the user inputs an incorrect link.

Error cause type
An HTTP 404 error means that the webpage to which the link points does not exist, that is, the URL of the original webpage is invalid. This situation often occurs and is difficult to avoid. For example: the original URL address cannot be accessed because the webpage URL generation rules are changed, the webpage file is renamed or moved, and the import link is misspelled. When the Web server receives a similar request, A 404 status code is returned to tell the browser that the requested resource does not exist.
404 error page
Generally, there are three reasons for this error:

1. You cannot access the Web site on the requested port.

2. The Web service extended locking policy blocks this request.

3. The MIME ing policy blocks this request.
Solution: Restore the missing webpage file to the correct location and reset the network service. For users, check whether the network address you entered is correct.

The webpage cannot be opened. What is 404 not found?

This is the error message generated when the system's built-in page cannot be opened. It means that the page returned when the user inputs an incorrect link.
404 page objective
404 The purpose of the page is to tell the viewer that the requested page does not exist or the link is incorrect. At the same time, the user is guided to use other pages of the website instead of closing the window and leaving. Edit error cause
Reason type
An HTTP 404 error means that the webpage to which the link points does not exist, that is, the URL of the original webpage is invalid. This situation often occurs and is difficult to avoid. For example: the original URL address cannot be accessed because the webpage URL generation rules are changed, the webpage file is renamed or moved, and the import link is misspelled. When the Web server receives a similar request, A 404 status code is returned to tell the browser that the requested resource does not exist.
404 error page
Generally, there are three reasons for this error: 1. You cannot access the Web site on the requested port. 2. The Web service extended locking policy blocks this request. 3. The MIME ing policy blocks this request.
Solution
Restore the missing webpage file to the correct location and reset the network service. For users, check whether the network address you entered is correct.

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.