Redirection Issue with Double Slash URLs Resolved by Disabling Rank Math Plugin

#703254
  • Resolved Anonymous
    Rank Math free

    Hello Rank Math Support Team,

    My name is Muzamil Iqbal, and I am reaching out for assistance with an issue I’ve encountered on my website regarding URL redirects, specifically with URLs that contain double slashes at the end.

    Problem Description:
    The above URL, which ends with double slashes (//), is not redirecting properly. Ideally, it should redirect to the same URL but without the double slashes.

    Critical Observation:
    I’ve noticed that when I disable the Rank Math plugin, this issue no longer occurs, which leads me to believe that the problem might be related to Rank Math’s redirection settings or its interaction with my site’s configuration.

    Attempted Solutions:
    – I have checked and adjusted the .htaccess file for potential conflicts.
    – All caches, including those from the LiteSpeed Cache plugin and my browser, have been cleared.
    – Disabling and re-enabling Rank Math’s redirection settings was tested to observe any changes in behavior.

    Given these observations, I suspect there might be a specific conflict or setting within Rank Math causing this issue, particularly since disabling the plugin seems to resolve it.

    I would greatly appreciate your guidance on how to fix this problem. If you require any additional information or access for direct troubleshooting, please let me know, and I’ll be happy to provide it.

    Thank you for your time and assistance.

    Best regards,
    Muzamil Iqbal

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

    We apologize for the inconvenience you’ve experienced with the URL redirects on your website. We understand that this issue is causing you trouble, and we appreciate you reaching out to us for assistance.

    It’s great that you’ve already taken some steps to troubleshoot the issue, such as checking and adjusting the .htaccess file and clearing caches. We understand that you’ve observed that disabling the Rank Math plugin resolves the issue, which indicates that there might be a specific conflict or setting within Rank Math causing this problem.

    To address this, we recommend checking if there are any other redirect plugins installed that might have configured any redirects. If you find any, please delete them immediately and check if the problem is resolved.

    If the issue persists, we suggest checking your .htaccess file in your WordPress dashboard with the Rank Math plugin. You can navigate to WordPress Dashboard → Rank Math SEO → General Settings → Edit .htaccess to review and remove any additional redirection rules that might be causing the problem.

    If you’re still facing difficulties after following these steps, please feel free to reply to this ticket, and a human agent from the Rank Math Support team will assist you further.

    Thank you for your understanding and cooperation.

    Best regards.

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

    Anonymous
    Rank Math free

    Hello Rank Math Support Team,

    I’d like to provide an update on the issue I previously reported regarding the redirection of double-slash URLs on my website.

    Since reaching out, I’ve taken further steps to isolate and understand the problem:

    1. Removed Other Redirection Plugins: I confirmed that no other redirection plugins are installed on my site, eliminating the possibility of conflicts with other plugins.

    2. Restored .htaccess to Default: I have edited the .htaccess file, reverting it to the default WordPress configuration. Here is the current state of the .htaccess file for your reference:

    BEGIN WordPress
    RewriteEngine On
    RewriteRule .* – [E=HTTP_AUTHORIZATION:%{HTTP:Authorization}]
    RewriteBase /
    RewriteRule ^index.php$ – [L]
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteRule . /index.php [L]

    END WordPress

    Despite these adjustments, the issue with the double slash URLs persists. The problem seems to resolve when Rank Math is disabled, which suggests that the issue might be related to Rank Math’s functionality.

    I am seeking further assistance in resolving this matter and would appreciate any additional guidance or troubleshooting steps you could provide. Please let me know if more information is required.

    Thank you for your continued support.

    Best regards,
    Muzamil Iqbal

    Hello,

    Thank you for your patience.

    We’ve tried replicating the issue with the latest version of Rank Math, but the URLs with more than 2 slashes at the end are redirecting fine.

    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.

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

The ticket ‘Redirection Issue with Double Slash URLs Resolved by Disabling Rank Math Plugin’ is closed to new replies.