I'm writing a multilingual dictionary web app; trying to make a redirect such that when a user types in something like
my-site.com/dictionary/french
it redirects him to
my-site.com/dictionary/language/?lang=french
So right now my .htaccess file, stored in the "dictionary" folder, only has one line:
The [a-mk-z] is so that when you get redirected to dictionary/language, it doesn't trigger the same effect. None of my languages start with L, so it's really no problem.
It works fine except that it changes the language/?lang to language/%3flang, which of course means that the language name doesn't get passed to the script. Is there any way to fix this? I tried the [NE] tag, but as you can see, it didn't work.
Thanks in advance.