Hi guys,
I hope you can help me with this annoying and frustrating problem. I am using Yoast Seo Plugin for some time now with the template and I realised that the no index subpages of archives is not working (see screen 1 and 2) and google is indexing all my variations of the first page (/page1, /page2, etc.). More than that webmaster tools started to alert me that I have duplicate titles and descriptions. (see screen 3)
Have you guys had this problem before? Is there anything I can do about it?
As always, your help is very much appreciated. Thanks.



View the source of your pages to see if the no index tag is actually there; also be aware google may still index pages anyway.
Use Yoast to set different titles and descriptions for all your sub index pages (see the Yoast SEO help for how to do that). This is actually one of the purposes of Yoast, to generate unique titles and descriptions for all the month, day, year, page 3,4,5, indexes.
-
This reply was modified 11 years by
simchris.
Hello guys,
If someone comes across this issue you can fix it by adding the following code at the end of the functions.php in your theme folder(default: /wp-content/themes/Newspaper). This code works only for Yoast SEO!
/** Add Page Number to Title and Meta Description for SEO **/
if ( ! function_exists( 'multipage_metadesc' ) ){
function multipage_metadesc( $s ){
global $page;
$paged = get_query_var( 'paged' ) ? get_query_var( 'paged' ) : 1;
! empty ( $page ) && 1 < $page && $paged = $page;
$paged > 1 && $s .= ' - ' . sprintf( __( '<strong>Page</strong> %s' ), $paged );
return $s;
}
add_filter( 'wpseo_metadesc', 'multipage_metadesc', 100, 1 );
}
if ( ! function_exists( 'multipage_title' ) ){
function multipage_title( $title ){
global $page;
$paged = get_query_var( 'paged' ) ? get_query_var( 'paged' ) : 1;
! empty ( $page ) && 1 < $page && $paged = $page;
$paged > 1 && $title .= ' - ' . sprintf( __( '<strong>Page</strong> %s' ), $paged );
return $title;
}
add_filter( 'wpseo_title', 'multipage_title', 100, 1 );
}
The bold text can be changed to your heart desire, like part 1. More details here:
multipage-wordpress-seo/
You can also simply use the control panel in Yoast, which allows you to insert the page number, site name, category name, short description with page number, etc., dynamically …
this is done as follows by example (for those who can’t read the docs) — and you don’t need to edit your functions.php file each update
under > SEO > Titles & Metas > Taxonimies
e.g., for categories
Title
%%term_title%% Archives %%page%% %%sep%% Name of my Awesome Magazine site
Description
%%term_title%% Archives %%page%% %%sep%% My Awesome Magazine | Read cool stuff on our magazine related to %%term_title%% on mysite.com
You can adjust that using the various code examples provided by Yoast for their plugin.