DISCLAIMER: this post is older than one year and may not be up to date with latest WordPress version.

Introduced in WordPress 2.7, paged comments are great, especially when you have lots of comments. Thought, if your <title> tag isn’t optimized, your blog could produce some duplicate content, which is bad for SEO. Here’s how to avoid it.

Open your header.php file. Find the </title> tag and paste the following just above:

<?php if ( $cpage < 2 ) {}
else { echo (' - comment page '); echo ($cpage);}

Allright, after you saved the file you can say goodbye to duplicate content!

Credits goes to Malcolm Coles for this awesome recipe!

Leave a Comment

Your email address will not be published. Required fields are marked *