AMP is not working due to Rankmath

Viewing 15 replies - 1 through 15 (of 17 total)
  • Hello,

    I have updated the sensitive data as requested. Can you please check further?

    Thank you.


    Thank you for contacting Rank Math and sorry for any inconvenience that might have been caused due to that.

    Would you mind letting us know the AMP plugin that you are currently using so that we can test this out further from our end?

    Looking forward to helping you. Thank you.


    Hi I am using AMP for WP – Accelerated Mobile Pages for WordPress for my website

    Don’t know what’s wrong but it also happens to me after updating Rank math on yesterday night.
    I’m also using amp for wp plugin.
    So to view this issue in detail i had enabled wp debug to true and found this.

    Warning: Use of undefined constant REQUEST_URI – assumed ‘REQUEST_URI’ (this will throw an Error in a future version of PHP) in /home/infoetc/public_html/wp-content/themes/INFOETC/functions.php on line 73

    Fatal error: Uncaught Error: Call to undefined function RankMath\Redirections\amp_is_canonical() in /home/infoetc/public_html/wp-content/plugins/seo-by-rank-math/includes/modules/redirections/class-redirector.php:399 Stack trace: #0 /home/infoetc/public_html/wp-content/plugins/seo-by-rank-math/includes/modules/redirections/class-redirector.php(95): RankMath\Redirections\Redirector->is_amp_endpoint() #1 /home/infoetc/public_html/wp-content/plugins/seo-by-rank-math/includes/modules/redirections/class-redirector.php(74): RankMath\Redirections\Redirector->start() #2 /home/infoetc/public_html/wp-content/plugins/seo-by-rank-math/includes/modules/redirections/class-redirections.php(67): RankMath\Redirections\Redirector->__construct() #3 /home/infoetc/public_html/wp-includes/class-wp-hook.php(286): RankMath\Redirections\Redirections->do_redirection(Object(WP)) #4 /home/infoetc/public_html/wp-includes/class-wp-hook.php(310): WP_Hook->apply_filters(NULL, Array) #5 /home/infoetc/public_html/wp-includes/plugin.php(531): WP_Hook->do_a in /home/infoetc/public_html/wp-content/plugins/seo-by-rank-math/includes/modules/redirections/class-redirector.php on line 399
    The site is experiencing technical difficulties.

    The theme function issue is remaining from the time when I had started my website and it causes nothing to my website. But rank math has issues.
    Please fix it.
    Thanks & Regards,

    Image screenshot link

    I have also done some trouble shooting steps & found that if I disable rank math issue gone. If enable again issue is back.

    Same Problem here.

    Same here disabled Rank and all good.

    If problem is not solved by today i will go with yoast

    Dont rush him let him fix the problem..

    Hello all,

    Extremely sorry for the issue you guys are facing.

    We have found the issue and a quick update will follow within an hour.

    We seek your patience and understanding in this matter.

    In the meantime, if there’s anything else we can help you with, please let us know.

    Thank you.

    Thank you for your instant reply and support. We understand your efforts but SEO Plugins are just made for Traffic and I cannot deal any compromise with my traffic.
    Hope your Update will help me.
    Thanks once again.

    Yes, the AMP is not working for me too. When I deactivated the RankMath, it was working fine. Hope you will release the update today. Have a great day. 🙂

    Hello all,

    I just found a temporary solution. The AMP for WP users must install the addon “Plugin manager”. The download link is After installing it, go to “Select plugins to Disable only in AMP.” There you can disable the “SEO by RankMath” plugin in AMP. Temporarily you can run the AMP version. So, there is no need to disable and delete the Rankmath plugin. Hope it helps. Meanwhile RankMath team may think of new update. Thanks.

    I have no wards to say thanks
    MyThemeShop really great. Really you never sleep. This issue was reported just only 15 hours ago, and within 24 hours you have solved.
    Really good, really really good
    Thanks for giving us the pro wordpress seo plugin “RankMath” for free. 😘😘😘
    Thanks & regards,

    Tip to new poster-Please update your Rankmath plugin. Because the issue is now resolved and new update is already released.

    Now support team may close this ticket.
    Thanks & Regards,

Viewing 15 replies - 1 through 15 (of 17 total)

The ticket ‘AMP is not working due to Rankmath’ is closed to new replies.