My redirects not working

#193180
  • Resolved Pushkar Agarwal
    Rank Math free

    I recently deactivated amp plugin and tried to 301 redirect my amp pages to normal wp pages, but after entering the redirect code it is not working. Here what I entered in the screen shot

Viewing 13 replies - 1 through 13 (of 13 total)
  • Cris
    Rank Math business

    Hello,

    Thank you for bringing this to our attention and apologies for the inconvenience caused.

    Upon checking, it seems like the redirection isn’t properly configured.
    Please make sure to use this source ^amp/(.*) when setting up a regex.

    Kindly go back to your WordPress dashboard> Rank Math> Redirections> Add new

    Please try to re-add your AMP redirection and use the above source to help configure the redirections.

    Please check and confirm this on your end and let us know how it goes.

    Looking forward to assisting you.

    Cheers.

    Pushkar Agarwal
    Rank Math free

    Still not working

    Ankit
    Rank Math business

    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.
    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.

    Pushkar Agarwal
    Rank Math free

    Okay

    Pushkar Agarwal
    Rank Math free

    Done, please check !

    Hello,

    Thank you for that information.

    Could you please also provide the AMP structure or the affected URL which is not redirecting? I’ve tried checking the /amp, and it’s already being redirected.

    Looking forward to helping you.

    Thank you.

    Pushkar Agarwal
    Rank Math free

    Hello,

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

    Thank you.

    Pushkar Agarwal
    Rank Math free

    I have provided the url in senstive data. Please check

    Hello,

    Thank you for that information.

    I’ve checked that URL, and it is redirecting to your homepage. I’m assuming this is getting an error 404. I’ve attached a screencast in the sensitive data section.

    We wanted to further check this issue, but it seems that the login URL is no longer working. Could you please check and update?

    Looking forward to helping you.

    Thank you.

    Pushkar Agarwal
    Rank Math free

    Okay updating the login url ( done check now )

    Hello,

    Thank you for following up.

    I’ve checked your site, and it seems that even a normal redirection is not working.

    Upon further investigation, it seems that the All 404 Redirect to Homepage plugin is conflicting with Rank Math. I’ve tested using the Health Check plugin with only Rank Math activated, and the redirection works.

    By the way, the correct Source URL for this should be: (.*)/amp

    In this case, you can disable that plugin since Rank Math has already that function where your 404 pages will be redirected to your homepage in Rank Math > General Settings > Redirection: Fallback Behavior
    Fallback Behavior

    I hope that helps. Thank you, and please don’t hesitate to contact us anytime if you need further assistance with anything else.

    Okay my problem solved !

    Hello,

    We are super happy that this resolved your issue. If you have any other questions in the future, know that we are here to help you.

    If you don’t mind me asking, could you please leave us a review (if you haven’t already) on https://wordpress.org/support/plugin/seo-by-rank-math/reviews/#new-post about your overall experience with Rank Math? We appreciate your time and patience.

    If you do have another question in the future, please feel free to create a new forum topic, and it will be our pleasure to assist you again.

    Thank you.

Viewing 13 replies - 1 through 13 (of 13 total)

You must be logged in to reply to this ticket.