• Resolved jacauc

    (@jacauc)


    I spent half a day now messing about with .htaccess to see if I can figure this out, but with no luck.

    I have now reverted the .htaccess to the default of

    <IfModule mod_rewrite.c>
    RewriteEngine On
    RewriteBase /
    RewriteRule ^index\.php$ - [L]
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteRule . /index.php [L]
    </IfModule>
    

    yet still, I cannot figure out why AMP is behaving this way.
    I have disabled all caching plugins also.

    https://www.latitude31.travel/tours/40-day-tour/?amp
    works fine…

    yet
    https://www.latitude31.travel/tours/40-day-tour/amp
    gives me a 404 page

    Any support would be appreciated

    The page I need help with: [log in to see the link]

Viewing 15 replies - 1 through 15 (of 24 total)
  • Hey, I had the same issue until I resaved the permalink structure in WordPress

    Thread Starter jacauc

    (@jacauc)

    Oh, I forgot to mention that… I have done that probably 50 times already. No change in behaviour

    We are having the same issue and we’ve low about 2,000 clicks in the last 7 days from the previous. Some of our /amp URLs work just fine and others do not. I can’t find any pattern between the ones that don’t and the ones that do. Also, we’ve resaved our permalink structure and that didn’t do anything. HELP!

    Thread Starter jacauc

    (@jacauc)

    doesn’t seem like quite the same issue, as my /?amp pages all work, while /amp pages does not work

    You are right, thanks for clarifying. I read your original post incorrectly :).

    Plugin Author Weston Ruter

    (@westonruter)

    @rbeckstead Please share an example URL that works and another that doesn’t work.

    @westonruter,
    See links below. Also, the frameworks of the page templates are all the same, the plugin is updated to 0.3.2, and the non-amp versions of the non-working /amp URLs are displaying content. We do have the AMP Analytics (by Valet) on our site but that hasn’t been an issue in the past and doesn’t seem to be affecting our working /amp pages.

    AMP pages that work:
    Link 1
    Link 2
    Link 3
    Link 4

    AMP pages that do NOT:
    Link 1
    Link 2
    Link 3
    Link 4

    Plugin Author Weston Ruter

    (@westonruter)

    @rbeckstead You first need to try updating AMP plugin to the latest version. It’s currently at v0.6.

    Thread Starter jacauc

    (@jacauc)

    @westonruter
    Have you seen the issue I described before? All my /?amp pages are fine, but not /amp
    Is this something that I can fix with htaccess?

    Plugin Author Weston Ruter

    (@westonruter)

    @jacauc There shouldn’t be any need for htaccess at all. I am not sure why the /amp endpoint is not working. If you flushed permalinks and it still isn’t fixed, then my best guess is there is a plugin conflict.

    That’s embarrassing… our main developer went through and updated our plugins a week ago, he must have missed that one. Does your plugin notify users when there’s a new version available? There is not an update notice on it as we have with other plugins. I will try this and let you know if we still have any issues. Thank you for being so responsive!

    Plugin Author Weston Ruter

    (@westonruter)

    WordPress should be notifying of updates to the AMP plugin on the update screen just like it does for any other plugin you install from www.ads-software.com

    Thread Starter jacauc

    (@jacauc)

    @westonruter

    I have tried to disable all other plugins to test, but still no luck. Any idea where I can start to troubleshoot?

    I have the exact same problem, pages are only working with /?amp !

    Is it possible that being in php7 can be the problem?

    Plugin Author Weston Ruter

    (@westonruter)

    @jacauc If I look at one of the pages that works <https://www.collegeatlas.org/college-majors.html/amp&gt; I don’t a generator tag in the source.

    In fact, I don’t see the AMP plugin installed at all: https://www.collegeatlas.org/wp-content/plugins/amp/amp.php

    That is returning a 404 when it should instead be indicating the file is present. I don’t think you even have the AMP plugin installed.

    @ulissse What is the URL for a page that is not working? I don’t see why php7 would be a problem at all.

Viewing 15 replies - 1 through 15 (of 24 total)
  • The topic ‘?amp pages work, but not /amp/ pages’ is closed to new replies.