Hello, we apologize for the issue you are facing with your homepage being broken due to the redirect caused by Rank Math. It seems that the interaction between Rank Math and LiteSpeed Cache is leading to this problem.
To troubleshoot this issue, we recommend checking the following:
-
Check Redirection Rules: Ensure that there are no unnecessary redirection rules set up in Rank Math that could be affecting the LiteSpeed JS file. You can manage your redirections in the Rank Math dashboard.
-
Review .htaccess File: Check your .htaccess
file for any conflicting rules that might be causing the redirect. You can do this through the Rank Math plugin by navigating to WordPress Dashboard → Rank Math SEO → General Settings → Edit .htaccess. Make sure to back up your current settings before making any changes.

-
Clear Cache: After making any changes, clear your LiteSpeed cache to ensure that the latest version of your site is being served.
-
Disable Conflicting Plugins: Temporarily disable other plugins to see if there’s a conflict causing the issue.
If these steps do not 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 bringing this concern to our attention!
Sources:
Random URLs Redirecting Even When No Redirect Was Created » Rank Math
Solving Redirection Issues Using Rank Math SEO Plugin » Rank Math
Hello,
Your 404s are set to redirect to your homepage..
Please check your Fallback behavior in Rank Math > General Settings > Redirection and set it to the default 404.
If those files are just 404s, then that could explain why they are being redirected.
Let us know how this goes.
This file are litespeed cache file, why redirect that? This kind of problem happen also where rankmath is setted to default 404…
Can I have an answer? It’s about 3 months with this issue, thanks
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.

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.