0

Any help regarding the topic will be much appreciate!

What we are trying to do is this :

This link : http://www.example.com/?ModuleVal=SomeDetails&Stdold=1287 we need to redirect to this link: http://www.example.com/?ModuleVal=SomeDetails&StdoId=2862 via .htaccess

How can we properly configure this kind of redirection/rewrite?

Thank you.

1

1 Answer 1

0

Please try it:

<IfModule mod_rewrite.c>
    RewriteEngine On

    RewriteCond %{QUERY_STRING} ^ModuleVal=SomeDetails&Stdold=1287$
    RewriteRule ^/?$ /?ModuleVal=SomeDetails&Stdold=2862 [L,R=301]
</IfModule>
0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.