Is Grammarly messing up your websites HTML? If you are using AMP (Accelerated Mobile Pages) and Grammarly, you may have some issues with Grammarly messing up HTML and rendering it invalid for AMP… and Invalid AMP pages will not have AMP-specific features in Google search results.

I’m a big fan of Grammarly, but something I noticed in Google Site Search may mean I may have to go back to not so gooder grammar… or take extra time clearing out all the suggested typos and/or grammar corrections that Grammarly auto-suggests. (Most likely will be the latter.)

Or maybe there is a setting somewhere to stop this from happening and I don’t know about it, but in either case, if you are using AMP websites and Grammarly, you may want to check this out.

I noticed there was a warning on one of my AMP pages for “Prohibited or Invalid use of HTML“.

Critical Issue with AMP and Grammarly

Not a valid AMP page

After running a test on that page I discovered that it was caused by Grammarly.

When using Grammarly, Grammarly will auto-discover any spelling and grammar mistakes and underline them. With a mouseover, it will suggest any corrections.

Grammarly Mouseover

Above Image: Sample of Grammarly underlining typos and grammar suggestions

And here lies the problem. Sometime you may type something and it gives you a suggestion, but you may not change it. If you do nothing and leave it underlined, after you post your article, it is going to do some strange stuff to your HTML code that triggers AMP to make it invalid.

Grammarly Code Error in HTML Code

So, this typo, that may not even be a typo is flagged from Google – Even typing Google+ is going to cause an error because ‘Google+‘ is recognized as an error by Grammarly.

Grammarly HTML Code Error

After going back and removing the errors that Grammarly detected and resaving the article, I then went back to Google Site Search and submitted it for review and it cleared fine!

Valid AMP Page

All this means is when I go back to edit an existing article or when I post a new one, now I need to clear out all the error messages. What really sucks about that, is every time you save and refresh before your post, those errors show back up again, and that makes it a real pain in the behind.

So there ya go, if you are using Grammarly, be sure to correct all the suggested errors or else your HTML or be left with Grammarly messing up HTML on your website rendering it invalid HTML by AMP.

Tweet this Post           Tweet this Post!
About the Author: SEO Alien

Hi! Welcome to the SEO-Alien! Glad to be Found!


Pin It on Pinterest