WordPress.org

Support

Support » Themes and Templates » Twenty Eleven » Duplicated Content

Duplicated Content

Viewing 5 replies - 1 through 5 (of 5 total)
  • paulwpxp

    @paulwp

    Font hero

    WP has its own rel='canonical' automatically added to the head already.

    Also, there are millions of blogs (websites with single/archive), SE understands this kind of thing, if not, then all the blogs in the world would already get penalized.

    OK thanks for your reply, so I shouldnt worry? I was seen some videos about taking out coding in the scripts but is that not necessary? thanks

    paulwpxp

    @paulwp

    Font hero

    No, it’s not necessary for us to do anything more, WP already added that code in.

    OK thanks, on the blog page it lists the 2 articles on after another – is there a way of just having a summary of the blog on this page, with links to the full article?

    Thanks, Abi

    paulwpxp

    @paulwp

    Font hero

    Whatever template that you use for your /blog ( I suppose it’s a custom page template that display only one category ? ) whatever it is, find this ( actualy code is longer but this is the part that you will notice )

    <div class="entry-content">
    	<?php the_content(); ?>
    	<?php wp_link_pages(); ?>
    </div>

    and replace it with this

    <div class="entry-summary">
    	<?php the_excerpt(); ?>
    </div>

    If you are not using a special page template for your /blog then the file you need to do that replace above is content.php ( if you understand the code, just remove the if else endif and retain only the call to excerpt )

    It should go without saying that all modifications must be done via childtheme only.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Duplicated Content’ is closed to new replies.
Skip to toolbar