Hello,
Thank you for contacting Rank Math and sorry for any inconvenience that might have been caused due to that.
Rank Math for now doesn’t support redirections with query parameters. We are working on an update where it will work but for now, you will need to use another redirections plugin to redirect those URLs (or use .htaccess).
Looking forward to helping you. Thank you.
Thanks. Can you share me a sample htaccess code for the query string url?
Hello,
You can customize and use the code below accordingly.
# Redirect Query String
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteCond %{QUERY_STRING} key=value
RewriteRule (.*) /path/ [R=302,L]
</IfModule>
Hope that helps.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.