Register Advertise with usHelp Desk Today's Posts Search

Closed Thread
Thread Tools Search this Thread
Unread 30th Dec 2011, 09:41 AM   #1
Warrior Member
War Room Member
 
Join Date: 2011
Location: London
Posts: 24
Thanks: 1
Thanked 0 Times in 0 Posts
Default
Duplicate posts in wordpress.
Share on: 
fb share twitter share gplus share more share

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
Ebrar is offline  
Unread 30th Dec 2011, 09:44 AM   #2
Portuguese Warrior
War Room Member
 
Fernando Veloso's Avatar
 
Join Date: 2008
Location: Good Old Europe
Posts: 4,035
Thanks: 1,616
Thanked 1,059 Times in 708 Posts
Blog Entries: 7
Default
Re: Duplicate posts in wordpress.
Share on: 
fb share twitter share gplus share more share

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.
Fernando Veloso is offline  
Unread 30th Dec 2011, 10:23 AM   #3
Warrior Member
War Room Member
 
Join Date: 2011
Location: London
Posts: 24
Thanks: 1
Thanked 0 Times in 0 Posts
Default
Re: Duplicate posts in wordpress.
Share on: 
fb share twitter share gplus share more share

Thanks for your help Fernando , but is there anyway to change it from coding ?
Ebrar is offline  
Unread 30th Dec 2011, 05:46 PM   #4
Advanced Warrior
 
Abledragon's Avatar
 
Join Date: 2007
Location: Hong Kong.
Posts: 838
Thanks: 3
Thanked 211 Times in 184 Posts
Default
Re: Duplicate posts in wordpress.
Share on: 
fb share twitter share gplus share more share

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
Abledragon is offline  
Unread 30th Dec 2011, 11:31 PM   #5
HyperActive Warrior
 
tweakr's Avatar
 
Join Date: 2011
Posts: 106
Thanks: 3
Thanked 12 Times in 11 Posts
Default
Re: Duplicate posts in wordpress.
Share on: 
fb share twitter share gplus share more share

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.
tweakr is offline  
Closed Thread


Bookmarks

Tags
duplicate, posts, wordpress


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off




All times are GMT -6. The time now is 02:57 AM.