-
Help with RewrietRule and language folders
I need to manage languages in a website, and this is the structure of the URL:
www.mysite.com/en/displaylist
www.mysite.com/fr/displaylist
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:
www.mysite.com/displaylist?lang=en
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.
Thread Information
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
Forum Rules
|
|
Bookmarks