Redirect issue

#1114830
  • Kyle King
    Rank Math free

    I have 903 redirects but there’s a few that aren’t working. I’ve recreated them multiple times, made sure to clear the cache, turned on debugging and am unable to figure it out. I’ve gone through the documentation to see if I’m doing something wrong but everything looks correct.

    I have also checked in other browsers that have never been used to view those pages to make sure it’s not the browser caching

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

    I apologize for the issue you are facing with the redirects. It sounds like you’ve already taken several steps to troubleshoot the problem, which is great. Since you have a significant number of redirects, it can sometimes be challenging to pinpoint the exact cause of the issue.

    Here are a few additional steps you can take to help identify the problematic redirects:

    1. Check for Broad Redirects: Ensure that you haven’t accidentally created broad redirects that might be affecting multiple URLs. You can review your redirect settings in Rank Math to see if there are any unintended matches.
      Redirection - Source URL options

    2. Use the Debug Redirection Feature: Since you’ve enabled debugging, make sure to utilize the debug feature effectively. This will show you which redirect rule is being triggered when you access the problematic URLs. You can find this option under Rank Math SEO → General Settings → Redirections. If you need help enabling it, here’s how:
      Enable Debug Redirections on Rank Math

    3. Review Recent Changes: If you made any recent changes to your website or its configuration, consider whether those changes could be affecting your redirects.

    4. Check for Conflicting Plugins or Themes: Sometimes, other plugins or themes may interfere with how redirects are handled. Temporarily disabling other plugins (except Rank Math) can help identify if there’s a conflict.

    5. Consult the 404 Monitor: If you see any strange redirects in your 404 Monitor, it might be worth investigating those as well. They could provide clues about what’s going wrong.

    If after trying these steps you’re still unable to resolve the issue, please reply to this ticket with your site URL so that a human agent from our support team can assist you further. Thank you for your patience!

    Sources:
    Random URLs Redirecting Even When No Redirect Was Created » Rank Math
    Solving Redirection Issues Using Rank Math SEO Plugin » Rank Math

    This is an automated reply from Rank Math Support Bot. Your ticket has been assigned to a human agent and we will get back to you shortly.

    Kyle King
    Rank Math free

    I have already done the troubleshooting that applies to this set of redirects

    Hello,

    In this case, 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.

    Kyle King
    Rank Math free

    Hello,

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

    Thank you.

    Kyle King
    Rank Math free

    I’ve updated the sensitive data with an admin wordpress account and ftp credentials. Thank you!

    Hello,

    We checked your website and found that you’re using the Permalink Manager plugin on your site, and most probably that’s why you were facing the issue, because both Rank Math and the Permalink Manager plugin use the same hook, and sometimes it overrides the rules set by Rank Math.

    That’s why we added the following filter to your Code Snippets plugin, and now the redirections are working properly without any issues.

    add_action( 'wp', function () {
        global $wp;
        if ( ! empty( $wp->query_vars['do_not_redirect'] ) ) {
    	if ( class_exists( 'RankMath\Helper' ) ) {
    	    $rank_math_modules = RankMath\Helper::get_module( 'redirections' );
                add_action( 'template_redirect', array( $rank_math_modules, 'do_redirection' ), 11 );
    	}
        }
    }, 2 );
    

    Hope that helps, and please don’t hesitate to let us know if you have any other questions.
     
    Thank you.

    Thank you very much, I really appreciate it!

    Hello,

    We are glad to be of help. 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.

    If it isn’t too much to ask for, would you mind leaving us a review here: https://www.trustpilot.com/evaluate/www.rankmath.com

    It only takes a few minutes, but it makes a huge difference.

    It would mean so much to us and would go a long way.

    Thank you.

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

The ticket ‘Redirect issue’ is closed to new replies.