![]() |
Duplicate posts in wordpress. 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 |
Re: Duplicate posts in wordpress. Get category page to just show Tittles OR noindex that page. |
Re: Duplicate posts in wordpress. Thanks for your help Fernando , but is there anyway to change it from coding ? |
Re: Duplicate posts in wordpress. 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. |
Re: Duplicate posts in wordpress. 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. |
| All times are GMT -6. The time now is 03:23 AM. |