Rel canonical not displayed by default

#1062972
  • Resolved Grzegorz
    Rank Math free

    Hello Support,

    I idenfified a problem with my website link rel=”canonical” is not displayed anywere. I tried to disable all snippets but that didn`t help.
    Any idea how to display it by default ? I`m using Woocomerce Flatsome theme with latest versions.

    My understading is that rel=”canonical” should be displayed for all products and categories. At the moment I`m getting a lot of https://domain.pl/produkt/produtc-name/?add-to-cart=1937 which harm my SEO
    The rel-canoical should point to https://domain.pl/produkt/produtc-name/ instead of above.

    Please help

Viewing 5 replies - 1 through 5 (of 5 total)
  • Hello,

    We apologize for the issue you are facing with the canonical tags on your website. It sounds like you’re experiencing a common problem where the canonical URL is not being displayed correctly for your WooCommerce products.

    By default, Rank Math automatically adds canonical URLs to most of your pages, including product pages. However, if you are not seeing them, here are a few steps you can take to troubleshoot and resolve the issue:

    1. Check Rank Math Settings: Ensure that the SEO controls are enabled for your products. You can do this by navigating to Rank Math → Titles & Meta and confirming that the settings for WooCommerce are properly configured.

    2. Manually Set Canonical URLs: If necessary, you can manually set the canonical URL for each product. To do this, go to the product edit page, scroll down to the Rank Math SEO Meta box, and navigate to Advanced → Canonical URL. Here, you can specify the correct canonical URL for that product.
      Rank Math meta box Advanced tab

    3. Permalink Settings: Check your permalink settings in WordPress. Go to Settings → Permalinks and ensure that they are set correctly. Sometimes, incorrect permalink settings can lead to issues with canonical URLs.

    4. Theme Compatibility: Since you are using the Flatsome theme, ensure that it is compatible with Rank Math. Sometimes, themes may have their own SEO settings that could conflict with Rank Math.

    5. Clear Cache: If you are using any caching plugins, clear the cache after making changes to ensure that the latest version of your site is being served.

    If after trying these steps you still do not see the canonical tags, we recommend replying to this ticket with your website URL so that a human agent from our support team can assist you further.

    Thank you for raising this concern, and we hope to help you resolve it soon!

    Sources:
    How Rank Math Prevents Duplicate Content Issues in a WooCommerce Store » Rank Math
    Why Did My Website Disappear From Google Search? » Rank Math

    Hello

    The problem I have is following – I noticed that rel canonical is properly displayed at product level
    when there is following address:
    https://domain.pl/produkt/product-name/
    but my website generate that URLs as well – I already set noindex / nofollow to them however I would like to add rel canonical for all those ?add-to-cart to point the product itself
    https://domain.pl/produkt/product-name/?add-to-cart=1937

    any workaround you may see here ?

    Hello,

    Thank you for reaching out to our support page and bringing your concern to our attention.

    It seems that you already marked this ticket as “Resolved”. Do you still need our assistance regarding this issue?

    Looking forward to helping you.

    Thank you.

    Hi Jeremy I managed to find a fix tnx

    Hello,

    Glad that everything has been sorted out.

    Please feel free to reach out to us again in case you need any other assistance.

    We are here to help.

    Thank you.

Viewing 5 replies - 1 through 5 (of 5 total)

You must be logged in to reply to this ticket.