Support » Plugin: AMP » /amp/ permalink not working?

  • Hi,

    I am running this plugin, together with PageFrog and Yoast add-on, and I just noticed that /amp/ permalinks are giving me 404 errors now.

    I tried disabling the other AMP plugins and leaving only this one, but with no success.

    Can anyone help me solving this issue?

    Thank you

    https://wordpress.org/plugins/amp/

Viewing 9 replies - 1 through 9 (of 9 total)
  • Try resaving your permalinks.

    Also read through the support threads for topics related to things recently sorted (or almost so) like Windows servers, Cloudflare, WProcket, etc.

    what is your url structure?

    domain.com/?p=123 or smth else?

    I have a custom permalink structure. Anyway, after deactivating/reactivating plugins and permalinks a couple of times I got it to work. Strange, but in the end I got the result.

    Turns out the trick is to
    a) clear transients, like with wp-optimize plugin
    b) resave permalinks

    not documented

    Ok, now it stopped working again and it will work only if I use some standard permalinks structure, mostly it looks like it is the “category” part that sets this plugin off, but I really cannot change my entire URL structure just for this bug.

    This is how my website permalinks are set up:

    /%category%/%year%-%monthnum%-%day%-%postname%.html

    Looks like THIS is the bug:

    https://github.com/Automattic/amp-wp/issues/314

    Still, I do not know why last time just saving some options did the trick.

    Anyway, I am completely at loss here to understand why they just started working again, a couple minutes after deleting this fork of the plugin that I tried in the meantime: https://github.com/Automattic/amp-wp/issues/314 and re-activating the original AMP plugin.

    The /amp post link delays too long to load, around 20 seconds. The official post page opens very quickly. Less than a second.

    Do you know why??

    Thanks!

    I installed the AMP plugin and resave permalink but still it’s not working. Is any other setting need to be done on AMP?

    I keep getting /amp/ not working after other plugins updates or any other random changes to the WP installation. The only workaround seems to be: deactivate then reactivate the plugin again, and clear any caching plugins caches.

Viewing 9 replies - 1 through 9 (of 9 total)
  • The topic ‘/amp/ permalink not working?’ is closed to new replies.