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′ 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>
<script type=’text/javascript’ src=’https://www.prepperse.se/wp-includes/js/jquery/jquery-migrate.min.js?ver=1.4.1′></script>
<script type=’text/javascript’ src=’https://www.prepperse.se/wp-content/plugins/starbox//themes/fancy/js/frontend.js?ver=3.0.6′></script>
<!doctype html>
<html amp lang=”sv-SE”>
<head>
<meta charset=”utf-8″>
<link rel=”dns-prefetch” href=”https://cdn.ampproject.org”>
- The topic ‘Problems with AMP pages’ is closed to new replies.