Intermediary transaction http://www.aliyun.com/zixun/aggregation/6858.html ">seo diagnose Taobao guest cloud host technology Hall
Now the server, VPS rental more and more cheap, many novice webmaster can also use the server or VPS to build their own site, but many new owners from using a virtual host to use the server or VPS at the beginning there is always some not adapt. Many details are easily wrong. For example, a few days ago to help a novice webmaster do 404 pages of the problem.
As we all know, when the site revision or column adjustment, the original path of the page may have been changed or deleted, and the page is likely to have been Baidu, Google and other search engines included, when visitors by clicking into the deleted page, the default IIS will return the wrong page, This error-prone page will have a significant impact on customer access, so it is important to make a nice, concise, 404 page with Hints.
A custom 404 page allows visitors to automatically invoke custom Web pages when they have deleted non-existent pages, with pictures and text on them, and with hints and links to return to the home page, giving visitors a better access experience and not losing traffic to the site. Let's focus today on the common problems of setting up a 404 error page on IIS.
My novice friend has always used the virtual host, 404 page settings in the background simple to get a little bit better. The last few days bought one months of VPS try to use, but after overcoming a lot of difficulties only 404 pages have not successfully set up unsuccessful, and has not found the problem, and then checked is his VPS permissions to configure the problem.
To add to the completeness of this issue, I've sorted out several of the most common causes:
404 Custom error Page Setup failed cause one:
An error has been set. As shown in the figure, when the "message type" select "File", the location of the file below to write the correct, you can click "Browse" to choose.
404 Custom error Page Setup failed reason two:
The server or VPS is configured with permissions, and the permissions are configured very tightly. Looking at the security properties of 404.html first, there is no IIS-related user group in group or user name on the Security tab of page 404, and it appears that IIS itself does not have permission to access this file. That is to omit a workgroup authority, that is IIS_WPG. So directly to the site below the 404.html plus IIS_WPG group Read and run permissions on it. The test was done again!
404 Custom error Page Setup failure reason three:
The Designed 404.html file size is too small, and since IIS can only check files with a capacity greater than 512B, the 404.html size must be greater than 512B. Some webmaster in the 404.html page only wrote a few words plus two links on the finished, in the setting when all are set to the right, but is unable to call their own design of 404.html so that the setting failed or invalid access, the reason is this!
The above is my personal summary about setting up independent server and VPS 404 error page method, I hope to have some help to the novice webmaster, but also ask the expert criticism!
This article is published by the precious Metal Exchange (http://www.ttgjs.com) edition, Welcome to reprint, reprint please kindly keep this link, thank you for your cooperation!