Amp not directing as per you article

#444251
  • Resolved James Alexander
    Rank Math free

    Hi, I have followed your article and my old (I mean very old AMP pages) are not redirecting to non AMP see here;

    https://jimmtech.com/tag/laptops-tips/?amp

    Note, it has been sometime since I used AMP. But for some reason I am getting loads of AMP pages showing up in Google index since I moved from Yoast to Rank Math.

    I used the followed before in my HTACCESS file and all worked fine before
    RewriteEngine On
    RewriteCond %{REQUEST_URI} (.+)/amp(.*)$
    RewriteRule ^ %1/ [R=301,L]

Viewing 1 replies (of 1 total)
  • Hello,

    Thank you for contacting Rank Math and bringing your concern to our attention. I’m sorry for any inconvenience this issue may have caused you.

    If you’ve configured your website to use the query parameter ?amp for AMP pages and disabled the AMP plugin on your website, then no redirection is required. Here’s a link for more information:
    https://rankmath.com/kb/redirect-all-amp-pages-to-non-amp-pages/

    In this case, if Google still crawls your AMP URLs, you can add this rule in your robots.txt:
    Disallow: */?amp

    You can check this link on how to edit your robots.txt using Rank Math:
    https://rankmath.com/kb/how-to-edit-robots-txt-with-rank-math/

    Once done, give Google some time to recrawl your website.

    I hope that helps.

    Thank you.

    Hello,

    Since we did not hear back from you for 15 days, we are assuming that you found the solution. We are closing this support ticket.

    If you still need assistance or any other help, please feel free to open a new support ticket, and we will be more than happy to assist.

    Thank you.

Viewing 1 replies (of 1 total)

The ticket ‘Amp not directing as per you article’ is closed to new replies.