Fixing Canonical tag appearing twice on an AMP page
RankMath is gaining popularity for WordPress SEO plugins. Looks like direct competition to Yoast.
I thought to give a try, and all went well except the issue which I noticed when Google indexed my new post.
Do you see the message – Your page has AMP implementation errors. ?
I was curious to find what it is and how to fix so went to Google AMP inspect tool and enter the URL manually and got the issue details.
As you can see, the issue is with a canonical tag appearing twice.
Are you in the same situation as I was? No worries, you can fix it as I did.
- Go to AMP >> Settings >> SEO
- Select SEO plugin like Rank Math SEO
- Ensure Canonical from Rank Math is selected (green)
- Save changes
Let’s verify, go to the Google AMP inspection tool and enter the URL to test the URL. And, as you can see – it’s fixed!
I hope it helps you to keep the AMP pages error-free.
More great readings on WordPress
Build Internal Links With Top 10 WordPress PluginsRahul Lakhwani on September 22, 2022
15 Best WordPress Themes that Support Infinite Scroll on Single PostHitesh Sant on September 6, 2022
9 Best Managed AWS WordPress Hosting Solutions AvailableChandan Kumar on August 9, 2022
14 WordPress Form Builders to Add to Your Websites in MinutesBipasha Nath on September 1, 2022
11 Dos & Don’ts While Choosing a Right WordPress ThemeTanish Chowdhary on September 5, 2022
How to Move Content from Google Docs to WordPress EditorTanish Chowdhary on September 27, 2022
The more you learn, the better you become.
Every week we share trending articles and tools in our newsletter. More than 10,000 people enjoy reading, and you will love it too.