Duplicate posts in wordpress.

by Ebrar
4 replies
Hello Warriors,
I am building a website using wordpress , but when I use one of my post as a sticky page , it also shows in category page , I don't want any kind of duplicates on my website, I just want it to show on homepage only, can someone help , here is the index.php code : Header.php - Pastebin.com
#duplicate #posts #wordpress
  • Profile picture of the author Fernando Veloso
    Get category page to just show Tittles OR noindex that page.
    Signature
    People make good money selling to the rich. But the rich got rich selling to the masses.
    {{ DiscussionBoard.errors[5328233].message }}
  • Profile picture of the author Ebrar
    Thanks for your help Fernando , but is there anyway to change it from coding ?
    {{ DiscussionBoard.errors[5328450].message }}
  • Profile picture of the author Abledragon
    Articles that appear in your categories or tags on WordPress, as well as your main page, do not constitute duplicate content. They are the same content on the same site accessed via different URLs.

    Duplicate content is the same article appearing on a different domain.

    This article goes into more detail (it also contains a quote from Google on the subject):

    Duplicate Content on WordPress | WealthyDragon

    Cheers,

    Martin.
    Signature
    WealthyDragon - Earning My Living Online
    {{ DiscussionBoard.errors[5330711].message }}
  • Profile picture of the author tweakr
    If you would like to set category pages to noindex you could add a conditional tag to the header

    <?php if(is_category()) { echo '<meta name="robots" content="noindex,follow" />'; } else { echo '<meta name="robots" content="index,follow" />'; } ?>

    It will display the noindex on cat pages and index on all the rest.
    {{ DiscussionBoard.errors[5331922].message }}

Trending Topics