• Hi!

    The issue is: static front page AMP url redirects to original one.
    Using this AMP plugin

    Polylang settings are:
    – The language is set from the directory name in pretty permalinks
    – Hide URL language information for default language
    – Remove /language/ in pretty permalinks
    – The front page url contains the language code instead of the page name or page id

    Seems this issue still didn’t solved despite @westonruter already suggested a solution.
    I’ve used to hotfix each update, but now the integration system is changed and this solution not working anymore.

    Original thread with AMP plugin developers.
    Also there is already a solution that was commited to the repo. I’ve tried to ping someone on the thread, but it didn’t work.

    I’ve already tried to create an integration using no-category-base as an example.
    Also added it to autoload_classmap.php and autoload_static.php
    But nothing works. (You can download files I’ve trying to make it work from previous version to the new one).

    Please, pay attention to this issue.
    Thanks.

    • This topic was modified 4 years, 2 months ago by Nikita_Sp. Reason: files link added
  • The topic ‘Redirection for AMP static front page’ is closed to new replies.