Canonical | Meta | OG | Schema Clash on Products Pages

  • Hi Todd (or Michael),

    I have been facing an issue whereby the information injected by RankMath on my shop page (view-source: is clashing with the information injected by Ecwid on product pages (eg – view-source:

    I have had another bout of to and fro emails with Ecwid and also Google Webmasters Forum. The concensus is that the RankMath data should not be included on the child products pages since these are separate pages with their own urls and their own content. The Google Webmasters Forum moderators assured me that this type of shop product structure is totally acceptable and very common. They say the problem is coming from the parent page dating being included as per my description above.

    Please can you advise how to prevent RankMath from including data on the child product pages?

Viewing 15 replies - 16 through 30 (of 30 total)
  • Hi Todd, the Ecwid team are currently looking at this to see if integration is possible. I sincerely hope so! If you leave this open I will post the results as I get them (preferably positive ones)

    Hi Michael,

    Good to hear 🙂

    We will keep this thread open.

    Hello Todd and Michael,

    Ecwid have asked me to ask:

    “Can you, please specify with the RankMath support, what they mean by ‘product’ type? Is it a part of the source code or where exactly they see this type? It helps us better understand how the snippet should work.”

    Please could you give some more detail so I can pass it on to them?

    Many thanks.


    Hi Michael,

    Thanks for getting back to us.

    I am not sure how the Ecwid plugin registers the product pages. If this is through a custom post type, then they need to pass this name to the code that I shared earlier.

    If this is not the case, please ask the team to create a conditional check to target the product pages within the wp_head action like so:

    add_action( 'wp_head', function(){
    	//create a conditional here to check for the ECWID product page so that this is not fired on all pages
    		remove_all_actions( 'rank_math/head' );
    		add_action( 'wp_head', '_wp_render_title_tag', 2 );
    }, 1 );

    I hope this info helps.

    Thank you for getting back to me Michael. I will pass that info on to Ecwid. Fingers crossed

    Hi Michael,

    We are always happy to help 🙂

    Hi guys,

    Just to update you – Ecwid have been working on a fix all week. They’ve sent me a plugin update, which I’ve spent the afternoon thoroughly testing. It is much improved, but there are still some issues which I have got back to them with. I am hopeful these issues will be soon resolved, and I will let you know as soon as I do.

    What has been fixed so far – Ecwid products are now included in the RankMath sitemap which is awesome, and duplicate canonicals are gone now too which is also fantastic. The remaining issues are to do with og/meta tags, but I’ve systematically worked through them so it should make it much easier for them to see what is what now to update them.



    Thank you for contacting Rank Math today.

    The sitemap is being generated by the custom product types as added/modified by Ecwid plugin. If you want to exclude them from your sitemap, you can go to Rank math> Sitemap settings select the custom post type(s) and set off for the option of including in sitemap.

    Looking forward to helping you. Thank you.


    Thanks Michael. I’ve updated Ecwid and they continue to work on a fix.

    I’ve just resubmitted the sitemap to GSC and it throws an error for the products. Seems to also add an additional ec-product-sitemap that I couldn’t see in the index.xml?


    Thank you for contacting Rank Math today.

    That is great news, please let us know if you need any other help from our end.

    Looking forward to helping you. Thank you.


    Hi Michael and Todd,

    The Ecwid integration is moving forward, but there are still some glitches. One of them is duplicate sitemaps.

    It appears that this sitemap is being injected by RankMath (takes the same format as per the post and page sitemaps which leads me to believe this ie using CDATA):


    The Ecwid created sitemap is also being picked up (using their format ie not using CDATA):


    Please can you advise how to resolve this?

    Looking forward to getting this working.

    Thanks for your help.


    Hi Michael,

    Sorry for the late reply. This post had gone to the spam due to the use of multiple links.

    If you want, you can disable the ECwid sitemap generated by Rank Math from WordPress Dashboard > Rank Math > Sitemap Settings.

    If you wish to keep the Rank Math sitemap and disable the ECWid one, I am sure they will have an option for that. Please do check with them.

    Hi Todd, I have checked with Ecwid, and they said the sitemaps are from RankMath:

    As I see from the link:, you have sitemaps for your site and for Ecwid store generated by RankMath plugin. I’d recommend you to figure this logic by discussing this question with RankMath support and I assume they will suggest removing one of the sitemaps as they contain the same links.

    Turning off the product sitemap option within RankMath removes both sitemaps, which does imply that this is related to RankMath, and also doesn’t help since I am then left with no product sitemap. Please can you assist since this will be of benefit not only to myself but to anyone who uses Ecwid and RankMath (of which I am sure there will be many).

    Hi Michael,

    I have responded to your other ticket with the same query.


    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 15 replies - 16 through 30 (of 30 total)

The ticket ‘Canonical | Meta | OG | Schema Clash on Products Pages’ is closed to new replies.