Replies: 0
Hi,
I am trying to redirect any URL that contains a certain query string (?login=failed) to a specific page (/login-failed/).
I am using the below code in the .htacess file but it is not working for me.
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteCond %{QUERY_STRING} login=failed
RewriteRule (.*) /login-failed/ [R=301,L]
</IfModule>
Is there anyone who can highlight the mistake or guide me on how I can do it.
P.S: “I am not a developer or familiar with javascript or PHP languages.”