my site is having three language switcher English, German and Russian using cookies when the visitor clicks the flags. The URL is same for every language.
Now i want to point url
http://www.website.com/ru
to the Russian version of the site.
Will this be done using .htaccess or with some other method.
How to achieve this.
You can try this in your
.htaccess
file:Now in your PHP code you can get the language with: