Lou: The original 404 page can do this

Source: Internet
Author: User
Keywords So originally

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

404 page is a necessary site page, it carries the user experience and SEO optimization of the task. The 404 page typically accesses a page that does not exist or has been deleted on the site, and the server returns 404 errors. If the webmaster did not set 404 pages, there will be dead links, spiders crawling such URLs, not conducive to search engines included.

  

Two great benefits of setting up 404 pages

1: Guide users not to close the site, enhance the user experience.

2: Prevent the site from appearing dead links.

To design the 404 page you can follow the following rules

1: Like the portal 5 seconds back home

  

According to Lou observation, such as NetEase, Sina, Tencent such portal station error pages are the same, into the wrong page after the tip 5 seconds back to the Channel home page.

Do not go into the 404 error page, immediately return to the home page, these turn all make the search engine mistakenly thought that the page exists, but return duplicate content.

2: Like the home of the webmaster release "Brick Home"

  

404 page to ensure that similar to their own web site style, so that it looks like your station, and then some humorous phrases, please "brick home" to help you analyze, tell the user confused when he was there. To bring a humorous plot to the wrong, the original error can also be very beautiful ...

Avoid the 404 set into 301 Redirect to the home page, which is not friendly to the search engine settings, will let the search engine that the site has a large number of pages with the same content page, but can be the wrong page 301 to the correct page.

3: You can also like Yahoo, can put all the plug in

  

In the 404 page as far as possible to give users useful links, with rich content to pull the user back, to avoid too simple page and let users leave.

Despite a lot of content, the most visible location still displays an error message prompting the user that the page to be accessed does not exist. Then, the above to add navigation, put ads on the right, below the squeeze point of the article, this is not enough, the bottom in the still point of navigation links in, users can not think of a point.

4: Can also like me, put a little game to play

  

404 error is not terrible, terrible is the default "404 Not Found" so that users can not touch the mind, this is how? Lou Blog's 404 pages is a flash games.

Ouch, this is the 404 error page, let's take a break and play this game.

404 Page Setup Method

1: Virtual Space Setting method

Now the IDC provider basically provides 404 set of functions, directly upload file settings. Each space trader's control Panel is different, I don't have to say more here.

2:iis set 404 page

Right-click the Web site you want to manage in IIS Manager, open the custom error message page in properties, and set the appropriate error message page for 404. However, it is important to select "file" or "Default" in "Message type" instead of "URL", which will result in the return of the "200" status code.

3:apache Set 404 Error page

Add the following content to the. htaccess file: ErrorDocument 404/notfound.php. Remember not to use an absolute URL, if the status code returned using an absolute URL is "302" + "200".

After setting up, it's best to check the HTTP status of the Web page again, you can use Ranknow this tool: Check your site 404 settings are correct.

Author: Lou This article address: http://lusongsong.com/reed/404.html

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.