How to make a personalized 404 page?

Source: Internet
Author: User
Keywords Status code search engine
Tags .url code content deleted display entered the find how to

Absrtact: We do Web site optimization, there will inevitably be a Web site can not open the phenomenon. When you enter a wrong URL, the site appears at this time the content is generally unable to find the page, you are searching for the page may have been deleted, renamed or temporarily not

We do site optimization, will inevitably appear on a Web page can not open the phenomenon. When you enter a wrong URL, the site appears at this time is generally "unable to find the page, you are searching for the page may have been deleted, renamed or temporarily unavailable," such as prompts, this situation must do 404 pages.

404 page in the optimization of the site occupies an important link, when users enter the wrong URL, the site automatically jump to 404 pages, instead of "Cannot find the page", the practice is to tell the search engine this URL does not exist, return status code of 404. Set 404 page can guarantee the user jumps out rate to reduce, retains the website user.

Imagine when the user entered the wrong page, when your site is "Unable to find the page", then the user will immediately shut down your site, so that the loss of users, bounce rate is also greatly increased. Conversely, if you do 404 pages, you can ensure that users are not lost, but also let search engine trust like your site.

How to make a personalized 404 page?

This is actually very simple, as long as you understand Dreamwever software can make a perfect 404 pages. It is worth noting here, 404 pages do not automatically set the Jump home page, will be the search engine that is cheating, you are in the 404 page set A guide link can be. After the good 404 pages through FTP uploaded to the root directory of the site, using a friend of the virtual host, as long as access to the host management control suites, the above is prompted to add error page settings, you can select the web directory of 404 pages, click OK.

404 after the page is set up, to check the website return status code is not 404, if not 404 but 200, that means that the settings did not succeed. We entered the wrong link in the browser, if the site did not set 404 pages, the return status code is 404, tell the search engine that the link is wrong, discard the index of the link. If you set up 404 pages, but the address of the browser is still the wrong link, not jump 404.html, the link is still invalid, return status code or 404, rather than 200. A large number of return status code is 200, so that the search engine for the link index, resulting in a large number of different invalid links linked to the same page content, so that the site's trust greatly reduced.

To detect the site settings of the 404 page Return status code is correct, you just search in Baidu "status code detection" on it. Each webmaster can use this method for their own site to do 404 page setup detection, so that the site optimization to do better, search engine more trust your site.

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.