WordPress.org

Support

Support » How-To and Troubleshooting » How to stop categories from showing up in searches

How to stop categories from showing up in searches

  • CocoaDiva
    Member

    @cocoadiva

    My categories on my page show up as the first content in all of my posts so Google is dinging my page for duplicate content. How do I make it stop? Also, how do I get my pages to list for their individual content and not just link back to my front page. All of my pages are coming up incorrectly in google!
    http://poshlifeposhstyle.com/

Viewing 1 replies (of 1 total)
  • cuban_cigar
    Member

    @cuban_cigar

    tried this in the header.php?

    <?php if(is_archive()){ ?><meta name=”robots” content=”follow,noindex”><?php } ?>

    it should add the no index, follow to all the archives, category pages, and tag pages.

Viewing 1 replies (of 1 total)
  • The topic ‘How to stop categories from showing up in searches’ is closed to new replies.