How the webmaster handles the 404 error page is more effective

Source: Internet
Author: User

Intermediary transaction http://www.aliyun.com/zixun/aggregation/6858.html ">seo diagnose Taobao guest cloud host technology Hall

Visitors to your site will encounter 404 "web pages not present" for a variety of reasons:

(1) Wrong URL, or copy and paste URL error;
(2) The link in the page or email message clicked is invalid or incomplete;
(3) The content of the webpage has been moved or deleted;

404 A page is a page that a user attempts to access a Web page that does not exist (because the user clicks on a corrupted link, the page has been deleted, or the user has entered the wrong URL). The 404 Web page is called because the Web server returns a 404 HTTP status code to indicate that the page was not found because of a request for a missing web page.

It is usually best for users to create a custom 404 Web page In order to obtain this portion of user traffic. A good custom 404 Web page can help users find the information they need, provide other practical content, and attract users to browse your site further.

When you encounter a 404 page, visitors may try to manually correct the wrong URL, or click the return button, or even leave your site directly. There are a number of ways we can help site visitors out of this cul-de-sac. To make the 404 page more useful, we can use the Google-provided gadget that modifies the 404 page to help us modify the 404 default pages.

In addition to trying to correct the wrong URLs, the 404 gadgets provide the following:

(1) A link to the up-level subdirectory
(2) A site Map page
(3) Website query suggestions and search box

This 404 page tool allows you to generate a snippet of JavaScript code. Then we can copy and paste it into our own custom 404 page code.

Of course we can also change the appearance of 404 pages. HTML pages are not decorated in the initial state, but you can edit the part of the CSS code that is included.

Here is a sample page that has been tried

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.