How can we help?

If you are looking for support for our PokaTheme, this is the place!

Home Forums PokaTheme support AMP

This topic contains 9 replies, has 2 voices, and was last updated by  admin 2 months ago.

Viewing 10 posts - 1 through 10 (of 10 total)
  • Author
    Posts
  • #6044

    A Ward
    Participant

    Hi, we have added the AMP plugin and also set the setting to use AMP in the theme option but nothing happens? Is more needed to get it to work?

    Thanks

    #6046

    admin
    Keymaster

    Hi!

    No, you just have to install the plugin and enable the option “Enable AMP pages in the theme” in the theme.
    After that in each review if you add the /amp or ?amp you should see the AMP version of this page.
    For example: https://demos.pokatheme.com/pokatheme/review/betfair/amp/

    #6056

    A Ward
    Participant

    Had already done that. I cleared the cache and did a test using – https://search.google.com/test/amp

    It said there was an AMP page now, so I tested that page and it has said

    Page cannot be reached
    This could be because the page is unavailable or blocked by robots.txt

    #6099

    admin
    Keymaster

    Hi!

    Do you see the AMP version by adding the /amp to the end of the URL or not?
    If the problem is only the error in Google test tool then probably you should check the provided error about the robots.txt

    #6102

    A Ward
    Participant

    No even with the plugin and settings set, the AMP version does not show

    #6108

    admin
    Keymaster

    Can you please send me a link from your site?
    Also a wp-admin account would help.

    Please mark your post as private.

    #6110

    A Ward
    Participant
    This reply has been marked as private.
    #6133

    admin
    Keymaster

    Hi!

    I checked your site and the issue is that the AMP plugin is incompatible with Remove CPT base.
    If you disable the “Remove CPT base” you’ll see that AMP pages work just fine.

    Maybe in a future version of AMP plugin something changes with the permalinks and how are working but I can’t be sure if it is going to be fixed.

    #6135

    A Ward
    Participant

    Hi, oh no that is not good. So you cna only use AMP if you dont use the CPT plugin and have to use a /review/ or similar URL? That is not very good on existing sites that already have URLs already set up

    #6153

    admin
    Keymaster

    I know but removing the CPT slug from the URL is basically a hack, because WordPress needs this structure in the permalinks and doing this usually creates other issues like this one.
    So also the AMP official plugin follows the official guidelines about the permalinks and is causing this conflict.

Viewing 10 posts - 1 through 10 (of 10 total)

You must be logged in to reply to this topic.