Jump to content

  • Log in with Facebook Log in with Twitter Log In with Google      Sign In   
  • Create Account

Subscribe to HRA Now!

 



SEO Class in Chicago, IL

Learn How To Optimize Your Website on July 26, 2013


Looking for personalized in-depth SEO training among your peers?



High Rankings is offering a 1-day customized SEO training class in Chicago. Class size is limited so please sign-up now if you want in!



 


Are you a Google Analytics enthusiast?

Share and download Custom Google Analytics Reports, dashboards and advanced segments--for FREE! 

 



 

 www.CustomReportSharing.com 

From the folks who brought you High Rankings!



Photo

Google Webmaster Tools And Robots.txt


  • Please log in to reply
11 replies to this topic

#1 thx1138

thx1138

    HR 4

  • Active Members
  • PipPipPipPip
  • 224 posts
  • Location:England

Posted 18 January 2007 - 05:47 AM

Hi,

I don't use a robots.txt file because there's nothing on my site that I want to exclude from the search engines, I presume this is still good practice.

However one odd thing I did notice in Google webmaster tools is in the box where your robots.txt is displayed if you have one, my entire page code is displayed, is this just the default behaviour if you don't have robots.txt?

Charlie

#2 Randy

Randy

    Convert Me!

  • Moderator
  • 17,540 posts

Posted 18 January 2007 - 08:17 AM

I'm not sure how the tool works, but that doesn't sound right to me Charlie.

Is the server possibly redirecting to an error page or something since there is no robots.txt file? And if so, is it giving a 404 Not Found response or is it maybe redirecting those over to the home page or an error page using a 302 or something similar?

If that's the case it might be easier to simply upload a blank robots.txt file, or one that doesn't exclude anything.

#3 thx1138

thx1138

    HR 4

  • Active Members
  • PipPipPipPip
  • 224 posts
  • Location:England

Posted 18 January 2007 - 08:48 AM

I'm not sure what's going on Randy but for some reason google was using the source code of my index.htm page for what it considered to be our robots.txt file?

I've followed your advice and uploaded a blank robots.txt file, thanks for that suggestion.

Charlie

#4 Jill

Jill

    High Rankings Advisor

  • Admin
  • 32,376 posts

Posted 18 January 2007 - 08:55 AM

Sounds like you must have a 404 error page that redirects to your home page. It may also not be showing a 404 in the http header. This could in fact be what's troubling your website as G may be indexing numerous copies of your home page and filtering them all out.

Check on your 404 and get it fixed asap and you may find yourself out of the doghouse.

#5 thx1138

thx1138

    HR 4

  • Active Members
  • PipPipPipPip
  • 224 posts
  • Location:England

Posted 18 January 2007 - 10:46 AM

QUOTE(Jill @ Jan 18 2007, 09:55 AM) View Post
Sounds like you must have a 404 error page that redirects to your home page. It may also not be showing a 404 in the http header. This could in fact be what's troubling your website as G may be indexing numerous copies of your home page and filtering them all out.

Check on your 404 and get it fixed asap and you may find yourself out of the doghouse.


Thanks Jill,

You're spot on, the server was redirecting failed requests to the home page, I've now created a customised 404 page and uploaded a blank robots.txt file, I hope it helps.

Charlie

#6 Jill

Jill

    High Rankings Advisor

  • Admin
  • 32,376 posts

Posted 18 January 2007 - 11:47 AM

Does the custom 404 give an actual 404 response? Make sure it's not giving a 200 OK one.

#7 thx1138

thx1138

    HR 4

  • Active Members
  • PipPipPipPip
  • 224 posts
  • Location:England

Posted 18 January 2007 - 02:02 PM

QUOTE(Jill @ Jan 18 2007, 12:47 PM) View Post
Does the custom 404 give an actual 404 response? Make sure it's not giving a 200 OK one.


What a nightmare, my server control panel has an option to upload a custom error page which is of course preferable to the default one, however when I do this it returns a 200 OK response.

I've switched it back to the default error page which returns the correct 404 response however it's not exactly user friendly. No wonder Google's so fed up with my site, it probably gets caught in some sort of feedback loop when trying to spider it, I hope if this is the problem the changes I've made will have an impact in the short term.

Is there anyway to upload a customer error page and have it return the correct response?

Charlie

#8 Jill

Jill

    High Rankings Advisor

  • Admin
  • 32,376 posts

Posted 18 January 2007 - 02:06 PM

If you have .htaccess you can do it with that.

#9 Randy

Randy

    Convert Me!

  • Moderator
  • 17,540 posts

Posted 18 January 2007 - 02:33 PM

Following up on Jill's comment, the .htaccess instruction is simply something like:

CODE
ErrorDocument 404 /404.php


The above assumes your custom error page has been named "404.php" and is located at the root level of the site. You can change the file name and location to suit your needs. I simply always name my custom error pages after the error number because I typically have custom pages for 400, 401, 403, 404, 500, and 503 errors. Easier for me to keep straight what's what. wink.gif

Offtopic
For those wondering what those are:
400 = Bad Request
401 = Unauthorized
403 = Forbidden
404 = Not Found
500 = Internal Server Error
503 = Service Unavailable


#10 thx1138

thx1138

    HR 4

  • Active Members
  • PipPipPipPip
  • 224 posts
  • Location:England

Posted 18 January 2007 - 03:18 PM

Wow, thanks guys, I know I've said it before but this forum is just so very special, Randy and Jill, you're officially too good to me.

Charlie

#11 Jill

Jill

    High Rankings Advisor

  • Admin
  • 32,376 posts

Posted 18 January 2007 - 03:36 PM

Charlie, had you recently enabled that 404 thing to point to your home?

If so, that could very well have been the cause of your lost rankings.

#12 thx1138

thx1138

    HR 4

  • Active Members
  • PipPipPipPip
  • 224 posts
  • Location:England

Posted 18 January 2007 - 06:52 PM

QUOTE(Jill @ Jan 18 2007, 04:36 PM) View Post
Charlie, had you recently enabled that 404 thing to point to your home?

If so, that could very well have been the cause of your lost rankings.


No, it's been like it for a few years, I think I set it like that in my naievity 3 or 4 years ago, it would have been more reassuring had I changed it recently, it would have explained a lot, though it may be that Google has tolerated it for so long and then had enough.

I have noticed now that many of my competitors have moved around as well (though not as dramatically as us) whereas I thought only I was affected so it seems there is some change propagating its way through.

Charlie




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users