Categories: Tips & Tricks

Disable search engine on search pages

A good idea when trying to get the most out of your blog is usging the meta tag to tell the web bots to search & index your site. But for good SEO you should apply this code in your header.php file of your WordPress blog.

<?php if(is_search()) { ?>
<meta name="robots" content="noindex, nofollow" />
<?php }?>

This will keep your site from getting a hit from bots over duplicate entries. 🙂

Web Master

Hi, I am Miguel, I bought this site in 2009. So I now run or manage the site. Please visit my new website or follow me on twitter @W3i.

Recent Posts

Revolution Two: Church Theme

Benefits include the Church theme, unlimited theme support answered by our experts, customization techniques with…

2 hours ago

Revolution Two: Chrome Theme

Benefits include the Chrome theme, unlimited theme support answered by our experts, customization techniques with…

22 hours ago

Revolution Two: Black Canvas

Benefits include the Black Canvas theme, unlimited theme support answered by our experts, customization techniques…

1 day ago

Revolution Two: Agent Theme

Benefits include the Agent theme, unlimited theme support answered by our experts, customization techniques with…

2 days ago

Contest: WP e-Commerce theme competition

The WordPress e-Commerce team are gearing up to announce a competition for the best WordPress…

2 days ago