When checking your http header code, usually you want to get HTTP response code 200 or 301. Anything else can be either bad for users or SEO, unless your intention was to give a specific error code (like password protected pages).
HTTP Header Error codes
302 Found / Moved Temporarily
This code should be found if you have a page that is accessible only for logged in users. It does not pass any SEO value, so if you have links pointing to those pages, you don’t benefit from their PageRank transfer.
In HTML, 302 redirects can be done by adding the following line in the <head>
<meta HTTP-EQUIV=”REFRESH” content=”0; url=http://www.example.com/index.html”>
A lot of people that want to do good SEO redirects from .htaccess file using RewriteRule, forget to add the [R=301] code at the end of the line (usually should be [R=301,L] )
RewriteRule ^test.html$ /other-test-page.html [R=301,L]
404 Not Found
Almost in every website that is continuously improving will get 404 HTTP Header errors. To easily detect 404 error codes, add your website in Google Webmaster Tools and you will see in time those pages.
To check fast for 404 Not Found pages, just submit your URL to our HTTP Header Checker tool.
500 Internal Server Error
Most of the times this error is caused by two things:
- A bad line of code in .htaccess file. Use # in front of the lines to comment the rules so you can see exactly what line is wrong (any wrong letter used in .htaccess file can give 500 Internal Server Error).
- Memory limit in the server – happens if you have a complex script or a lot of visitors access the script and the server doesn’t have enough memory allocated.
If you want to know about other HTTP Header Error Codes, leave a comment bellow and I will update this post.