Added AMP Redirection Code To Rank Math htcaccess

#402874
  • Resolved Luke
    Rank Math free

    Now my site is unreachable with a 500 Internal server error. Please help me in resolving this!

Viewing 4 replies - 1 through 4 (of 4 total)
  • Luke
    Rank Math free

    https:www.startupstreamer.com
    This is the code I added to my Rank Math Htcaccess file:

    // Redirect AMP to non-AMP
    RewriteEngine On
    RewriteCond %{REQUEST_URI} (.+)/amp(.*)$
    RewriteRule ^ %1/ [R=301,L]

    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.

    I’ve checked your site, but it seems to be working fine. Also, your /amp URLs are already redirecting to non-amp. Could you please confirm if you have already managed to fix the issue?

    Meanwhile, please clear your website and browser’s cache for troubleshooting steps.

    Looking forward to helping you.

    Thank you.

    Luke
    Rank Math free

    You can notice massive layout shifts on page loads while navigating the site. I have cleared the cache many times. If I inspect my sites code using google dev tools I see a message that says powered by AMP on all pages.

    Hello,

    We might need to take a closer look at the settings. Please edit the first post on this ticket and include your WordPress & FTP logins in the designated Sensitive Data section.

    Please do take a complete backup of your website before sharing the information with us.
    Sensitive Data Section

    It is completely secure and only our support staff has access to that section. If you want, you can use the below plugin to generate a temporary login URL to your website and share that with us instead:

    https://wordpress.org/plugins/temporary-login-without-password/

    You can use the above plugin in conjunction with the WP Security Audit Log to monitor what changes our staff might make on your website (if any):

    https://wordpress.org/plugins/wp-security-audit-log/

    We really look forward to helping 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 4 replies - 1 through 4 (of 4 total)

The ticket ‘Added AMP Redirection Code To Rank Math htcaccess’ is closed to new replies.