Some how I can able to achieve the part of my requirement as below:RewriteCond %{QUERY_STRING} ^rootpath=(.*)¶m=(.*) [NC]RewriteRule ^(.*) %1/%2 [R302,L]https://localhost:8080/ca/en/abc/test?rootpath=/ca/en/abc¶m=test However, I don't want this part in above URL ?rootpath=/ca/en/abc¶m=te...