Redirection issue passing strings

  • Hello, This is support ticket created by me but issue is still not solved. (I had given site admin panel access to u but not solved)

    All URLs include /?m=1 does not redirects. In browser its shows yoursite[dot]com redirected you too many times.

    I tried with other redirection plugin, everything works well but rankmath redirection is not working.

    Is there any solution?????????

    • This topic was modified 7 months, 3 weeks ago by Ms.
    • This topic was modified 7 months, 3 weeks ago by Todd.
Viewing 1 replies (of 1 total)
  • Hi Ms,

    First of all, we request you to open your own ticket in case you need help in the future.

    Coming to your question, Rank Math passes the query strings to the target URL. That is why it is causing a loop.

    You can stop passing the query string using this code in your theme’s functions.php file:
    add_filter( 'rank_math/redirection/add_query_string', '__return_false' );

    Hope that helps and please do not hesitate to let us know if you need our assistance with anything else.


    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.

Viewing 1 replies (of 1 total)

The ticket ‘Redirection issue passing strings’ is closed to new replies.