Hello,
Thank you for your query and we are so sorry about the trouble this must have caused.
By default, Rank Math will add the query parameter from the source URL to your destination URL.
To avoid this, you can apply the filter code below to avoid adding the query parameter to the destination URL.
add_filter( 'rank_math/redirection/add_query_string', '__return_false' );
You may refer to this guide on how to add filters to your website: https://rankmath.com/kb/wordpress-hooks-actions-filters/
Hope that helps and please do not hesitate to let us know if you need my assistance with anything else.
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.