Noindex Paginated Pages – Canonical

#208570
  • Resolved Adam
    Rank Math free

    Hi Guys,

    I found another thread asking similar, but I’ve noticed if “Noindex Paginated Pages”, the canonical / next and previous tags are removed.

    On the other thread you mentioned something like this :

    add_filter( 'rank_math/frontend/canonical', function( $canonical ) {
    if ( is_paged() ) {
    return get_term_link();
    }

    return $canonical;
    });

    To add the canonical, but doesnt seem to be working.

    Ideally id like to have Noindex Paginated pages, with next / previous elements as the pages are still followed even if they are no-indexed. Then the canonical set to the First page of the series in both WP categories and Woocommerce categories.

    Any help would be great

Viewing 1 replies (of 1 total)
  • Hello,

    Thank you for contacting Rank Math today.

    We only add the canonical to pages that are set to index, if you have enabled the option to noindex the paginated pages the canonical won’t show up on those pages even if you try to set it manually via the filter.

    Hope this helps clarify your doubts.

    Don’t hesitate to get in touch if you have any other questions.​

    Hello,

    Since we did not hear back from you for 15 days, we are assuming that you found the solution. We are closing this support ticket.

    If you still need assistance or any other help, please feel free to open a new support ticket, and we will be more than happy to assist.

    Thank you.

Viewing 1 replies (of 1 total)

The ticket ‘Noindex Paginated Pages – Canonical’ is closed to new replies.