Hello,
Thank you for contacting Rank Math and bringing your concern to our attention. I’m sorry for any inconvenience this issue may have caused you.
Could you please confirm if the regex redirect you created looks like this to achieve that?
Source: adatmigracios-szolgaltatasok/(.*)
Type: Regex
Destination: https://mindspire.hu/banki-adatmigracios-szolgaltatasok/$1
Let us know how this goes.
Thank you.
Hi Reinelle,
Thank you for your response!
Initially our version had a slash in front of the source:
Source: /adatmigracios-szolgaltatasok/(.*)
Type: Regex
Destination: https://mindspire.hu/banki-adatmigracios-szolgaltatasok/$1
Now I have removed the front slash from source so it is now the same you sent:
Source: adatmigracios-szolgaltatasok/(.*)
Type: Regex
Destination: https://mindspire.hu/banki-adatmigracios-szolgaltatasok/$1
Also, I forgot to mention, that is in not in the live site, but on a staging environment, which is on a subdomain and password protected at CPanel. Since other redirections (Exact match, not Regex though) are working properly in RankMath in the staging environment, I this should not be the cause.
So the domain is dev.mindspire.hu, not mindspire.hu, currently it looks like this and not working:
Source: adatmigracios-szolgaltatasok/(.*)
Type: Regex
Destination: https://dev.mindspire.hu/banki-adatmigracios-szolgaltatasok/$1
Currently this version seems to redirect
this: https://dev.mindspire.hu/adatmigracios-szolgaltatasok/mindspire-delta-adatmigracios-eszkoz/
to that: https://dev.mindspire.hu/banki-adatmigracios-szolgaltatasok/mindspire-delta-adatmigracios-eszkoz/
but this: https://dev.mindspire.hu/adatmigracios-szolgaltatasok/
results in a Not found error, instead of redirecting to https://dev.mindspire.hu/banki-adatmigracios-szolgaltatasok/
Is it possible to give you access to the staging site somehow? Probably it would be easier to investigate what am I doing wrong here.
Thank you,
Janos
Hello,
Thank you for your patience.
Sure, we can take a look at the redirect you have created.
Please edit the first post on this ticket and include your staging 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.