• scienceisgreat

    (@scienceisgreat)


    I’ve noticed that my generated index.php page has the meta tag:
    <meta name='robots' content='noindex,nofollow' />.
    I don’t want this on my index page, and I’ve been told to look at the header template. So I did, and couldn’t find it.
    I did find, however, that if I removed the wp_head() function, that meta tag as well as other meta information (like that provided by “Add Meta Tags” plugin) vanishes. What does wp_head() do, and why is it adding the robots exclusion tag? How do I fix this?

Viewing 4 replies - 1 through 4 (of 4 total)
  • whooami

    (@whooami)

    wp_head is a “hook” Put it back, you need it.

    More on hooks: http://wphooks.flatearth.org/

    What you need to do is go into Opions >> Privacy and untick the box that says, “I would like to block search engines, but allow normal visitors”.

    IF, for some reason changing that option doesnt remove the meta tag than you’ve got a plugin adding it.

    jwurster

    (@jwurster)

    If you go into the Privacy options, you will see where to fix this.

    whooami

    (@whooami)

    didnt I say that? minus the typo.

    Thread Starter scienceisgreat

    (@scienceisgreat)

    Thanks guys! I thought I had tried that, but maybe I misread or forgot to save the update. I had left the hook there, because I thought it seemed important.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘robot suppresion and wp_head() ?’ is closed to new replies.