• Resolved pako69

    (@pako69)


    Hi

    This page https://www.notilus.fr/actualites/ display blog posts with Elementor.

    At the bottom of the first 10 posts there is a button “Afficher +” that load in the same page with Ajax the next 10 posts.

    In the source code, the Elementor widget that display the posts add this :

    <a class="page-numbers" href="https://www.notilus.fr/actualites/page/2/">2</a>
    <a class="page-numbers" href="https://www.notilus.fr/actualites/page/3/">3</a>

    Paginated pages like https://www.notilus.fr/actualites/page/2/ or https://www.notilus.fr/actualites/page/1/ are never seen by the user but are crawled by search engine bots.

    The issue is, if you look at the source code of the paginated page https://www.notilus.fr/actualites/page/1/ and look for for the canonical link you will see that it stay to <link rel="canonical" href="https://www.notilus.fr/actualites/" /> and that’s wrong.

    A you said here https://yoast.com/pagination-seo-best-practices/ :
    Google is very clear now: each page within a paginated series should canonicalize to itself, so /page/2/ has a canonical pointing to /page/2/.

    How can Yoast can deal with that?

    Thanks

    • This topic was modified 4 years, 8 months ago by pako69.
    • This topic was modified 4 years, 8 months ago by pako69.
    • This topic was modified 4 years, 8 months ago by pako69.
    • This topic was modified 4 years, 8 months ago by pako69.
Viewing 2 replies - 1 through 2 (of 2 total)
  • 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. In these cases, custom code may need to be written by a developer to pass information between our plugin and the plugin or theme creating the pagination.

    Please reach out to the developer of the plugin or theme in question to request information on being compatible with our plugin. Alternatively, you or your developer can use the wpseo_canonical, wpseo_prev_rel_link, and wpseo_next_rel_link filters to customize these tags. Some example code snippets can be found here and here.

    Plugin Support Jerlyn

    (@jerparx)

    Closed. No further questions.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Wrong canonical for paginated pages using Ajax’ is closed to new replies.