• Resolved gatehealing

    (@gatehealing)


    I’ve installed the pluging just fine, and I can see the AMP when I add /?amp to my domain. However, in the Google Search Console > Search Appearance > Accelerated Mobile Pages I get the message: We did not find any Accelerated Mobile Pages in your site.

    I know it’s there. Does it take time for Google to be able to see it, or could I have a problem with my CDN (CloudFlare) or any other plugins like Autoptimize, Yoast SEO etc?

    Thanks y’all
    Jon

Viewing 15 replies - 1 through 15 (of 28 total)
  • It takes a little time. In the meantime check the validation. This Google Chrome Extension shows validation status. Make sure you have the rel=”amphtml” markup in the main site page source.

    Thread Starter gatehealing

    (@gatehealing)

    Hey thanks M Asif Rahman! would I just do that rel=”amphtml” markup in the head section under Site Appearance > Custom CSS page > Custom Scripts </head> section? Or just go to the Text editor (vs visual editor) of my homepage and insert that rel=”amphtml” tag there?

    I’m using the plugin to create the AMP, so I’m not sure if the plugin should add that tag, or if I need to add it.

    Apologies for newbie questions. Thanks a bunch!
    Jon

    This plugin does that automatically. Just go to your normal home page, look at your source, and search for “amphtml”, check if you have that configured. And don’t forget to check your validation.

    Thread Starter gatehealing

    (@gatehealing)

    I get a blue lightening bolt in Chrome with that addon. So that looks good, then I checked source code and found <link rel=”amphtml” href=”https://gatehealing.com/?amp&#8221; /> in there, so I’m guessing that’s ok unless the /?amp isn’t familiar to Google (I hadn’t seen the ? in front of it before).

    Unless there’s an issue with the code above, I think I’ll see it be up to date in the next couple of weeks (though fingers crossed for sooner).

    Thanks for the help and the resources!
    Jon

    Plugin Author Mohammed Kaludi

    (@mohammed_kaludi)

    @gatehealing Hey Jon,
    I understand your concern, but actually Google doesn’t care if it is /?amp or any random number. It has to detect the rel code from the source. I assure you that it is fine and should not have any problem.

    I’m glad we could help.

    Thread Starter gatehealing

    (@gatehealing)

    Thanks Mohammed Kaludi,

    When I use this Google AMP validation tool (different from the detection tool) https://validator.ampproject.org/#url=https%3A%2F%2Fgatehealing.com , I am getting a LOT of errors, and therefore Failed Validation. When I use the /?amp , I only get 3 errors, but I am thinking that the rel=”amphtml” should help the validation tool see the /?amp ?

    The errors are visible by following that link. I think there are about 60+ errors, but I cannot imagine it’s anything other than a setting someplace that I’ve missed.

    I’m using Yoast SEO, CloudFlare CDN, Autoptimize plugins as well.

    Will it not work with my setup, or is there anything I can do to resolve errors thrown?

    Jon

    You have to test your amp version in amp validator, not your normal homepage.

    So, test ‘https://gatehealing.com/?amp&#8217;.

    And I looked at your 3 errors. 2 of those errors basically coming from Google Analytics link/click tracking js code being injected in your content automatically. Look what plugin is doing that. Rest one error is having the ‘border’ attribute in amp-img tag. I think this error will be address in next update, as it’s been known error, and reported before.

    Thread Starter gatehealing

    (@gatehealing)

    So I just did the plugin update and I have now gone from 3 errors when testing https://gatehealing.com/?amp, to over 50+ errors testing https://gatehealing.com/?amp

    It made sense to test /?amp, so I felt much better with 3 errors, one of which hoped I hope might get fixed in this update, and the other 2 easy enough to find by disabling plugins 1 by one . . . but now I’m getting errors as if there is no AMP at all.

    Could the update have reset something that I need to change in my CDN, or something like that? I have purged Caches, cleared browsing history, etc.

    Thanks for any help! I was SO close!! ARG! ??

    Jon

    Plugin Author Mohammed Kaludi

    (@mohammed_kaludi)

    Hey @gatehealing

    Don’t worry. We will get you to 0 errors ??

    I have tried checking the site, but I don’t see the AMP version activated on the site. How can I help?

    Save the permalink setting from “Settings” again. You do not have AMP enabled now. And now make sure you have other “AMP” plugin active as well, otherwise this plugin will not work individually.

    Plugin Author Ahmed Kaludi

    (@ahmedkaludi)

    Hey @gatehealing

    I think the plugin is not activate on the site. If so, then please activate it so that we can debug and fix it for you.

    Thread Starter gatehealing

    (@gatehealing)

    It shows up as active in my plugins list. . .this only became an issue after I did the update. I will try the re-save Permalinks to see if that fixes the glitch.

    But I have triple checked (even before I posted here after the update) that it was Activated (perhaps the Permalink thing re-sets something . . .not sure).

    Thanks y’all.
    Jon

    Thread Starter gatehealing

    (@gatehealing)

    Ok, I have re-saved Permalinks, then tried clearing caches and browsing history, then re-saving Permalinks again, then re-validating, with the same impact: looks like it’s not activated. So I double and triple checked that it is active, even deactivated it, re-activated it, etc etc. and here is a copy/paste of plugin page:
    “Accelerated Mobile Pages
    Deactivate | Edit
    Accelerated Mobile Pages for WordPress
    Version 0.8 | By Ahmed Kaludi, Mohammed Kaludi | View details”

    So the fact that there is a “deactivate” link indicates that it is currently activated.

    I’m still getting the errors though, and when I navigate to https://gatehealing.com/?amp, it is no longer giving me that AMP page, but instead just my normal page. Since this happened immediately after updating the plugin, I am wondering if perhaps there is something going on with the update itself (it was working fine when I navigated to /?amp before the update, and the validation tool was only showing the 3 errors when testing /?amp before the update).

    Do I need to go into the plugin code and tweak anything?

    Thanks for the help y’all
    Jon

    You need to now install and activate “AMP” plugin by Automattic as well. Installing version 0.8.0 should prompt you into that as well.

    Check if you have that installed.

    Example – AMP Active

    Thread Starter gatehealing

    (@gatehealing)

    There was no prompt upon upgrading this plugin to install another plugin, but I’ll add it and see.

Viewing 15 replies - 1 through 15 (of 28 total)
  • The topic ‘Google Search console > Google Accelerated Mobile Pages not detecting AMP’ is closed to new replies.