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

6 Best Online Plagiarism Checkers to Detect Duplicated Content

This post discusses the importance of detecting and removing plagiarized content for credibility, originality, avoiding…

1 hour ago

Disable caching of your site or post

I talked about Disabling search engine on search pages in a previous post using the…

11 hours ago

WordCamp Las Vegas Near

The time is near, only 6 hours and some change to to get your tickets…

23 hours ago

Run PHP5 on your PHP4 Server

Here is a really neat trick! Access your PHP5 while running PHP4. If you haven't…

2 days ago

typenuts.com

3 days ago