Intermediary transaction http://www.aliyun.com/zixun/aggregation/6858.html ">seo diagnose Taobao guest cloud host technology Hall
404 page for the webmaster should not be unfamiliar, its role is no less than two: improve the user experience and enhance the friendliness of the search engine. When I was chatting with a few friends last year, tell me that 404 page can not be arbitrarily set, set the bad site will be severely down the right, not how to pay attention to, a few days ago in the laggards with peer exchange, a word "Please note your return status code" to remind me to further study the next 404.
At present, many sites have been set up 404 pages, but the true set of the correct few, the main focus on the return status code errors, almost all exclusively 200 or 301 categories, you can use HttpWatch this tool to check (this tool a bit complicated, http:// www.seobox.org/getheader.htm This online tool query is also good.
about how the server is set 404 can go to Baidu, a search can appear a lot of results, then the virtual host user how to set it? First, your provider has to provide the freedom to set up the function, if not with the access to the operator to communicate. We design a 404 page on the homepage, like ordinary pages, such as the site can be placed navigation and some friendly words to inform users of the current search page does not exist, and so on, and then save this page as an ASP dynamic form (PHP dynamic has not been tested, static page has not thought of a solution), we tested this page, You will find that the status code returned is 200, and you need to impose a code in the head:
<% response.status = "404 Not Found"%>
Save the page, check with the tool, is not found at this time the hint is 404?
Bask in the code I wrote:
Test results:
Code Demo: http://www.rdzikao.com/404/index.asp