What is a 301, 302, etc?

What is a 301, 302, etc?What is a 301, 302, etc?

When a webpage is requested the webserver will reply to the browser or crawler with a HTTP status code. Users are generally not aware of them but browsers and crawlers use them extensively.

The most common codes are :

200 - page ok
301 - permanent redirect
302 - temporary redirect
404 - file not found
500 - internal error

If a crawler comes across a site with a lot of 301, 302 or 404, this can lead to crawling problems. 302's in particular can be used (along with other frowned upon SEO techniques) to mislead search engines.

Ideally your site will have no 302, 404 or 500 errors. 301's often have to be used - for example in redirecting domain names (IE example.com to www.example.com). However they should be used sparingly.

Crawl Score will show other HTTP codes. For a full list of HTTP codes please see the following links :

http://www.w3.org/Protocols/rfc2616/rfc2616-sec10.html
http://en.wikipedia.org/wiki/List_of_HTTP_status_codes