SEO Basics: Case Study 404 error page

Source: Internet
Author: User
Keywords SEO US basic articles

Intermediary transaction SEO diagnosis Taobao guest Cloud host technology Hall

Whenever we open a Web site, if there is no response for a long time, or if the URL is wrong, we see the following scenario:

  

This error page is 404 pages, today Shanghai SEO Xiao ran dugu fly and everyone chat about 404 of this household name SEO basic knowledge.

The 404 page is the page that is returned when the user enters the wrong link. is a frequent error in the WWW site access comparison. The most common error tip: 404 Not FOUND.

HTTP 404 error means that the link to the page does not exist, that is, the original page URL invalidation, this situation will often occur, it is difficult to avoid, such as: Web site URL generation rules change, Web page file name or move location, import link spelling errors, etc., resulting in the original URL address is inaccessible When the server receives a similar request, it returns a 404 status code telling the browser that the resource being requested does not exist.

1. Some children's shoes may ask: What is the purpose of the website setting up 404 pages?

The purpose of the 404 page is to tell the viewer that the requested page does not exist or link incorrectly, and that the user is directed to use other pages of the site instead of closing the window to leave.

2. There may be children's shoes will continue to ask: 404 page is the reason for the error?

404 error pages cause this error in general, there are three scenarios:

1), unable to access the Web site on the requested port.

2 The Web service extension lockout policy blocks this request.

3), the MIME mapping policy prevents this request.

3. So how to avoid 404 pages appear, is there any way to solve it?

Restore the missing Web page files to the correct location and reset the network services. For users, you need to check that the network address you have entered is correct.

Customizing the 404 error page is a good way to enhance the user experience, but it often fails to notice the impact on the search engine, such as a bad server-side configuration that causes the return of a "200" status code or a custom 404 error page to use meta-refresh to return a "302" status code. A custom 404 error page that is correctly set should not only be displayed correctly, but should also return the "404" error code instead of "200" or "302". Although the HTTP status code is "404" or "200" for the user, it is very important for the search engine.

4. If the site opened after a lot of 404 pages, this site has no impact on the rankings, will not be punished by Baidu?

Search engine spider when request a URL to get "404" state response, that means that the URL is no longer indexed and the page is deleted from the index database by feedback to the datacenter, although the deletion process may take a long time; when the search engine gets "200" Status code, the URL is considered valid and will be indexed and included in the index database, so that the two different URLs have exactly the same content: Customize the contents of the 404 error page, which causes the replication Web page problem. Light is the search engine down the right, heavy will k off the site.

5. As mentioned above, can you tell me what the 404 page should be set?

1. For existing Web page content due to the path changes caused by the access, can be defined in IIS 404 error point to a dynamic page, in the page using 301 Permanent Redirect to the new address, when the server returned 301 status code.

2, set 404 point to a well-designed HTML file, this time the page returns the 404 status code. Now the IDC provider basically provides 404 set of functions, directly upload file settings.

To set the method in IIS: Open IIS Manager--> Click the properties of the Web site you want to set custom 404--> click Custom error option--> select 404 Page--> Select and open Edit Properties--> set to URL--> URL to fill in. Err404.html "--> Click OK to exit and then upload the good err404.html page to the site root directory.

Note: In the message type here, be sure to select file or default, rather than URL, which will result in the return of the "200" status code.

3, 404 point to a dynamic page, such as error.asp, if not set inside the page, just return the hint of the HTML code, will cause the page to return 200 status code, this is not true, we can display the content of the prompt, add the statement: Response.Status = "404 Not Found", which guarantees that the page returns a 404 status code.

4, Apache set 404 error page. The way to set the 404 error page for Apache server is simply to add the following content to the. htaccess file, ErrorDocument 404/notfound.php.

6. Through the above knowledge of a general understanding of the 404 pages of some basic knowledge, but this is still very abstract, can you give us a look at the specific 404 page is what?

OK, in order to let us more intuitive some, the following Hsiao-Dugu fly Special collection of some web site creative 404 Design page, please enjoy. See <<404 page Creative Design Appreciation >>http://www.xlfseo.com/seo-jc/404tp.html

  

7. The above picture is very exquisite, but 404 pages exactly what this writing is more correct, can give some actual case?

OK, the following is to provide you with a number of famous station design program for your reference:

1.) Baidu 404 Page Writing format

The code is as follows:

&lt;div id= "Content" &gt; &lt;div class= "logo" &gt;&lt;a href= "http://www.baidu.com" &gt;&lt;img src= "http://" Www.baidu.com/search/img/logo.gif "alt=" Baidu logo "title=" Baidu logo "/&gt;&lt;/a&gt;&lt;/div&gt; &lt;div class=" title " &gt;&lt;b&gt; your access is wrong &lt;/b&gt;&lt;a href= "http://www.baidu.com" &gt; Baidu home &lt;/a&gt;&lt;/div&gt; &lt;div class= "CL" &gt;sdsffsd&lt;/div&gt; &lt;h2 class= "Tip" &gt; Sorry, the page you are trying to access does not exist. &lt;/h2&gt; &lt;ol class= "cited" &gt; &lt;li&gt;1. Please check that the URL you entered is correct. &lt;/li&gt; &lt;li&gt;2. If you are unable to confirm the URL you have entered, please visit the &lt;a href= "http://www.baidu.com/more/index.html" &gt; Baidu more &lt;/a&gt; pages to view the URL you are visiting. &lt;/li&gt; &lt;li&gt;3. Directly enter the content to be accessed for search:&lt;/li&gt; &lt;/ol&gt; &lt;div class= "SearchBox" &gt; &lt;form action= "http://www.baidu.com/s" Name= " F "&gt; &lt;input type=" text "name=" WD "size=" "maxlength=" "&gt;&lt;inputtype=" hidden "name=" CL "value=" 3 "&gt; &lt;input type= "Hidden" name= "tn" value= "Baiduerr" &gt;&lt;input type= "Submit" value= "Baidu click" &gt; &lt;/form&gt; &lt;/div &gt;&lt;div class= "Help" &gt; If you have any questions, please visit &lt;a href="Http://www.baidu.com/search/jiqiao.html" &gt; Baidu Help Center &lt;/a&gt; get solutions. &lt;/div&gt; &lt;div class= "Footer" &gt;&amp;copy; Baidu&amp;nbsp;&lt;a href= "http://www.baidu.com/duty/index.html" &gt; Disclaimer &lt;/a&gt;&lt;/div&gt;

  

Baidu 404 Page Setup is very simple, no page jump, provide users choose whether to click on the "Baidu More" (opened after the Baidu series of products navigation page) or a search box Baidu.

2. Sina 404 Page writing format

The code is as follows:

&lt;table width=544 height=157 border=0 cellpadding=0 cellspacing=0 align=center&gt; &lt;tr valign=middle align= middle&gt; &lt;td background=upload/2012/8/201208102301140162.gif&gt; &lt;table border=0 cellpadding=0 &GT;&LT;TR&GT;&LT;TD style=padding-left:80px;padding-top:10px&gt;&lt;strong&gt; page is not found for 5 seconds and will take you into the navigation page!&lt;/strong &gt;&lt;/td&gt; &lt;/tr&gt; &lt;/table&gt;

  

Sina 404 Page Setup is very simple, on a logo, set the time to open 404 pages 5 Seconds after the page automatically jump to the navigation page.

3. Tencent 404 Page Setup

The code is as follows:

&lt;table width= "563" border= "0" align= "center" cellpadding= "0" cellspacing= "0" &gt;&lt;tr&gt; &lt;td height= "" &gt; &amp;nbsp;&lt;/td&gt; &lt;td height= "195" background= "/1.gif" bgcolor= "#FFFFFF" &gt;&lt;table border= "0" align= " Center "cellpadding=" 0 "cellspacing=" 0 "&gt;&lt;tr&gt; &lt;td width=" 210 "&gt;&lt;a href=" # "&gt;&lt;img src="/404-2. GIF "alt=" "width=" 210 "height=" border= "0"/&gt;&lt;/a&gt;&lt;/td&gt; &lt;td style= "color: #333333; font-size:14px; Font-weight:bold; " &gt; page is not found, 5 seconds will take you to the home page! &lt;/td&gt; &lt;/tr&gt;&lt;/table&gt;&lt;/td&gt; &lt;/tr&gt; &lt;/table&gt;

  

Tencent 404 page settings and Sina 404 page settings, like a logo, set the time to open 404 pages 5 Seconds after the page automatically jump to the homepage of the website.

4. Alibaba

The code is as follows:

&lt;div id= "Content" class= "w952" &gt; Sorry, the page you are looking for does not exist, may have been deleted or transferred &lt;div class= "Sorry fd-clr" &gt;&lt;div class= " Sorry-content "&gt;&lt;p&gt; you can: &lt;/p&gt;&lt;p&gt;1. Check to see if the page URL of the access is correct &lt;/p&gt;&lt;p&gt;2. Go somewhere else: &lt;a href=" http ://china.alibaba.com/"&gt; Alibaba home &lt;/a&gt;|&lt;a href=" http://page.china.alibaba.com/trust.html "&gt; Integrity China &lt;/a &gt;|&lt;a href= "http://info.china.alibaba.com/" &gt; Information &lt;/a&gt;|&lt;a href= "http://club.china.alibaba.com/" &gt; Community &lt;/a&gt;&lt;/p&gt;&lt;/div&gt; &lt;/div&gt;&lt;a href= "http://small.china.alibaba.com/ipush/1688index.htm? Tracelog=re_iali_error-offer01 "class=" more "&gt; more &amp;gt;&lt;/a&gt; &lt;a href=" http://small.china.alibaba.com/ Ipush/1688index.htm?tracelog=re_iali_error-offer01 "&gt; You may be interested in &lt;/a&gt;

  

Alibaba 404 Page Setup is in an inherent template of Alibaba add a 404 page content, the top is the Business-to-business product search box. The lower part is a display of some products. More complex than some of the above stations, 404 page eye-catching less. But it also reflects the power of the unique product display side.

5). seowhy Search Outside

The code is as follows:

&lt;div class= "Foucspic" &gt;&lt;img src= "upload/2012/8/201208102301214344.png"/&gt;&lt;/div&gt; &lt;div class= " About "&gt; &lt;h4 class=" about_h4 &gt; Sorry, the page you visited does not exist &lt;/h4&gt; &lt;p&gt; This link does not exist, or the page content of the link has been deleted;&lt;/p&gt; &lt;p &gt; Please click on the left navigation link to return to the corresponding page;&lt;/p&gt; &lt;p&gt; if it is particularly important information, please &lt;a href= "http://www.seowhy.com/bbs/forum-11-1.html" target= "_blank" &gt; click here &lt;/a&gt; to report to us, thank you! &lt;/p&gt;

  

As SEO master of the husband, well aware of SEO skills, the 404 page settings also have some consideration, the page is very simple, do not jump processing, so that users click on the link to the Forum "Suggestions and Complaints" section to give the error handling. More interactive, but also in time to understand the cause of the page error.

6). Webmaster Home

The code is as follows:

&lt;h1&gt;chinaz.com-Webmaster Home &lt;/h1&gt; &lt;h2&gt;&lt;em&gt;404 error&lt;/em&gt: Sorry, the page you are looking for does not exist, may have been deleted or you have lost the wrong URL!&lt;/ h2&gt; &lt;p class= "link" &gt; &lt;a href= "/" &gt;&amp; #9666; back to home &lt;/a&gt; &lt;a href= "Javascript:history.go (-1);" &gt;&amp; #9666 return to previous page &lt;/a&gt;&lt;/p&gt; &lt;dt&gt; did not find the page you are looking for, after the brick home carefully research results below:&lt;/dt&gt; &lt;dd&gt; &lt;li&gt; Precious Jade Hand Enter address may have typing error &lt;/li&gt; &lt;li&gt; small snail put the page down home forgot to bring &lt;/li&gt; &lt;li&gt; Telecom netcom that interface Rusty &lt;/li&gt;

  

As a webmaster information station of the old site, webmaster home In this regard set up very user-friendly, some personification of humorous language so that the original because of the page can not find the need for a restless visitor smile.

7). A5 Webmaster Network

The code is as follows:

&lt;H1&gt; did not find the page you are trying to access &lt;/H1&gt; the requested URL is not found on this server.&lt;ol&gt; &lt;li&gt; please check that the URL you entered is correct. &lt;/li&gt; &lt;li&gt; Confirmation It is possible that our page is being upgraded or maintained. &lt;/li&gt; &lt;li&gt; You can try to access the following links. &lt;br&gt;

  

A5 Webmaster Network In this regard and Alibaba some similar, the top is the site navigation, the following is a search box. offers a variety of options.

404 Page Online detection

Search Outside SEO Toolbox: http://tool.seowhy.com/http404/www.xlfseo.com

  

This article from Shanghai SEO Hsiao-Dugu Fly original, article source: Dugu Fly SEO blog, http://www.xlfseo.com/SEO-JC/404NO.html welcome reprint! Please indicate the source, thank you!

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.