Support » Fixing WordPress » wp_head() not working properly in wp 2.7.1?

  • My theme has the <?php wp_head(); ?> template tag in it’s header file and the blog has privacy options switched to being visible to search engines.

    the blogs output does _not_ (i repeat: it does not) place any meta tags related to robots in its head.

    is this function bogus in the latest version? as describben in codex, there must be robots meta tags output in place of the wp_head(); tag.

    what am i missing here?

Viewing 6 replies - 1 through 6 (of 6 total)
  • I have the same problem

    I use:
    add_action(‘wp_head’, array(&$dl_pluginSeries, ‘addHeaderCode’));

    but addHeaderCode is never called.

    Any solution?

    – Michael

    Robots meta tags are not added by WordPress unless your blog is set to private. In that case, you get:

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

    But I only want too add a css in the admin section.

    Found it – i have to use admin_head.


    Can you please explain what you did to remove the noindex,nofollow code through wp_head()?




    go into settings > Privacy and click “I would like my blog to be visible to everyone, including search engines (like Google, Sphere, Technorati) and archivers

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘wp_head() not working properly in wp 2.7.1?’ is closed to new replies.