Title: Amp Test fail
Last modified: April 11, 2022

---

# Amp Test fail

 *  Resolved [John Doyle](https://wordpress.org/support/users/yourwebpros/)
 * (@yourwebpros)
 * [4 years, 2 months ago](https://wordpress.org/support/topic/amp-test-fail/)
 * Hi, my website used to be amp enabled and working on most pages, it now gives
   this error when trying to test;
 * Not an AMP page
    The URL is not an AMP page, nor does it link to an AMP page.
 * I am using WordPress with AMP and Neve theme…
 * ID = ampwp-7fcd9f4a-8b8e-5180-90a9-549b9c40a411
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Famp-test-fail%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

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

 *  [Fellyph Cintra](https://wordpress.org/support/users/fellyph/)
 * (@fellyph)
 * [4 years, 2 months ago](https://wordpress.org/support/topic/amp-test-fail/#post-15548280)
 * Hi [@yourwebpros](https://wordpress.org/support/users/yourwebpros/),
 * Thanks for contacting us; your website is using the standard mode, the amp version
   will be your default URL, and you won’t have a paired version of your website.
 * About the test, could you try re-saving your site’s permalinks by visiting
    Dashboard-
   > Settings -> Permalinks -> click “Save”
 * I saw that your website has elementor, it is not fully compatible with AMP. You
   can try using the [AMP Enhancer](https://wordpress.org/plugins/amp-enhancer/)
   plugin, which adds an additional layer of AMP compatibility for Elementor and
   several other plugins.
 *  Thread Starter [John Doyle](https://wordpress.org/support/users/yourwebpros/)
 * (@yourwebpros)
 * [4 years, 2 months ago](https://wordpress.org/support/topic/amp-test-fail/#post-15558357)
 * Hi Fellyph,
    I want to thank you for your help.
 * I tried to take a step back and created a staging environment temp site; [http://johnd155.sg-host.com/](http://johnd155.sg-host.com/)
   
   After getting it to pass the AMP test, I moved it to the Live URL, [https://www.yourwebpros.net](https://www.yourwebpros.net),
   and it fails to pass the AMP test again.
 * I am using Siteground hosting and am worndering if the SG Optimizer might be 
   causing issues.
    When I go to test the AMP for the site, I get the follwoing 
   error; The mandatory attribute ‘amp-custom’ is missing in tag ‘style amp-custom’.
 *  Thread Starter [John Doyle](https://wordpress.org/support/users/yourwebpros/)
 * (@yourwebpros)
 * [4 years, 2 months ago](https://wordpress.org/support/topic/amp-test-fail/#post-15558368)
 * I turned off Web Fonts Optimization
    With this optimization we’re changing the
   default way to load Google fonts in order to save HTTP requests. In addition 
   to that, all other fonts that your website uses will be properly preloaded so
   browsers take the least possible amount of time to cache and render them.
 * This allowed the site to pass…
 *  Thread Starter [John Doyle](https://wordpress.org/support/users/yourwebpros/)
 * (@yourwebpros)
 * [4 years, 2 months ago](https://wordpress.org/support/topic/amp-test-fail/#post-15558516)
 * I have had to reset the AMP as it seems to enable and disable by itself. Am I
   doing soemthing wrong?
 *  [Fellyph Cintra](https://wordpress.org/support/users/fellyph/)
 * (@fellyph)
 * [4 years, 2 months ago](https://wordpress.org/support/topic/amp-test-fail/#post-15558691)
 * Hi [@yourwebpros](https://wordpress.org/support/users/yourwebpros/),
 * 1. Thank you so much to share about the “SG Optimizer” I will pass to the team.
 * 2. About fonts, The AMP plugin does font optimization, you will just need to 
   set the font display as “optional”. And the plugin will take of it.
 * > I have had to reset the AMP as it seems to enable and disable by itself. Am
   > I doing something wrong?
 * It can be cache, I few tests I was getting the non-AMP version and now looks 
   it is fine.
 *  Thread Starter [John Doyle](https://wordpress.org/support/users/yourwebpros/)
 * (@yourwebpros)
 * [4 years, 2 months ago](https://wordpress.org/support/topic/amp-test-fail/#post-15562127)
 * Hi Fellyph, I hope all finds you well.
    I upgraded to the Pro version to help
   support you guys. I appreciate the good support. I am trying to optimize my site
   for Google, AMP and m,ost importantly the user expereince. I have the AMP enhancer,
   Pro extehnsion manager and try to read and learn how to optimze. I was using 
   WP Rocket for the best Page Spped insights which was very good. AMP did not like
   it so I have pared down the plugins. I am using the Neve theme. I am having issues
   with mobile speed showing 70%. Desktop showing 95%. Mobile is what gives the 
   best results for Google. I still have pages giving errors, even though the enhancer
   should be helping with WP Forms, Elementor and such. [https://yourwebpros.net/contact/](https://yourwebpros.net/contact/)
   [https://yourwebpros.net/services/](https://yourwebpros.net/services/)
 * What am I doing wrong?
 *  [Fellyph Cintra](https://wordpress.org/support/users/fellyph/)
 * (@fellyph)
 * [4 years, 1 month ago](https://wordpress.org/support/topic/amp-test-fail/#post-15587770)
 * Hi [@yourwebpros](https://wordpress.org/support/users/yourwebpros/),
 * I have checked your website, for example, the [contact page](https://pagespeed.web.dev/report?url=https%3A%2F%2Fyourwebpros.net%2Fcontact%2F)
   the score was 41 on my tests, this is a bit low for a website with WPRocket. 
   I’m checking the non-AMP version, once you fix it you will see improvements on
   the AMP side as well.
 * There are a few items that you can improve:
 * 1. first your server response is a bit higher, 1000 ms to deliver the first byte,
   it is already 30% to render your page.
 * 2. The LCP image is the big banner, with more than 2000 pixels, I would do some
   compression on this image and use image formats that are lighter such as webp.
 * 3. Another image on that page is too big for the actual size, more than 400kb
   for an image with 300×500 pixels is a lot, I would do some image optimization
   on it.
 * 4. The images on your pages are not lazy loading I would look for add this on
   those images(AMP plugin already does it)
 * 5. your webfonts are not using display swap or optional, this will be a quick
   win, if you start using it.
 * 6. the rendering for CSS and JS is blocking the first paint I would check the
   features on wprocket to cache and preload those assets(it does not apply to AMP)
 * If you agree I can record a quick review with more information, and publish at
   my channel.
 *  [Fellyph Cintra](https://wordpress.org/support/users/fellyph/)
 * (@fellyph)
 * [4 years, 1 month ago](https://wordpress.org/support/topic/amp-test-fail/#post-15653540)
 * As we didn’t receive a response I’ll mark this as resolved. Feel free to open
   a [new support topic](https://wordpress.org/support/plugin/amp/#new-post) if 
   you require any further assistance.

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

The topic ‘Amp Test fail’ 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/)

 * 8 replies
 * 2 participants
 * Last reply from: [Fellyph Cintra](https://wordpress.org/support/users/fellyph/)
 * Last activity: [4 years, 1 month ago](https://wordpress.org/support/topic/amp-test-fail/#post-15653540)
 * Status: resolved