Combat duplicate content in Wordpress blogs !

Joined
Mar 31, 2008
Messages
630
Reaction score
462
This is about wordpress blogs you host, so you can modify the template.
First: pagination + tags:
/page/2
/page/3
/page/4
.....
/tag/page/2
/tag/page/3
/tag/page/4
.....
open the header.php ;
use this code for title:
<title>
<?php if (is_home() && !is_paged()) {?>
<?php echo bloginfo('description'); ?>
<?php } else {?>
<?php if (is_tag() && !is_paged()) {?>
<?php echo single_tag_title(); echo ' | '; the_title(); ' | YOUR KEYWORDS '; ?>
<?php } else {?>
<?php if ( is_single() ) { ?>
<?php echo the_title(); echo ' | YOUR OTHER KEYWORDS '; ?>
<?php } else {?>
<?php echo ' - ' . the_title(); echo single_tag_title(); global $paged; echo $paged; ?>
<?php }}}?>
</title>
Do the same for the description !
if you like to use the categories, just add them like the tags.


Second
: Why add out going links on every page? if you make some link exchange you will have their links on the pages: /page/2; /page/3; ...
Go to the sidebar, where you have the links and add this:
<?php if (is_home() && !is_paged()) {?>
THE LINKS CODE
<?php } else {?>
LAST 10 POSTS (plugin)
<?php }?>

This code let the SE index all tags pages and don't give more than 1 link per exchange !

This is a bit advanced seo, hope the wordpress geeks to appreciate ;)
 
Back
Top