RankMath changes my URLs and adds redirects autmatically

#968362
Viewing 6 replies - 1 through 6 (of 6 total)
  • Hello,

    We apologize for the issue you are facing with the automatic redirects on your product pages. It seems that the URLs are being encoded incorrectly, which is causing the %25 to appear before each character in the redirected URL.

    To troubleshoot this issue, we recommend checking the following:

    1. Check for Existing Redirects: Ensure that there are no existing redirects set up in Rank Math that might be causing this behavior. You can review your redirects by navigating to Rank Math > Redirections in your WordPress dashboard.
      More than one redirection

    2. Review .htaccess File: Check your .htaccess file for any redirection rules that may have been added manually or by another plugin. You can edit this file through Rank Math by going to Rank Math > General Settings > Edit .htaccess. Make sure there are no conflicting rules that could be causing the issue.
      edit .htaccess

    3. Debugging Redirection: Use Rank Math’s debug feature to identify any issues with the redirection settings. This can help pinpoint if there are any misconfigurations.
      Using Rank Math’s Debug Redirection Feature

    If you continue to experience issues after checking these areas, please reply to this ticket with any additional details or screenshots of your redirect settings, and a human agent from our support team will assist you further.

    Thank you for bringing this to our attention, and we look forward to resolving it for you!

    Sources:
    Random URLs Redirecting Even When No Redirect Was Created » Rank Math

    Hello,

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

    We deeply apologize for the unexpected delay in response. This ticket has been stuck in our drafts section for some reason.

    Can you please confirm if you’re referring to the encoding of the URLs? If so, please note that it is automatically done by browsers for the non-ASCII URLs.

    Regarding the first redirection you’ve shared, both URLs are the same but the redirected URL is double-encoded. Can you please confirm if you’ve set any redirection for this URL in Rank Math?

    If there is no redirection added then 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/

    Looking forward to helping you.

    Hello. Thank you for trying to assist me! I’ve set no redirections regarding the affected URLs. The issue disappears when I turn off “Remove base” in whe WooCommerce tab. But I can’t keep it turned off because it will hurt my google rankings.
    Orther issue is: when I update your plugin to the newest version, it redirects my product pages to homepage. This is the reason I haven’t updated it yet.

    Hello,

    We added the code below to your website and the issue has now been resolved.

    /**
     * Filter to disable custom product redirection.
     */
    add_filter( 'rank_math/woocommerce/product_redirection', '__return_false' );

    We also flushed the permalinks caching to ensure you will see the fix.

    Please check from your end.

    Hope that helps.

    I think you’ve solved the issue. Thank you very much! I even updated the plugin and it is no move redirecting to homepage or anywhere else!
    Thank you!

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

You must be logged in to reply to this ticket.