Adding page numbers to category, tag and post titles

Add this snippet to the title tag and meta descriptions to avoid duplicate content. Place within the header.php and Page 2 or above will be added to your wordpress pages.



if ( $paged < 2 ) { } else { echo (‘ Page ‘); echo ($paged);}

Be Sociable, Share!

Leave a comment