The purpose of 404 pages is: tell viewers they requested page does not exist or link errors , while guiding the user to use the site to other pages instead of closing the window to leave.
Many open-source CMS systems including systems , Blog system does not provide 404 pages or 404 pages provided did not meet the requirements of SEO , which makes authoritative compromised websites.
The 404 page how to achieve the effect is consistent with SEO requirements ?
Search engines via HTTP status codes to identify the status of the page. When a search engine to get an error link, the site should return a 404 status code that tells the search engine index to abandon the link . And if the return status code 200 or 302 , the search engines will index the links , which lead to a lot of different links pointing to the same web content . As a result , dramatically reducing the trust search engines for that site. - Many websites have this problem : 404 pages return a status code of 200 or 302 instead of 404 status code.
The correct approach is to build a 404 page : (only for Apache server )
Htaccess file, add code :. ErrorDocument 404 / Error.html
Create a simple page named Error.html html404
The Error.html placed in the root directory of the site
If you encounter difficulties , refer to this site : error pages , SEO Why do thousands of htaccess files.
Note:
Do not turn directly to the site 404 error page , which will lead to home is not included ; / Front Error.html do with the main domain name , otherwise it returns a status code is 302 or 200 status code.


