Hello,
We apologize for the issue you are facing with the redirection of your directory pages. To redirect all links containing /projects/
to the homepage, you can use the following code in your .htaccess
file:
RedirectMatch 301 ^/projects/.* /
This code will redirect any URL that starts with /projects/
to the homepage. Make sure to add this code before any other redirect rules in your .htaccess
file to ensure it works correctly.
If you are using the Rank Math plugin, you can also navigate to Rank Math SEO → Redirections and set up a new redirection there. Choose the Regex option and enter ^/projects/.*
as the source URL and /
as the destination URL.
If you continue to experience issues, please reply to this ticket, and a human agent from the Rank Math Support team will assist you further.
Thank you for raising this concern!
Sources:
How to Redirect to URLs With Trailing Slash » Rank Math
I tried ^/projects/.* (regex) but the page does not redirect.
Such as, https://autel.us/project/maxitpms-catalog-french/
We use nginx.. not sure htaccess matters, here?
Hello,
Please update the regex redirection to this one:
Source: project/(.*)
Type: Regex
Destination: https://autel.us/$1
Once done, clear your website and server’s cache.
Let us know how this goes.
I removed the $1 because I don’t need to append the project name to the redirect. Unfortunately, this produces, “The page isn’t redirecting properly”
Thanks for your help.
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.