• Hey,

    So I am having problems with accessing the ‘/amp/” pages, particularly in that they just redirect to the original link, without loading the AMP page.

    I also use the Pagefrog plugin for styling purposes, and originally thought it was their plugin, which partly it is, but it also seems to be due to this plugin.

    So I took my site down for a bit to check out differences in permalinks, I changed my permalink to post date and then tried AMP with both Pagefrog and the Automatic AMP plugin, that still resulted in a redirect to the original page.

    However, after disabling Pagefrog I was able to access Automatic’s AMP page, so it seems the problem, at least for me is a mix of permalinks and something to do with Pagefrog.

    Our current Permalink structure is:

    /%category%/%post_id%/%postname%/

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

Viewing 4 replies - 1 through 4 (of 4 total)
  • Having the same issue with /%category%/%postname%/ custom permalink structure. Setting to just /%postname%/ works just fine and /amp/ page is rendered. Any suggestions?

    Ahh, my fault – seems that re-saving Permalink Settings partially fixed the problem for me. Site is hosted on a windows server so also had to apply a small fix outlined here:

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

    Thread Starter Nicholas Griffin

    (@thetechnuttyuk)

    Yeah that doesn’t work for me, still won’t load with the “/amp/” URL, will just redirect.

    It will load for the “/?amp” URL, however the plugin already adds the “/amp/” canonical which means that Google will be looking for those URLs.

    I also use a Linux server.

    Same issue here with Permalink structure.

    I have two sites.

      On both sites the /amp url is workng for posts.
      On the first site the ?amp URL is working for pages and custom post types.
      On the second one ?amp URL is not working for pages and custom post types.

    /amp is not working on both of the websites for pages and custom post types.

    I have enabled this with add_post_type_support( ‘custom_post_type’, AMP_QUERY_VAR );

    Permalinks are flushed.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Permalink problems’ is closed to new replies.