Serial: Step by step optimization of the website in Progress (ii)

Source: Internet
Author: User

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

Today I looked for a dead link to the Web site, and the Finder tool is using Google's webmaster tools.

A total of three were found, using the workaround:

1. Reissue the above page so that it can browse normally.

2. Modify 404 pages. Listen to Seowhy's old doctor. The only way to build 404 pages correctly is to: (Apache server only)

Add code in the. htaccess file: ErrorDocument 404/error.html to create a simple html404 page naming error.html, put error.html in the site root directory, if encountered difficulties, refer to this site: error page , SEO 100,000 why the. htaccess file.

Note:

Do not turn 404 errors directly to the home page, which will cause the home page is not included;/error.html the main domain name is not preceded, otherwise the status code returned is 302 or 200 status code. Therefore, I made a 404 page as follows:

[Continuous update ...]

Original content, http://www.mamibaike.com Copyright, reprint please keep this link, do not modify any content of the article!

Related article reading: Serialization: Step by step optimization of the site in Progress (i)

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.