Google AMP (Accelerated Mobile Pages) helps you to make your website faster and more compatible across different browsers and devices. Most of the time it works silently, however, it may need your interruption for certain issues. “Disallowed tag present” is one of those issues.
Once the Google Search Console detects this issue, you will receive the email below. Click “Fix AMP issues” button to go to your dashboard and view error details.
New AMP issue detected for site
Search Console has identified that your site is affected by 1 new AMP related issue. This means that AMP may be negatively affected in Google Search results. We encourage you to fix this issue.
New issue found: Disallowed tag present.
In your Search Console dashboard, the issue looks like the screenshot below. Click the page name to see which tag caused this issue.
Fix “Disallowed tag present” issue
As the error message states, this issues occurs when there is an unsupported tag in your page. Therefore, the obvious fix is that removing this tag. For more information about this error message, check the AMP Project’s website.
In my case, the tag caused this error was
approute. I placed this tag into my page as a code example. However, the text block got broken so the browser tried to render this code. Once I fixed the block, the issue disappeared.
Note: You should click “Validate Fix” button in the Search Console once you fix the issue. So that Search Console can recheck the page and mark it as AMP compatible. Validation may take hours or days. Make sure to check Search Console later if it is taking a long time.
Seeing “Error in required structured data element” issue? Check this post out.