Woocommerce page 1 / page 2 / page 3... Argh :)

Pierre Merlin

Junior Member
Joined
May 15, 2019
Messages
106
Reaction score
59
Hello, for our store we use Woocommerce and manually customize every and each snippet for products, category, blog, pages, etc.

The problem comes with categories - if a category has more than one page the SEO is duplicated for each page raising flags.

Is it important to have different SEO for each category page?
Is there a way to customize the SEO (title, description, url) for each page? Couldn't find a plugin.

Thank you!
 
I have the same issue. I was thinking about blocking crawls to these pages but not 100% sure yet
 
Hello,

If u are using yoast seo to change catefgory title, descr etc.

U can easly add code to functions.php in your theme folder:

if ( ! function_exists( 't5_add_page_number' ) )
{
function t5_add_page_number( $s )
{
global $page;
$paged = get_query_var( 'paged' ) ? get_query_var( 'paged' ) : 1;
! empty ( $page ) && 1 < $page && $paged = $page;
$paged > 1 && $s .= ' | ' . sprintf( __( 'Page: %s' ), $paged );
return $s;
}
add_filter( 'wpseo_title', 't5_add_page_number', 100, 1 );
add_filter( 'wpseo_metadesc', 't5_add_page_number', 100, 1 );
}

If u want to add page number in your title

or just no index pagination by code:

function techtage_subpage_fix() {
if(is_paged()) echo '<meta name="robots" content="noindex,follow"/>';}
add_action('wp_head', 'techtage_subpage_fix');
 
Back
Top