In looking at stats for my website, I see that there are some response codes that are errors and therefore I am assuming that users are unable to access some pages of my site. I am wondering how I can fix the ones that need it. CODE 200 - This is OK. CODE 206 - Partial Content - I don't think I can do anything about these? CODE 301 - Moved Permanently - What can I do to fix these? CODE 302 - This is OK. CODE 304 - Not modified - What can I do to fix these? CODE 400 - Bad request - What can I do to fix these? CODE 405 - Method Not Allowed - What can I do to fix these? Also, is there a primer or faq on these codes? Thanks.
http://en.wikipedia.org/wiki/List_of_HTTP_status_codes or if you want to get more technical http://www.w3.org/Protocols/rfc2616/rfc2616-sec10.html
Great links - thanks! I am working my way through understanding these and fixing those that need it. I am still a little unsure about what I can do to remedy these errors (or if I should even worry about it).
unless you're getting a ton of one kind of error I wouldn't worry about it. always look into 404s, though.
There are quite a few code 304 and 404. I have setup a custom 404 page to tell visitors that a page is missing (w/ links back to index.html). What can I do about CODE 304?
304 codes don't mean anything. it just means the page hasn't changed since the last time they visited it so they don't need to download it again. if you get a lot of 404s you probably have some broken links in your site. run some tools to find them.
disgust, Thanks for all of the help - I appreciate it. If you're still not tired of answering my questions, here's one more: Can I do a 301 redirect by using the following line of text in my .htaccess file? 'redirect 301 http://www.site.com/old.htm http://www.site.com/new.htm' Thanks.