[ad_1]
Hello @angiefernandez,
Thank you for your query and we are so sorry about the trouble this must have caused.
Please try creating the following redirection:
Source URL: (.*)/?expand_domains=*
Type: Regex
Destination: https://www.mydomain.com/$1
After that, please apply this filter code to your website to avoid redirection loop: https://rankmath.com/kb/filters-hooks-api-developer/#redirect-remove-query
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 our assistance with anything else.
