AMP Validation WordPress Error Resolution Guide
AMP – “Accelerated Mobile pages” are the very important factor now a days for website or web page because increase in mobile devices usage increased tremendously. AMP Validation WordPress error resolution we are going to see for below errors. Use AMP for mobile application in WordPress site.
AMP Validation WordPress Error Resolution Guide
Whenever you see below errors in google search console your website is unable to resolve AMP validation errors, what you have to do.?
Error1 Wrong parent tag 'body' of javascript tag 'amp-sidebar extension .js script' Error2 The mandatory tag 'noscript enclosure for boilerplate' is missing or incorrect. Error3 The mandatory tag 'head > style[amp-boilerplate]' is missing or incorrect. Error4 Wrong parent HTML tag 'body' of tag 'style amp-custom' Error5 Wrong parent tag 'body' of javascript tag 'amp-ad extension .js script' Error6 The tag 'BODY' appears more than once in the document. Error7 Tag or text which is only allowed inside the body section found outside of the body section. Error8 Wrong parent tag 'body' of javascript tag 'amp-consent extension .js script' Error9 Wrong parent tag 'body' of javascript tag 'amp-form extension .js script' Error10 Wrong parent tag 'body' of javascript tag 'amp-geo extension .js script'
AMP Validator Results
Error11 Wrong parent tag 'body' of javascript tag 'amp-social-share extension .js script' Error12 Wrong parent HTML tag 'body' of tag 'link rel=canonical' Error13 Wrong parent tag 'body' of javascript tag 'amp-facebook-comments extension .js script' Error14 Wrong parent tag 'body' of javascript tag 'amp-facebook-like extension .js script' Error15 Wrong parent tag 'body' of javascript tag 'amp-user-notification extension .js script' Error16 The tag 'head > style[amp-boilerplate]' is missing or incorrect, but required by 'noscript > style[amp-boilerplate]'. Error17 Wrong parent tag 'body' of javascript tag 'amp-analytics extension .js script' Error18 Wrong parent tag 'body' of javascript tag 'amp-accordion extension .js script' Error19 Wrong parent tag 'body' of javascript tag 'amp-sidebar extension .js script' Error20 Wrong parent tag 'body' of javascript tag 'amphtml engine v.js script' Error21 The tag 'noscript > style[amp-boilerplate]' may only appear as a descendant of tag 'head'. Error22 Wrong parent tag 'body' of javascript tag 'amp-youtube extension .js script' Error23 The tag 'amp-facebook-comments' requires including the 'amp-facebook-comments' extension JavaScript. Error24 Wrong parent tag 'body' of javascript tag 'amp-iframe extension .js script' Error25 Wrong parent tag 'body' of javascript tag 'amp-video extension .js script' Error26 Wrong parent tag 'body' of javascript tag 'amp-vimeo extension .js script' Error27 Wrong parent tag 'body' of javascript tag 'amp-anim extension .js script' Error28 Invalid URL protocol for AMP attribute 'src' in tag 'amp-video > source' Error29 Server error (xx) Error30 Referenced AMP URL is not an AMP
Solution for AMP Validation
Simple go to WordPress Plugins >> Add New >> Search “AMP for WordPress” and install the plugin.
Note: This AMP plugin do not have any settings to do it will automatically do it for you.
Manually download from here
After accelerated mobile pages plugin in WordPress my issue got resolved. Choose the right plugin to configure don’t confuse with other plugin names which looks similar but your issue wont resolve.
Related Articles
Change multiple users password with single command
Rotate Logs and save Server disk space
Thanks for your wonderful Support and Encouragement