Hello,
Thank you for contacting Rank Math and bringing your concern to our attention. I’m sorry for any inconvenience this issue may have caused you.
I’ve checked your site and the affected URL you shared, but I’m unable to see a duplicate canonical in their source code. They are also already showing on the Google search results page.
If a URL is on Google, there is technically no reason for it to not be included in Bing, unless Bing has some reason to not index a page like DMCA, copyright content, nulled content, copied content, etc.
In this case, you can contact Bing to know the exact reason as from checking the page’s source code, there are no apparent issues. Please also ask for any affected URLs to further check your site.
You could also try various site audit tools to check if there is an issue with your website.
I hope that helps.
Thank you, and please don’t hesitate to contact us anytime if you need further assistance.
Thank you for your reply!
Forget about bing. I have mailed bing and they reply me that “your website is in bing’s spam list” so, this is not rankmath related issue.
Sorry, the blog post URL has one canonical URL right now, just the Home page has 2 canonical URLs. And both are the same URLs. There are no different canonical URLs but there are duplicate means the same canonical URLs.
Does this cause any issue if the home page has two same canonical URLs? and how to fix this.
Hello,
Thank you for the update.
I’ve checked your homepage, and indeed you have 2 canonical URLs.
To fix this, assuming you are using the latest version of all the plugins and the themes (please update if not yet), it would seem like a conflict with one of the plugins or the theme you are using.
To determine that, please follow this troubleshooting guide:
https://rankmath.com/kb/check-plugin-conflicts/
Only the site admin would know and your users won’t be affected by this troubleshooting.
Let us know if you have found the culprit.
Looking forward to helping you.
Thank you.
I put in a separate ticket so I would not walk on yours but I too am having issues at https://a2ztechfix.com
I wonder if this is an issue with the FREE edition?
Hello @Mathew,
I already responded to your ticket and I also checked your pages and it seems they have no multiple canonical. Please reach out to bing and see if they can provide you a deeper explanation of why your site is not indexed.
Looking forward to helping you with this one.
I am using a newspaper theme and there is a plugin named as tagDiv composer and without that plugin, my theme doesn’t work.
My website has a custom home page created with tagDiv composer and it might be adding an additional canonical tag to my home page. there is no option to remove the canonical tag generated by the tagDiv composer.
So I have to remove the canonical tag generated by rank math from only the home page, not from other pages.
So how do I remove the canonical tag generated by rank math from the home page only? I don’t want to remove the canonical tag generated by rank math from my other pages.
Please give me a solution. Thank you.
Hello,
Thanks for getting back.
Please copy the code given below and paste it into your theme’s/child theme’s functions.php file:
add_filter( 'rank_math/frontend/canonical', function( $canonical ) {
if ( is_front_page() ) {
$canonical = false;
}
return $canonical;
});
This will remove the canonical URL added by Rank Math from your homepage.
Hope this helps. Let us know if you need any further assistance.
Script added. I’ll see what happens.
Hello,
Thank you for keeping in touch with us.
Please let us know how it goes. We will keep this ticket open for you.
Looking forward to helping you with this one. Thank you.
didnt help. all pages crawled were error!
Hello @Mathew,
Thanks for contacting us.
The code didn’t work for you because it is for removing the canonical URL added by Rank Math. As my colleague has already mentioned that he has checked your site and your pages don’t have duplicate canonical URLs, you don’t need to use this code.
And please use the ticket you created for any other questions regarding your issue. My colleague has also replied to your ticket, please check that and proceed accordingly.
We really look forward to helping you.
Thank you @jaidipasarani
I have added the code provided by you and now my home page has only one canonical tag. Doest this causes any issue related to crawling or any other issue?
Hello,
Thank you for the follow-up.
I’ve checked your homepage, and it is already showing only one canonical tag. If you have duplicate canonical URLs, Google will ignore both of them. So you shouldn’t have any issues in crawling or other audits.
Here’s a link for more information:
https://developers.google.com/search/blog/2013/04/5-common-mistakes-with-relcanonical#mistake-3:-unintended-or-multiple-declarations-of-rel=canonical
I hope that helps.
Thank you, and please don’t hesitate to contact us anytime if you need further assistance with anything else.
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.