I have this rewrite rule
RewriteRule ^ar$ /index2.html
but i need to keep the url in the address bar unchanged after the redirect.
ie. if the user typed http://mydomain.com/ar i need to redirect him to /index2.html but keep the url as is.
any idea of how to do so??
Thanks for your help
Best Answer
What Lairsdragon said is correct. However, if you have more than one rewrite rule in your config, you will want to add the
[L]
flag to the end in order to prevent other rules from being applied.