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.
Rank Math does not add the “rel=alternate” tag to your site. From your screenshot, the tag is added after Rank Math’s codes inserted in your page’s source code.
To determine which plugin/theme is adding the tag, please follow this troubleshooting guide:
https://rankmath.com/kb/check-plugin-conflicts/
Here is a video you can follow as well: https://www.youtube.com/watch?v=FcIWRhcUP2c
Only the site admin would know and your users won’t be affected by this troubleshooting.
Hope that helps.
Thank you.
Thanks for your quick reply and providing the troubleshooting guides. Unfortunately, in my case the troubleshooting did not work. Let me explain.
First, switching the theme gave error that some failure occurred and if I wanted to force it which I did. But the ting is that since the issue was embedded in the HTML code, I had to keep clearing the cache and then check the source of the home page. Ok so that was probably ok, but I couldn’t tell if the cache was clearing up or not. Anyways, I went ahead and checked the HTML code with twenty twentytwo theme active. To my surprise, now I found 5 instances of rel=”alternate” and I couldn’t tell where these were coming from. With my previous (prior to troubleshooting mode), I only had 2 instances. So, the only thing I can think of it is that they are coming from the theme.
I have no clue why a Theme would add rel=”alternate” without any hreflang tag or anything else. Makes no sense to me and my other sites don’t have this. I will check.
So, if you have any other ideas or guidance, please let me know or you can close this ticket. I will check with Theme provide as well (I am using Astra Pro Theme).
Thanks again and best regards,
Anil
Hello,
The alternate attributes are used to add the links to your feeds and they are not causing any issues with the site audit. The issue is for a hreflang tag and will still be present even if you remove the alternate links.
Can you please confirm which site audit tool you are using? Since you are not using a multilingual setup, you don’t have to add a hreflang tag and can ignore that warning.
Hope that helps. Let us know if you need any other assistance.
Right. The only reason I was focused on rel=”alternate” because I thought that it’s used when specifying hreflang tags and since hreflang missing error is being reported, I thought that the alternate attribute got listed but for some reason/bug, the hreflang is not specified.
I am using SiteGuru audit tool. I need to check if other tools are reporting the same issue or not. I also use Seodity tool for site audit as well, but will need to check if that one is reporting the issue or not.
Still troubling that why the issue would exist if no alternate language has been specified. Could this be related to Elementor setting or something? Although, I couldn’t find anything anywhere in any of my plugins.
Thanks,
Anil
I just checked again and SiteGuru is not showing that issue anymore. I have reached out to them previously and waiting for their reply. I will ask them how come it’s not reporting the issue anymore.
I also checked in my Seodity account and it is reporting the same issue. I will reach out to them and ask them to investigate.
Thank you for all your help and support.
Best,
Anil
Hello,
Glad that we could clarify the situation.
Please feel free to reach out to us again in case you need any other assistance.
We are here to help.
Thank you.