Title: Error
Last modified: October 28, 2019

---

# Error

 *  Resolved [alfrapper](https://wordpress.org/support/users/alfrapper/)
 * (@alfrapper)
 * [6 years, 10 months ago](https://wordpress.org/support/topic/error-1266/)
 * Hey guys, I have the AMP plugin enabled on my website, [https://duttonlaw.ca](https://duttonlaw.ca)
   and forever I never had an issue, but last few days I’m getting this error on
   Google search console: “Tag found outside the document head which is only allowed
   as a direct child of the document head.”
 * I can’t seem to get it fixed.
 * I wonder if you have any advice.
 * Thanks!
    -  This topic was modified 6 years, 10 months ago by [alfrapper](https://wordpress.org/support/users/alfrapper/).
    -  This topic was modified 6 years, 10 months ago by [alfrapper](https://wordpress.org/support/users/alfrapper/).
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Ferror-1266%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

Viewing 5 replies - 1 through 5 (of 5 total)

 *  [James Osborne](https://wordpress.org/support/users/jamesosborne/)
 * (@jamesosborne)
 * [6 years, 10 months ago](https://wordpress.org/support/topic/error-1266/#post-12072976)
 * [@alfrapper](https://wordpress.org/support/users/alfrapper/) Can you share an
   example of any AMP URL on your site and I can hopefully assist? I can’t locate
   any at present from the content I checked.
 *  Thread Starter [alfrapper](https://wordpress.org/support/users/alfrapper/)
 * (@alfrapper)
 * [6 years, 10 months ago](https://wordpress.org/support/topic/error-1266/#post-12073335)
 * Thanks very much, here is an example:
 * [https://duttonlaw.ca/word-probation-enough-oust-right-common-law-reasonable-notice/amp/](https://duttonlaw.ca/word-probation-enough-oust-right-common-law-reasonable-notice/amp/)
 *  [James Osborne](https://wordpress.org/support/users/jamesosborne/)
 * (@jamesosborne)
 * [6 years, 10 months ago](https://wordpress.org/support/topic/error-1266/#post-12075404)
 * Can you temporarily disable the “Simple Author Box” plugin you have active and
   see if the error appears?
 * You can use the plugins validation tool or else the Chrome [AMP Validator](https://chrome.google.com/webstore/detail/amp-validator/nmoffdblmcmgeicmolmhobpoocbbmknc?hl=en)
   extension to check validation, as opposed to Search Console.
 *  Thread Starter [alfrapper](https://wordpress.org/support/users/alfrapper/)
 * (@alfrapper)
 * [6 years, 10 months ago](https://wordpress.org/support/topic/error-1266/#post-12077390)
 * Its not the Simple Author Box. I tested it.
 * It might be the “Facebook easy share” plugin, that I have now deleted.
 * However, the biggest problem I am facing is that the AMP Validator says there
   are no issues, but the Google Search Console says there is an issue: “Tag found
   outside the document head which is only allowed as a direct child of the document
   head”.
 * Also, when I enter my posts from google on mobile, it isn’t displaying amp, but
   regular. I want it to show amp. It used to show amp, but not in the last week.
 * Thanks.
 *  [James Osborne](https://wordpress.org/support/users/jamesosborne/)
 * (@jamesosborne)
 * [6 years, 10 months ago](https://wordpress.org/support/topic/error-1266/#post-12077492)
 * [@alfrapper](https://wordpress.org/support/users/alfrapper/) Thats good to know,
   I will check the plugin you mentioned myself. In relation to the Search Console
   issue the results may be stale, but you can always request a recrawl, or submit
   the topic the [Search Console Community](https://support.google.com/webmasters/community?hl=en).
 * For accessing the `amp` version of your posts on mobile visitors most likely 
   arrive on the amp version via organic searches. If there is a valid AMP version
   available that version will be the one referenced by search engines. Also news
   aggregators and apps serve the `amp` version of content where possible. 
    To 
   access the amp posts directly and test on mobile you can add /amp to the end 
   of any of your posts. 

Viewing 5 replies - 1 through 5 (of 5 total)

The topic ‘Error’ is closed to new replies.

 * ![](https://ps.w.org/amp/assets/icon.svg?rev=2527602)
 * [AMP](https://wordpress.org/plugins/amp/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/amp/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/amp/)
 * [Active Topics](https://wordpress.org/support/plugin/amp/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/amp/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/amp/reviews/)

 * 5 replies
 * 2 participants
 * Last reply from: [James Osborne](https://wordpress.org/support/users/jamesosborne/)
 * Last activity: [6 years, 10 months ago](https://wordpress.org/support/topic/error-1266/#post-12077492)
 * Status: resolved