| | #1 |
| Warrior Member War Room Member Join Date: 2011 Location: London
Posts: 24
Thanks: 1
Thanked 0 Times in 0 Posts
|
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 |
| |
| | #2 |
| Portuguese Warrior War Room Member Join Date: 2008 Location: Good Old Europe
Posts: 4,035
Thanks: 1,616
Thanked 1,059 Times in 708 Posts
Blog Entries: 7 |
Get category page to just show Tittles OR noindex that page.
|
| People make good money selling to the rich. But the rich got rich selling to the masses. | |
| |
| | #3 |
| Warrior Member War Room Member Join Date: 2011 Location: London
Posts: 24
Thanks: 1
Thanked 0 Times in 0 Posts
|
Thanks for your help Fernando , but is there anyway to change it from coding ?
|
| |
| | #4 |
| Advanced Warrior Join Date: 2007 Location: Hong Kong.
Posts: 838
Thanks: 3
Thanked 211 Times in 184 Posts
|
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. |
| WealthyDragon - Earning My Living Online | |
| |
| | #5 |
| HyperActive Warrior Join Date: 2011
Posts: 106
Thanks: 3
Thanked 12 Times in 11 Posts
|
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. |
| |
|
| Bookmarks |
| Tags |
| duplicate, posts, wordpress |
| Thread Tools | Search this Thread |
| |