Redirection not working

#100206
Viewing 3 replies - 1 through 3 (of 3 total)
  • 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.

    ​​​​​​​

    Prayas
    Rank Math free

    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.

Viewing 3 replies - 1 through 3 (of 3 total)

The ticket ‘Redirection not working’ is closed to new replies.