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

WP Realtor

The Ultimate WordPress Real Estate theme with custom developed plugins, single and multiple agents, extensive…

2 hours ago

WordPress 2.6.5

WordPress 2.6.5 is immediately available and fixes one security problem and three bugs. We recommend…

13 hours ago

Comment Validation

Another plugin I am using on this site: Comment Validation by Jörn Zaefferer. From Jörn's…

1 day ago

Woopra Analytics

Woopra is the world's most comprehensive, information rich, easy to use, real-time Web tracking and…

2 days ago

WordPress Beta 3 Error

If you don't know, this site is running the latest WordPress. Which is in Beta…

2 days ago

CelebrityPress Fashion

Celebrity Press is a sexy premium WordPress theme ideal for running a Gossip / Celebrity…

3 days ago