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

WordPress design tweak results are in

Did you vote? I did. Did your vote win? Mine didn't :( Results.

2 hours ago

DagonDesign.com

10 hours ago

Automattic launches talkpress.com

I was just working on re-launching my forum in preparation of the new theme I…

22 hours ago

Acquisition of wp.com

Just announced by Matt himself, that they finally acquired wp.com from Yahoo. Head over to…

1 day ago

WordCult Theme release 0.3

I've had some time the last few days while my XPS computer has been having…

2 days ago

Add a shortcode

This is a simple one. /** * Your Blog title * */ function my_blog_title() {…

2 days ago