no index paginated single pages not working

#997407
  • Resolved D Erick
    Rank Math free

    Hi, I noticed that Google is indexing all of my post’s comments pages. I turned on the “no index paginated single pages” setting in Rank Math, but I checked the page in the Rank Math SEO analyzer and no index is not present, so the setting didn’t work. Can you please help me make this work?

    Here is an example of a comments page I’m trying to get de-indexed:
    https://www.dachshundstation.com/dachshund-favorite-person/comment-page-2/

    Thank you very much for your help.

Viewing 5 replies - 1 through 5 (of 5 total)
  • Hello,

    We apologize for the issue you are facing with the "Noindex Paginated Single Pages" setting in Rank Math. It seems that despite enabling the option, Google is still indexing your paginated comment pages.

    To troubleshoot this issue, please ensure that you have followed these steps:

    1. Go to WordPress Dashboard → Rank Math SEO → Titles & Meta → Misc. Pages.
    2. Confirm that the Noindex Paginated Single Pages option is enabled.

    If the setting is correctly enabled and you are still experiencing issues, it may take some time for Google to reflect these changes in their index. Additionally, you can use the Instant Indexing feature in Rank Math to expedite the process:

    • Enable the Instant Indexing module by navigating to WordPress Dashboard → Rank Math SEO.
    • On the Posts page, hover over the post you wish to index and select the Instant Indexing: Submit Page option.

    You can also check your page’s index status within your WordPress dashboard by navigating to Rank Math SEO → Analytics → Index Status.

    If you have confirmed that everything is set up correctly and the issue persists, please reply to this ticket with any additional details or screenshots, and a human agent from our support team will assist you further.

    Thank you for bringing this to our attention!

    Sources:
    How to NoIndex Paginated Pages » Rank Math
    Rank Math ‘Titles and Meta’ Options and Settings

    D Erick
    Rank Math free

    Ok, I Enabled the Instant Indexing module and selected the Instant Indexing option on the page: “https://www.dachshundstation.com/dachshund-favorite-person/”
    I checked the comments page example: https://www.dachshundstation.com/dachshund-favorite-person/comment-page-2/
    in the Rank Math SEO analyzer, and it is still set to ‘index’. I would like it to be set to ‘no index’. I understand this may take time, but to see if it worked, how long should I wait to see if it is working?

    Hello,

    The paginated pages are being generated dynamically on your site and apply to the comment section only; that’s why our option to noindex them is not working.

    In this case, you can add this filter on your site to set those paginated comments to noindex:

    add_filter( 'rank_math/frontend/robots', function( $robots ) {
    $url = home_url( $_SERVER['REQUEST_URI'] );
    if( (strpos($url,'comment-page-') !== false) ) {
    $robots['index'] = 'noindex';
    }
    return $robots;
    });

    Here’s a guide you can follow to apply that:
    https://rankmath.com/kb/wordpress-hooks-actions-filters/

    Once done, you can check the noindex meta robots in those paginated URLs within the source code.

    Hope that helps.

    Thank you, I’ll try this.

    That worked, thank you for your help.

Viewing 5 replies - 1 through 5 (of 5 total)

You must be logged in to reply to this ticket.