404 error Page Setup

Source: Internet
Author: User

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

In Web design, error pages are common. However, we also need to customize it to a default page, make it a source of information, and guide visitors to continue to visit the site instead of leaving it blank: Sorry, the page you visited does not exist. 404 Page Setup methods are as follows:

First design a Web page, the proposal and the home page format to be consistent. Name this page 404.html.

Then upload to the site root directory, such as www.0371seo.com.cn/404.html

Modify your. htaccess document and write to:

ErrorDocument 404 http://www.0371seo.com.cn/404.html

Upload this document to the root directory.

Without this. htaccess, you can use TextPad to write a. htaccess.txt document, upload, and then delete the. txt suffix in the server's file store.

The original load Zhengzhou website optimization, reprint please indicate the source.

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.