WordPress: Change robots meta tag

I was wondering, is there any way to override the robots meta tag that WordPress is placing with the wp_head() function. For some reason I can’t uncheck the box that says “Discourage search engines from indexing this site” (when I uncheck the box, and save the settings, the page reloads and the box is checked again).

I’ve found the function that places the meta tag in the wp_includes folder, but I don’t want to change anything in the core so I was wondering if it’s possible to do it in any other way.

Read More

Thanks!

Edit: I tried disabling all my plugins, that didn’t solve the checkbox issue.

Related posts

2 comments

  1. Use a wordpress plugin called head-cleaner, it lets you edit the output of the wp_head() function.

    Cleaning tags from your WordPress header and footer.


    To edit it manually, open wp-includes/general-template.php
    and search for function wp_head

  2. Maybe some of your plugins are overrirding the normal behaviour.I would disable all ,no necesary, plugins and see what happens when you disable that checkbox.

Comments are closed.