How to make search engines index posts instead of categories?
-
Hi,
I was wondering if it were possible to force search engines to only index individual post pages instead of category pages. The problem is that when keywords are searched for and a category link of the form https://www.site.com/index.php?cat=1 is returned, the post that the search returned is unlikely to be there (more likely it was a older post in the same category and is no longer one of the first few shown).
The user would then have no choice but to use the built in search tool on the WP blog, but that’s annoying.
I’ve read about robots.txt but I don’t know how I could apply it to the dynamic pages generated by WP. Anyone know how to stop category/monthly/yearly pages from being indexed and only the post pages?
- The topic ‘How to make search engines index posts instead of categories?’ is closed to new replies.