Hi,
Many wordpress users do not want to indexed their images or some posts. We have already discussed about the images. For the posts, Open your theme’s header.php file and add this code between the <head> and </head> tags:
<?php if ($post->ID == 8
{
echo ‘<meta name=”robots” content=”noindex”>’;
}
In this example, whose post ID is 8 can not be indexed by search engines. You can change the post ID according to your requirement. Also can add more than one posts in the list.
That’s it!
Thanks,
Shane G.
Popularity: 1%