Title: Problems with AMP pages
Last modified: June 4, 2017

---

# Problems with AMP pages

 *  [tunridacraft](https://wordpress.org/support/users/tunridacraft/)
 * (@tunridacraft)
 * [9 years ago](https://wordpress.org/support/topic/problems-with-amp-pages/)
 * Hi!
 * I’m using starbox on one of my pages and when I set up AMP (have a lot of mobile
   users) I got warnings from Google Search Console about AMP-errors.
    Apparently
   Starbox injects code at the top of the page, before the HEAD-tag. See example
   at the end of this post. I use AMP by Automattic and AMP for WP.
 * Thanks in advance!
 * /Peter
 * Example from Google AMP-test:
    <link rel=’stylesheet’ id=’frontend.css-css’ href
   =’[https://www.prepperse.se/wp-content/plugins/starbox//themes/fancy/css/frontend.css?ver=3.0.6&#8242](https://www.prepperse.se/wp-content/plugins/starbox//themes/fancy/css/frontend.css?ver=3.0.6&#8242);
   type=’text/css’ media=’all’ /> <script type=’text/javascript’ src=’[https://www.prepperse.se/wp-includes/js/jquery/jquery.js?ver=1.12.4′></script&gt](https://www.prepperse.se/wp-includes/js/jquery/jquery.js?ver=1.12.4′></script&gt);
   <script type=’text/javascript’ src=’[https://www.prepperse.se/wp-includes/js/jquery/jquery-migrate.min.js?ver=1.4.1′></script&gt](https://www.prepperse.se/wp-includes/js/jquery/jquery-migrate.min.js?ver=1.4.1′></script&gt);
   <script type=’text/javascript’ src=’[https://www.prepperse.se/wp-content/plugins/starbox//themes/fancy/js/frontend.js?ver=3.0.6′></script&gt](https://www.prepperse.se/wp-content/plugins/starbox//themes/fancy/js/frontend.js?ver=3.0.6′></script&gt);
   <!doctype html> <html amp lang=”sv-SE”> <head> <meta charset=”utf-8″> <link rel
   =”dns-prefetch” href=”[https://cdn.ampproject.org”&gt](https://cdn.ampproject.org”&gt);

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

 *  [tjcinsf](https://wordpress.org/support/users/tjcinsf/)
 * (@tjcinsf)
 * [8 years, 11 months ago](https://wordpress.org/support/topic/problems-with-amp-pages/#post-9306773)
 * I have the exact same problem — on AMP pages, the Starbox plugin inserts code
   above the doctype, causing Google Search Console errors.
 * Any ideas how to fix this? Or even how to turn off Starbox on AMP pages?
 *  [morgao](https://wordpress.org/support/users/redb68/)
 * (@redb68)
 * [8 years, 9 months ago](https://wordpress.org/support/topic/problems-with-amp-pages/#post-9488390)
 * SAme here. EMERGENCY !

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

The topic ‘Problems with AMP pages’ is closed to new replies.

 * ![](https://ps.w.org/starbox/assets/icon-256x256.png?rev=1974206)
 * [Starbox - the Author Box for Humans](https://wordpress.org/plugins/starbox/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/starbox/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/starbox/)
 * [Active Topics](https://wordpress.org/support/plugin/starbox/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/starbox/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/starbox/reviews/)

 * 2 replies
 * 3 participants
 * Last reply from: [morgao](https://wordpress.org/support/users/redb68/)
 * Last activity: [8 years, 9 months ago](https://wordpress.org/support/topic/problems-with-amp-pages/#post-9488390)
 * Status: not resolved