Help with RewrietRule and language folders
I need to manage languages in a website, and this is the structure of the URL:
I want to rewrite the URL so that the language is not in the URL path, and sending it as a GET variable, like this:
This is the RewriteRule I made, but it doesn't work:
RewriteRule ^(es|en|fr|de|it|ru)/(.*) $2?lang=$1 [L]
Any help appreciated.
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)