• Resolved John Doyle

    (@yourwebpros)


    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 to see the link]

Viewing 8 replies - 1 through 8 (of 8 total)
  • Hi @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 plugin, which adds an additional layer of AMP compatibility for Elementor and several other plugins.

    Thread Starter John Doyle

    (@yourwebpros)

    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/
    After getting it to pass the AMP test, I moved it to the Live URL, 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

    (@yourwebpros)

    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

    (@yourwebpros)

    I have had to reset the AMP as it seems to enable and disable by itself. Am I doing soemthing wrong?

    Hi @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

    (@yourwebpros)

    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/services/

    What am I doing wrong?

    Hi @yourwebpros,

    I have checked your website, for example, the contact page 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.

    As we didn’t receive a response I’ll mark this as resolved. Feel free to open a new support topic 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.