Home » General, Technical

Meta Tag Robots Issue – A Lesson In Logical Thinking

14 January 2010 One Comment

Recently I had an issue with the site, where the following meta tag seemed to suddenly appear in my header.

META NAME=”ROBOTS” CONTENT=”NOINDEX, NOFOLLOW”

The result of this new code was that google (and other search engines) stopped crawling my site and all external links form my site carried no SEO value. Obviously this was detrimental to the site and I needed to fix the issue immediately.

What I Did

So instead of dissecting the source of this new code I just jumped on in and tried to remove it. Here is a step by step guide of what I did wrong

  1. Viewed the header file to remove the code. Could not find the code.
  2. Added my own robots meta tag with index, follow. Needless to say that did not work.
  3. Noticed a php wp_head in the header code. Tried to edit the file to no avail. (On a side note it took me a while to find the code, wp_head can be found at wp-includes > general-template.php > line 1132)
  4. Luckily stumbled upon the solution in a forum

What Needed To Be Done

If I thought about this logically it would of only taken 2 minutes to fix. I should have asked why did the code suddenly appear? I recently reinstalled the newest version of wordpress. And what happens when you do that? It resets to its default settings. And what default setting affects search engine robots? The privacy settings.

So to solve this issue is an incredible simple fix. Go to Admin area > Settings > Privacy > select “I would like my blog to be visible to everyone, including search engines (like Google, Sphere, Technorati) and archivers” > save. Problem solved.

I wrote this article to teach you two things. One was to show you how to remove this tag, META NAME=”ROBOTS” CONTENT=”NOINDEX, NOFOLLOW” from your wordpress header. The other is a lesson in logical problem solvng. If I had taken a few minutes to consider the issue (particularly what could have caused it to begin with) logic would have led me the solution much faster and saved me a lot of time.

One Comment »

  • veterinary technician said:

    I’ve recently started a blog, the information you provide on this site has helped me tremendously. Thank you for all of your time & work.

    [Reply]

Leave your response!

Add your comment below, or trackback from your own site. You can also subscribe to these comments via RSS.

Be nice. Keep it clean. Stay on topic. No spam.

Use a real name. You can use these tags:
<a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>

This is a Gravatar-enabled weblog. To get your own globally-recognized-avatar, please register at Gravatar.