• Resolved synthubert

    (@synthubert)


    Hello,

    I recently created custom post types on my WordPress site.

    But my Search Console is telling me this: “The page is not indexed : Duplicate page: Google did not choose the same canonical URL as the user”.

    It fills in a canonical URL declared by the user: https://dematerialisation-doc.com/?post_type=ressources

    and a canonical URL selected by Google: https://dematerialisation-doc.com/ressources/

    I’d like to have the URL without the ?post_type= declared in both cases.

    But I can’t declare it in my Rank Math tool.

    These post archives are laid out in Elementor templates. And there’s no setting for Rank Math in them.

    The page I need help with: [log in to see the link]

Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘custom post type and canonical url’ is closed to new replies.