I have a URL that i want to rewrite but want to keep the Query String as it is. I tried several options but not working.
http://www.example.com/images/cam?fileName=123.jpg&format=jpeg
I want this to rewrite to http://www.example.com/new-images/cam?fileName=123.jpg&format=jpeg
I am using following rewrite rule
RewriteRule ^images/cam(.*)$ /new-images/cam$1 [L]
What am i missing. Thanks in advance.