Unwanted 401 Redirects

  • Resolved Jim

    Hi

    I recently changed themes. In this process there are pages that should now be 404’s, which is fine.

    My problem is that these 404’s are automatically redirecting to various live pages on my site.

    I dont these pages redirecting, as I would just like to leave them as 404’s

    I have always had the Fallback Behavior setting set to – Default 404

    Can you give me some advice please?

    Thanks

    • This topic was modified 7 months ago by Jim.
Viewing 7 replies - 1 through 7 (of 7 total)
  • Hello,

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

    Could you please check if you imported some redirections to your .htaccess file that might still be in effect?

    It would also help if you could try to reproduce this problem when the Rank Math redirection module is disabled.

    Looking forward to helping you. Thank you.

    ​​​​​​​

    Hello,

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

    Thank you.

    Hi Michael

    Thanks for getting back to me.

    I don’t see anything untoward in the htaccess, but I’m not really sure, so I uploaded it here.

    I have switched off the redircetions module and purged my cache (This site uses nitropack) but when I try one of the URL’S that I sent they still don’t 404. They are redirecting.

    Thanks

    Jim

    Hello,

    Thanks for getting back to us.

    We might need to take a closer look at the settings. Please edit the first post on this ticket and include your WP 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.

    Hello,

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

    Thank you.

    Hi Michael

    I have updated the first post.

    Thank You

    Jim

    Hi,

    Thanks a lot for your query and we are so sorry about the trouble this must have caused.

    It doesn’t look like this is added by Rank Math as even when Rank Math is disabled – the redirections are still, well, redirecting.

    It seems like a conflict with one of the plugins or the theme you are using. To determine that, can you please follow this troubleshooting guide?
    https://rankmath.com/kb/check-plugin-conflicts/

    Only the site admin would know and your users won’t be affected by this troubleshooting.

    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 7 replies - 1 through 7 (of 7 total)

The ticket ‘Unwanted 401 Redirects’ is closed to new replies.