Viewing 14 replies - 1 through 14 (of 14 total)
  • Looks like we’re having this issue on new site setup with under 100 posts, and using the latest WP, PRO version of SEO plugin + news seo addon. (This is sub news setup section on larger static site where we have an install in folder as /news/ ).

    Not seeing the page number in either title or description meta on page 2, when we have 50 per page. Temporarily I set it to 100, since we’re still in that zone.

    Still testing this for possible plugin conflict. Have not yet looked on github to see if this reported issue or not.

    Thread Starter Kalusha

    (@kalusha)

    Thank you for your answer but I don´t know what I can do!?!?

    In my Google Webmastertools I have many duplicate Titles and Meta description.

    Any Idea what I can do???

    Thank you

    Well..
    if you have PRO version of plugin > do support ticket to Yoast.

    If you don’t – try disabling other plugins to see if issue persists.

    Check Github bugtrac for the plugin to see if reported as bug which means likely fixed next update pending.

    Just follow up, turns out our issue with the page numbers not working on some indexes was a conflict with another plugin with typo in the function added to wp-config.php.

    For the home page 1,2,3,4 issue with blog post style, using static page for home, the solution was to use the %%pagenumber%% element vs %%page%% in the snippet editor for Yoast box on static page. (DOH. lack of documentation on this issue not great …)

    So, for us – our issue is resolved.

    If you’re having issue with pagination, likely plugin conflict.

    Thread Starter Kalusha

    (@kalusha)

    Thank you very much…

    I don´t have a pro Version…

    I have tried it with %%pagenumber%% but it doesn´t work.

    I will tomorrow try to disable some plugins and try it again.

    Thanks a lot

    Hi @kalusha!
    Hope Your are fine. Did you solve your problem about page number in the title?
    If not then I can help you.

    Thank you.

    Hello I have exactly the same issue, I’m using yoast, I need to add it on every paginated pages, including homepage and taxonomy.
    I’m using custom meta tags, I tried to add the tag %%page%% directly to custom meta tags, but it’s not working.

    @mshakeel, can you help me with that?

    I found the fix for meta description, but not for titles..

    Here is the fix for meta description (function.php):

    ————————————————————————————–

    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_metadesc’, ‘t5_add_page_number’, 100, 1 );
    }

    ————————————————————————————–

    My theme is using: add_theme_support( ‘title-tag’ );

    Please help.

    @mshakeel can you help me with that please?

    I had a problem with duplicate Browser Titles for ../page/1/, ../page/2/, ../page/3/ of my blog.

    I fixed my issue by going to Titles and Metas > Homepage tab

    Enter %%sitename%% %%page%% in ‘Title template:’

    Save Changes.

    Page 2 and onward will appear like this in the Title.

    ‘Name of your blog – Page 2 of ‘

    I had previously been trying to do this under the Titles and Metas > ‘Post Type’s tab.

    Hope this helps.

    • This reply was modified 8 years, 9 months ago by dpan72.

    Not working on pages, including home page, even tried to add the tag %%page%% directly on custom meta title, it’s just not working. I mean WTF?

    Plugin Support amboutwe

    (@amboutwe)

    Our plugin utilizes the built-in WordPress core functions to recognize pagination. Some plugins and theme developers have modified or created their own method of adding pagination. Does the issue occur when using a default theme with only Yoast SEO active?

    add_theme_support( ‘title-tag’ );

    Mm, that line is blanked out in my functions.php file.

    I’m using a variation of the twentyeleven theme.

    No, I didn’t try default theme with only yoast active, but finally I found the fix in this guide: https://edward-designer.com/web/multipage-wordpress-seo/

    Thank you everyone for taking the time! 🙂

    Thread Starter Kalusha

    (@kalusha)

    OK, that works also for me.

    But can I deactivate canonical for this pages. I must deactivate canonical for bbpress Forum Sites.
    I have try it with this but id donß´t work:

    function bpfr_wpseo_canonical_exclude( $canonical ) {
    global $bp;
    if ( function_exists( ‘buddypress’) && ( buddypress()->displayed_user->id || buddypress()->current_component ) ) {
    $canonical = false;
    }
    return $canonical;
    }
    add_filter( ‘wpseo_canonical’, ‘bpfr_wpseo_canonical_exclude’ );

    I must deactivate canonical because the canonical url is always without “page”, the first Site.

    You can see it here https://www.dxf-downloads.de/forums/topic/geo-dateien/page/2/ for example

    • This reply was modified 8 years, 9 months ago by Kalusha.
Viewing 14 replies - 1 through 14 (of 14 total)

The topic ‘Page Numbers in titles and meta description’ is closed to new replies.