issue with meta pagination and canonical

#248101
Viewing 3 replies - 1 through 3 (of 3 total)
  • Hello,

    Thanks for contacting us. Sorry for the delay and any inconvenience that might have been caused due to that.

    You can’t edit the paginated pages and add meta data there as those pages are generated dynamically and not actually present in your site’s dashboard.

    And I checked the attribute that you have mentioned and it has the correct canonical URL:

    Please clear the cache of your site and check again.

    Hope this helps. Let us know if you need any further assistance.

    why can’t I? There is no such possibility?
    we wrote earlier that you can add the tag %%page%% and it will be ok. Why is there no separate template for pagination pages?

    the canonical tag does not correctly indicate, it also depends on which filter we are on (I have a premmerce filter plugin)

    Hello,

    We don’t have a way to edit the meta details of pagination pages in Rank Math. Those metatags are automatically generated by the plugin.

    Regarding the issue with the canonical on Premmerce filter pages, you’ll need to get in touch with their team and ask for a condition that can be used in PHP to check for the pages from their plugin.

    After doing that you can edit the following filter to set those pages with a self canonical:

    
    add_filter( 'rank_math/frontend/canonical', function( $canonical ) {
        if ( is_premmerce_filter_page() ) {
            return get_main_page_url();
        } // Please change the code in this condition.
    
        return $canonical;
    });
    

    Hope this helps solve your issues.

    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 3 replies - 1 through 3 (of 3 total)

The ticket ‘issue with meta pagination and canonical’ is closed to new replies.