Sunday, March 9, 2008

WordPress Excerpt Seo Tips

Wordpress blogs have duplicate content issues, and one of them is allowing reading the same content on both the posts, index page, archives and categories pages. To avoid search engine penalty it is important to optimize your Wordpress using Wordpress excerpt so that duplication will be avoided.

Instead of duplicating the whole content, you may use just an excerpt in the index, archives and categories pages. The WordPress displays the excerpt of the current post with [...] at the end, which is not a "read more" link. If you do not provide an explicit excerpt to a post (in the post editor's optional excerpt field), the first 55 words of the post's content are used.

To use Wordpress excerpt function, you may replace the_content() tag with the_excerpt() when on archive (tested by is_archive()) and category (is_category()) pages and index (is_home()) page in WordPress themes.

Now that you are in the correct section, locate the following piece of code:

<div class="entry">
<?php the_content('Read the rest of this entry &raquo;'); ?>

You are going to replace that entire piece of code with the following:

<div class="entry">
 <?php if(is_category() || is_archive() || is_home() ) {
 } else {
  the_content('Read the rest of this entry &raquo;');
 } ?>

Of course, this example uses the WordPress default template, but the same code can be used on most any template if you find the index.php or main index page and the spot where <?php the_content(); ?> is in the code.


  1. I know I've seen a ton of posts about duplicate content and the penalty applied by Big G but isn't it ok if the duplicate content is on your own site? I thought their penalty applied to duplicate content found on other sites (like would be the case with scraping a site for content)? Tell me if I'm wrong.

  2. saerch engine optimizationJune 21, 2008 at 4:44 AM

    There is one thing I would like to clear up first before sharing those tips with you. Many webmasters and Internet marketers alike often complain about been unable to drive traffic to their site.This is understandable because without traffic, your site will not make money.

  3. Thanks man, this is exactly what I was looking for. I was looking all over for some option in my wp interface. Didn't know it was a function I actually had to implement myself.

  4. i just set up a wp website
    that is very useful informtion to me
    thx a lot!