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.
Michael.
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.
Michael.
Hello,
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?
https://www.dropbox.com/s/uajowpgndwqabg6/ecwid-sitemap-could-not-fetch.jpg?dl=0
Hello,
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):
view-source:https://reclaimdesign.org/ec-product-sitemap.xml
The Ecwid created sitemap is also being picked up (using their format ie not using CDATA):
view-source:https://reclaimdesign.org/ecwid-sitemap.xml
Please can you advise how to resolve this?
Looking forward to getting this working.
Thanks for your help.
Michael.
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: https://reclaimdesign.org/sitemap_index.xml, 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.
Hello,
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.