Need a new web host or having a problem with a script? Tips and advice on the best way to design, build and maintain your most valuable asset - your website!

HTTP Status Error Codes

flipp1
Posts: 43
Joined: 27 Apr 09
Trust:

HTTP Status Error Codes

Hi there, can some one please help me!! I am a newbie at all this and when I go into my web master tools and also my control panel I have two HTTP Status codes. One says 301 Moved permanently (redirect) and the other 404 Document Not Found

I'm not sure what these mean or how to fix them. Can some one please help!!

Many thanks!!
  • 0
Last edited by michellerana on 04 May 10 1:48 am, edited 1 time in total.
Reason: improve title to describe the post better
 

Site Admin
mikeantiga
Posts: 753
Joined: 28 Mar 10
Trust:
You're getting HTTP status 301 because a URL that points to a page on your site has been redirected to another page using a server-side 301 redirect (permanent redirect). A 301 redirect is used to "tell" search engines that this URL has already been moved to a new location.

A 404 HTTP status code (Not Found), on the other hand, means that the document or file to which a URL is pointing to is missing. You have to create a permanent redirect for the page that gives you a 404 not only because confuses visitors but it also affects your SEO efforts.

To implement a redirect, just add this code to the .htaccess file on your home directory.

  • 0
Want lessons on Affiliate Marketing, SEO and Content Creation? Get them here for FREE:
http://www.affilorama.com/lessons
 
flipp1
Posts: 43
Joined: 27 Apr 09
Trust:
Hi, thanks for your reply. Okay, so I don't have to worry about the 301 - is that right? However the 404 seems to be the problem. I'm not quite sure how to find the 404 error - my control panel tells me that there are 2 required but not found URLs it seems. One says /sitemap.xml and the other a sentence from my website that shouldn't have any links to it. I also now have showing on my control panel a 206 Partial Content code. I really don't know how all these errors happened because I haven't changed anything. Also where do I find the .htaccess file on my home directory to paste the code into? I guess I need to identify the exact place where the error is coming from first and then tell it where it should be going but I can't find the error!! I used XSitePro to build my site. Any help greatly appreciated!!!
  • 0
Site Admin
mikeantiga
Posts: 753
Joined: 28 Mar 10
Trust:
You don't have to worry about the 301 status code. You don't have to create a 301 redirect for the sitemap.xml unless you used a different file name for your sitemap. If you don't have a sitemap, you can create one using XSitePro's Site Map Manager wizard (located on the Other tab). You can just disregard the other 404 error message.

206 Partial Content are generated when a visitor hits the 'stop' button while a page is loading. You also don't have to worry about this status code.
  • 0
Want lessons on Affiliate Marketing, SEO and Content Creation? Get them here for FREE:
http://www.affilorama.com/lessons
 

This topic was started on May 03, 2010 and has been closed due to inactivity. If you want to discuss this topic further, please create a new forum topic.