Hello,
Thank you for contacting Rank Math support today and bringing your concern to our attention.
Unfortunately, we currently don’t have any filter to create a redirection rule programmatically. You may directly access the database table wp_rank_math_redirections
to see how redirections are being added and you can create your own function, however, this is now out of our scope of support.
Hope that helps and please do not hesitate to let us know if you need our assistance with anything else.
Hello,
Glad that helped.
Please feel free to reach out to us again in case you need any other assistance.
We are here to help.
Thank 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.