• Resolved bokowski

    (@bokowski)


    I have two different WooCommerce shop pages using Yoast SEO. On one of them, it displays everything correctly:<link rel=”canonical” href=”https://example.com/shop/page/2/&#8221; class=”yoast-seo-meta-tag” /><link rel=”prev” href=”https://example.com/shop/&#8221; class=”yoast-seo-meta-tag” /><link rel=”next” href=”https://example.com/shop/page/3/&#8221; class=”yoast-seo-meta-tag” />

    <main class=”relative h-full w-full flex-1 overflow-auto transition-width”>
    <article class=”w-full scroll-mb-[var(–thread-trailing-height,150px)] text-token-text-primary focus-visible:outline-2 focus-visible:outline-offset-[-4px]” dir=”auto” data-testid=”conversation-turn-33″ data-scroll-anchor=”true”>

    But on another shop page, it only shows:<link rel="canonical" class="yoast-seo-meta-tag" />when I’m on https://www.example2.com/shop/?product-page=2.

    I want it to behave like the first shop page, but without including page/2 in the canonical URL. How can I achieve this using Yoast SEO and WooCommerce?

    </article>
    </main>

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Support Maybellyne

    (@maybellyne)

    Hello @bokowski

    Thanks for reaching out.

    That’s the expected behavior in both examples. The content aren’t the same. For instance, https://www.example2.com/shop/?product-page=2 is a URL parameter and the standard practice is to have the canonical URL set to the main URL of the product.

    Plugin Support Jose Varghese

    (@josevarghese)

    This thread was marked resolved due to a lack of recent activity. The original poster can change the status to Not Resolved to re-open the issue or open a new topic.

    If you are not the original poster but have a similar issue, please open a new topic.

Viewing 2 replies - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.