On a WordPress site of mine, I was perplexed as to why it was not getting indexed in Google or other search engines.

I verified my site in Google Webmaster Tools and tried to submit a sitemap. In the webmaster tools panel, it informed me that my robots.txt file was blocking Google from grabbing my sitemap.

This confused me, as I know I would never knowingly make a robots.txt file to block search engines.

Read on to find out what the problem was, how to fix it, and how it happened in the first place…

The Problem

I checked out my robots.txt file and saw the following:

User-agent: *
Disallow: /

As if disallowing all bots wasn’t enough, I saw all the pages of my site had the following meta tag in it.

<meta name='robots' content='noindex,nofollow' />

Okay, so now my SEO was killed on two different levels - search engines can’t index or follow links, if they could somehow first get past the robots.txt.

The Fix

How did I remedy this crucial mistake? It’s a simple fix.

WordPress SEO Visible

I navigated to my privacy settings in the WordPress administration panel and selected I would like my blog to be visible to everyone, including search engines (like Google, Sphere, Technorati) and archivers.

Prevention

When installing WordPress, make sure you don’t deselect the checkbox that reads: Allow my blog to appear in search engines like Google and Technorati.

Conclusion

You should always verify your site(s) in Google Webmaster Tools to see if there are any problems with indexing. I hope you found this quick WordPress tip informative, because although this is a simple mistake, it’s something to be aware of when SEO’ing WordPress sites.

Subscribe to RSS

By: Leland on Jun. 22

Bookmark and Share

11 Comments »

Comment by Richard Paul
2008-06-22 11:35:00

Good reminder for those that don’t know about this and those that might have turned it off on purpose but forgot to turn it back on. I do like that WordPress thought to include a method to allow and disallow for folks that want to keep their blog more personal. Still - good reminder

 
Comment by DoesWhat
2008-06-22 13:21:08

That’d do it.

 
Comment by SEO Professionals Subscribed to comments via email
2008-06-22 21:45:28

Yes, I also agree for a good reminder. That can be a helpful thing for all new bloggers.

 
Comment by Pangeran
2008-06-22 22:09:14

Hahaha…
Sometimes even a simple thing like that will ruined everything. I did the same mistake last time.

For better coverage, beside submitting your website to Google Webmaster Tool, we MUST also submit our site to Site Explorer(Yahoo) and Webmaster Central(Live Search - MSN).

And other major search engine to consider is ask.com, but I’m not sure if it have webmaster tools feature…

 
Comment by mayooresan
2008-06-22 22:46:14

Cool tip!
Some people who make private blogs can keep their blogs private by enabling it, but for bloggers like you and me, we need more hits from Search Engines!!!

WordPress let you do anything!!! Thats what I love with WordPress

Thanks for the tip.

 
Comment by webpramoter
2008-06-23 01:24:03

Yes ,i also think that such type of reminder will keep us away from this type of problem because this small mistakes create big problems.

 
Comment by kelly Subscribed to comments via email
2008-06-23 05:21:05

Funny…I had written also written something about robots.txt sometime back - check it out if you want: http://www.myqute.com/2008/06/18/banning-search-engines-construction/ :)

Comment by kelly Subscribed to comments via email
2008-08-09 12:15:51

Sorry - link down as I find a way to fix wp!

 
 
Comment by Leland
2008-06-23 06:12:08

Yes, I realize some people may prefer to block search engines for various reasons. This reminder was for people like me who may have accidentally blocked them, and then forgot about it.

@Pangeran: Yep, you really can’t forget about other big search engines like Yahoo and Live. I used Google Webmaster Tools as an example since they seem to have a good “reporting” feature if there’s something wrong with your site.

@kelly: Nice article, but there seems to be a problem with your site. There are a few PHP warning errors at the top.

Thanks for the comments everyone.

 
Comment by kelly Subscribed to comments via email
2008-06-23 19:07:15

@Leland, thanks again! Yeah, saw the errors (been there for almost 8days!) and I have not done anything yet to correct the problem. >,< GUILTY! lol

 
Comment by seo singapore
2008-08-09 08:17:36

Great point. Sometime pple get too caught up with the whole post frenzy they neglect important settings in WP.

 
Name (required)
E-mail (required - never shown publicly)
URI
Subscribe to comments via email
Your Comment (smaller size | larger size)
You may use <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong> in your comment.

Trackback responses to this post

Recent Comments

  • Pangeran: AH… So far, I never find such theme that using any encrypted code. Beside, most of theme is from...
  • Peter: Well, people don’t just use it for “protecting” links in templates. It’s ethical to...
  • glu: love the theme. looking to use it for a big tech news site. however i need to remove the category thumbnails and...
  • Pangeran: Ah, I see. So using an encrypted code such as VGhlbWUgYnkgPGEgaHJlZj1cIiNcIj 5DZW5lYjwvYT4gYW5kIDxhIGhyZ...
  • Peter: Ah, from what I know, base64 encoding changes normal readable text into a string of characters which are not...

About The Author

Welcome to Theme Lab. My name is Leland, and I run the place. I write all the tutorials and code all the themes you see here on the site.

For more information about me, feel free to read the about page. If you want to drop me a message, feel free to contact me.

Interested in advertising on Theme Lab? We have advertising available at very reasonable rates. Head on over to the advertising page for further details.

Please read our Privacy Policy and Terms of Service in regards to theme usage.

© 2008 - Theme Lab - Powered by WordPress