Replicate Regex rule

  • Hello,

    In in an htaccess file I have the following regex rule. Is it possible to replicate it in the plugin redirect tool? (I tried but I was not able):

    RewriteCond %{QUERY_STRING} (^|&)option\=com_k2($|&)
    RewriteRule .* – [G,NC]

    Thank you very much

Viewing 1 replies (of 1 total)
  • Hi Elias,

    Thanks for getting in touch with us.

    I am not sure what that regex is supposed to do but you can create a fresh one here and then use it in Rank Math’s redirection field:

    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 ‘Replicate Regex rule’ is closed to new replies.