In: , , , , ,
On: 2007 / 06 / 18 Viewed: 129419 times
Shorter URL for this post: http://ozh.in/ey

I've seen recently a lot of plugins for WordPress aimed at taking care of the duplicate content issue in search engines. Don't get me wrong, those plugins are doing well what they were created for : adding a meta tag in some pages so that Googlebot and its friends don't index them. The problem is that doing such a thing is, in my very humble opinion, a bad idea.

Duplicate Content ? Duplicate Content ?

First of all, if you don't know what's wrong with duplicate content, read this nicely illustrated article from SEOmoz. In short, when a search engine bot sees the same content on different pages, let alone different websites, it doesn't like it, tries to identify the original source for it and puts a penalty on others. Duplicate content is a real cross site issue, often synonym to spam, splog and content stealing.

Inside your own blog, duplicate content might be a problem. You have original content on your post page, you have the very same content in the timely archives for the same day, month and year, and again the same in each category archive page under which you filed your post. Four, five, six times the same content? This has to be a bit confusing for our friend Googlebot, and it might put a penalty on some and any of these pages.

Note the emphasize on might. The real problem here is that you want to have control over which page is the most important, and not let search engines decide for yourself.

What to do, then ?

At this point, you have 3 possibilities :

  1. Do nothing
    Let search engines index 6 times the same content and decide which is best. That could work. Or that could painfully decrease your visibility in search engine pages, since you can't decide what page should be proeminent over others. Not an option for those who want to fine tune things.

  2. Use a "don't index this" plugin
    Basically, those plugins will simply add something like <meta name="robots" content="noindex,follow" /> in some pages, so that search engine bots will follow links but won't remember what they've seen on that page.
    As I've said in the intro, this seems a dumb idea to me. Why? Mainly for two reasons. First of all, it's much better for your site to have 6 pages indexed instead of 1. Or 6,000 instead of one thousand. And second reason, simply because it's up to you not to serve duplicate content.

  3. The right way : just give different content
    Reason #771 why WordPress is great is you can customize just everything to suit your needs. Like, having a smart theme with smart archive pages. Instead of displaying each post in its entirety, display an excerpt of it, and get your page indexed

The Right Way™ to do it

"The right way" purposely emphasized: as usual and as with most things, There's More Than One Way To Do It. But at least that's my way to do it, and judging by my referrer visits, it's not working too bad.

Keeping your site safe from the duplicate content issue, and more generally getting things optimized for search engines, should not be a plugin's job, it must be your theme's job, it must be coded and designed for it. Just like looking good, using good markup, being crossbrowser friendly, etc…

WordPress themes have a template page specifically made for those pesky archive pages, be they year, month, day, category, author, whatever archives. You need at least one file, located in wp-content/themes/yourtheme/, named archive.php.

If your theme does not have an archive.php, it sucks is incomplete. Create one, for example by duplicating and editing the file you'll find in the default theme directory. If your theme has an archive.php and displays whole posts, hack it. An example (and rather minimalist) template to display post excerpts would be:

  1. <?php get_header(); ?> 
  2.  
  3. <div id="content">
  4.  
  5. <?php if (have_posts()) : ?>
  6. <?php while ( have_posts() ) : the_post() ?>
  7.     <div class="post">
  8.     <h2><?php the_title(); ?></h2>
  9.  
  10.     <div class="storycontent">
  11.     <p><?php
  12.     $short = get_the_excerpt();
  13.     if (strpos($short,'[...]') === false) $short.='[...]';
  14.     echo $short;
  15.     ?>
  16.     &rarr; <strong><a href="<?php the_permalink() ?>">Read more</a></strong></p>
  17.     </div>
  18.  
  19.     </div> <!-- post -->
  20.  
  21. <?php endwhile ?>
  22.  
  23. </div> <!-- content -->
  24.  
  25. <?php get_sidebar(); ?>
  26.  
  27. <?php get_footer(); ?>

Does that really matter ?

My theme is serving archive pages using the example above. While most of my incoming search engine visitors land on post pages directly, I do have visitors landing on category archives. Oh, not much, about 2 or 3% of them. Just checking the past hour referrers, I've found people coming from Google and looking for :
lolcat + javascript (go figure)
french lolcats (ho hai i'm fwench!)
php bitwise gd function

So they came here, and actually they probably didn't find what they were looking for : I've never written anything about javascripted lolcats. But I've posted about lolcats, and about javascript, for sure. I've never written anything about bitwise operations in gd, but I've posted about gd, and about bitwise operators. Yet, Google showed them results that made these people think they would find what they were looking for on my site, and they came. And that would never have happened if I made my site with this noindex meta tag on archive pages.

So, why would I want to cut my visitor number by 2 or 3 percent with a noindex directive for bots ? Would that make 3 visitors a day, or 3 visitors and hour, that's still 3 potential readers, 3 potential ad clickers, 3 potential bloggers who will like and link my site. That'd be silly to tell Google not to send those fine people to my site.

Summary

Do stay away from the duplicate content problem. But it's definitely a theme issue, not a plugin's business.

Shorter URL

Want to share or tweet this post? Please use this short URL: http://ozh.in/ey

Metastuff

This entry "WordPress, Duplicate Content, and Wrong SEO Plugins" was posted on 18/06/2007 at 10:37 pm and is tagged with , , , , ,
Watch this discussion : Comments RSS 2.0.

26 Blablas

  1. 1
    关于WordPress重复å†... United States »
    pingback on 19/Jun/07 at 4:44 am # :

    [...] 这才是SEO的最好方法. 喜欢看英文的朋友, 建议看看Ozh的这篇文章. 喜欢本文吗?订阅 catch the digital flow,精彩文章一网打尽。 var [...]

  2. 2
    armouf France »
    commented, on 19/Jun/07 at 2:34 pm # :

    Hey ozh, j'ai une question. penses-tu que l'utilisation d'un post teaser permette d'éviter la redondance entre post et archive ?

    Le post teaser evite en effet d'afficher le post en entier sur la page principale. Pour peu que l'affichage soit différent dans les archives, on aurait donc un contenu différent non ?

    ps: vive le japonais.

  3. 3
    Ozh France »
    wrote, on 19/Jun/07 at 9:27 pm # :

    Armouf » oué, probablement. Ca vaut pas mon truc cependant a mon avis :)

  4. 4
    My Review » PlanetOzh France »
    pingback on 20/Jun/07 at 1:23 pm # :

    [...] Once you've tried the Admin drop down menu, you won't get rid of it. You'll find clever thoughts about blogging, the internet. But you'll aslo find some useless but so necessary [...]

  5. 5
    WordPress no es “google-friendly&#... United States »
    pingback on 02/Jul/07 at 7:01 am # :

    [...] WordPress, Duplicate Content, and Wrong SEO Plugins [...]

  6. 6
    Duplicate Content Controlled Naturally T... United States »
    pingback on 02/Jul/07 at 7:17 am # :

    [...] about all the fuss over duplicated content. WordPress, Duplicate Content, and Wrong SEO Plugins by Planet Ozh will help set you straight. Keeping your site safe from the duplicate content issue, and more [...]

  7. 7
    Jordan (MamaBlogga) United States »
    thought, on 02/Jul/07 at 8:33 pm # :

    Thank you so much! I've been trying to find a plugin or something to do this; this is exactly what I needed!

  8. 8
    Matt Cutts Publishing Duplicate Content ... United States »
    pingback on 06/Aug/07 at 5:08 pm # :

    [...] http://planetozh.com/blog/2007/06/wordpress-duplicate-content-and-wrong-seo-plugins/ [...]

  9. 9
    MichelleVan United States »
    wrote, on 25/Aug/07 at 6:57 am # :

    I've got three sites, all with very well known themes, and I've done everything I know to do and still have supplemental @ ARUGH. I've been messing with this for two months and can't get it fixed. Ideas?

  10. 10
    Dewald Canada »
    thought, on 10/Dec/07 at 5:19 am # :

    I agree that duplicate content could be a theme issue, but I disagree that it's not a plugin's business. I've found a way, which does involve some work, to make each page view of a WordPress blog page unique, which I implemented in a WordPress plugin. The results are at least 80% and better in uniqueness of each page view. When each page view of a page is unique, it doesn't really matter where and how many times the content appears on the blog.

  11. 11
    Wanda United States »
    commented, on 08/Jan/08 at 5:31 pm # :

    I have always triedto get away from the duplicate content. Just not worth using it.

  12. 12
    anaokulu Turkey »
    said, on 30/Mar/08 at 12:10 am # :

    thanks good work

  13. 13
    links for 2008-04-10 at nyc.locationscou... United States »
    pingback on 10/Apr/08 at 4:38 am # :

    [...] WordPress, Duplicate Content, and Wrong SEO Plugins « planetOzh (tags: wordpress seo optimization duplicate-content) [...]

  14. 14
    Julia Spain »
    wrote, on 19/May/08 at 9:39 pm # :

    It is just i was looking for.

  15. 15
    E@zyVG Russia »
    said, on 04/Jun/08 at 4:33 pm # :

    Little Confused:

    1st, why would wordpress.org, as an blogging engine, create duplicates within one blog!!! WordPress should know that it is not a good and practical way.

    Perhaps, some themes might be codded wrongly, then I understand.

    Permalinks: my_blogname.com/year/month/date/post_title

    The original post will always have the same url, even if the post (not page) is listed under dozens of categories, or can be found by navigating the archives. Where does than duplicate posts originate.

    I hope what I have written above is not totally utter non-sense, as I am newbie at all this.

    Purpose for asking this dilema is because my new theme is under-development, and soon the blog will be completely hosted on my own wordpress.ORG engine, as it is currently on wordpress.COM. I simply want to be sure that I do not end up having "duplicate contents" within a single blog.

    Thank you and looking forward for your explanation.

  16. 16
    Squeaky United States »
    commented, on 08/Jun/08 at 11:51 am # :

    It is very important to make your site as duplicate content free as possible. However, it is very time consuming and there are different methods to do it by. Currently, I have been managing duplicate content in the robots.txt file and using a WordPress plugin, which is working better for me at the moment. But, I am still a long way from perfection what is for sure.
    I haven't seen much of this method that is implemented into the WordPress theme, this is new for me. I am going to have to shoot this off to my coder and get some input from him.
    I will have to analyze you site out a bit and see what you got going on.

    Thanks for sharing…

  17. 17
    Rajesh India »
    wrote, on 11/Aug/08 at 6:19 am # :

    why would I want to cut my visitor number by 2 or 3 percent with a noindex directive for bots

    To get traffic that is relevant and not people who come to my blog seatching for something that is not there on my blog.

    when we we do section targetting for google ads, to ensure better conversion, the same holds good for getting relevant traffic from search engines. I am better off with traffic that is relevant than wasting bandwidth for traffic that has high bounce rate.

  18. 18
    twenty20 South Africa »
    replied, on 03/Sep/08 at 9:23 pm # :

    Hi there, thanks for a super useful and timely post.

    The one thing that often grsates me when using a cms for site development is the duplicate content factor, especioally with WP and Joomla, but thanks to posts like these it's becoming manageable.

  19. 19
    David Lau dot ORG United States »
    trackback on 16/Sep/08 at 3:14 pm # :

    ??????????????…

    ??Wordpress??????Google?????????????????????????????????????????Google????????????????????????????…

  20. 20
    SEO Wordsmith » Blog Archive &raqu... United States »
    pingback on 02/Dec/08 at 5:04 am # :

    [...] plus post titles, and so forth, with no additional content.  This is a better method.  Here’s a good post on the issue, which also advocates using smart [...]

  21. 21
    cuocthiseo Viet Nam »
    thought, on 26/Dec/08 at 9:07 am # :

    Great tips, I'll follow some steps now,
    Thanks for share.

  22. 22
    Comparison of WordPress SEO Plugins &laq... United States »
    pingback on 24/Apr/09 at 8:13 am # :

    [...] in the "I hate SEO plugins" category (why), and tagged as "but some are better than others", there's an article on Urban [...]

  23. 23
    Rhys Australia »
    replied, on 16/Oct/09 at 7:05 am # :

    Hi -
    I can't get excited about duplicate content for my wordpress blogs – I see Google shows several duplicate contents in the same page of serps: E.G., under the site URL, with the URL with the postname, the same post under Category and again under Tag.

  24. 24
    Fred United States »
    replied, on 27/Dec/09 at 9:10 pm # :

    I was thinking there must be some solution to the WordPress duplicate content problem other than using noindex. Thank you very much for the info, only problem is I'm just starting and hacking pages is still a lot of guesswork for me. Your example will help a lot though. Thanks!

  25. 25
    Adam Arnold Australia »
    said, on 24/Jan/10 at 6:46 am # :

    Will your archives template above show excerpts when none are provided in the post/page itself. Or does this simply create it's own excerpt from the first N characters/words?

  26. 26
    James Martin India »
    replied, on 12/Jun/11 at 12:23 pm # :

    Forgive me if I am mistaken becoz I am not too tech savvy. But what I understand is that I just copy and paste the archive code give above in my current archive.php file of my wordpress theme. Is that right?

Leave a Reply

Comment Guidelines or Die

  • HTML: You can use these tags: <a href=""> <em> <i> <b> <strong> <blockquote>
  • Posting code: Post raw code (no <> &lt; etc) within appropriate tags : [php][/php], [css][/css], [html][/html], [js][/js], [sql][/sql], [xml][/xml], or generic [code][code]
  • Gravatars: Curious about the little images next to each commenter's name ? Go to Gravatar.
  • Spam: Various spam plugins on patrol. I'll put pins in a Voodoo doll if you spam me.
  • I will mark as Spam test comments, all comments with SEO names (ie "My Cool Online Shop" instead of "Joe") or containing forum-like signatures.

Read more ?