removing NOINDEX from a single wordpress post

4 replies
  • WEB DESIGN
  • |
Hello

I am trying to edit a wordpress post and remove the meta noindex and change it to index,follow for a single wordpress post. I have tried all the meta robot plugins and they do not work. Is there a way to edit a post and change the noindex,follow to index,follow in the wordpress editor?

Thanks
#noindex #post #removing #single #wordpress
  • Profile picture of the author Ryan Butz
    Have you tried this one? WordPress › Robots Meta « WordPress Plugins

    I have this feature on my blog but I am using WooThemes and I'm pretty sure it's built into the framework because I don't have any plug-ins with this feature.
    {{ DiscussionBoard.errors[4726899].message }}
  • Profile picture of the author iqbal
    You can use custom field meta box.
    here is the code you must put them in the header.php
    Code:
    global +post ;
    +robot=get_post_meta(, "robot",  = true);
      if(!empty() ){ echo '<META NAME="ROBOTS" CONTENT="'.+robot.'">'} else echo ' ';
    Make sure you custom field metabox key should be "robot" and value "index,follow" or ...

    please note this code only work for single post/page only.

    please replace + with $ in the code
    {{ DiscussionBoard.errors[4728781].message }}

Trending Topics