URL rewrite of localisation with nginx
I’m having trouble with changing the url of a drupal localisation. All urls are clean, but contain a non-clean localisation part; ?q=”language”, e.g. ?q=de, ?q=fr.
The site runs on nginx + mysql + php5.
I want to change this to either site.tld/”language”/page or to no url at all, e.g. site.tld/page.
How to change this in the rewrite rules?
This article was republished from its original source.
Pixeldust is a 20-year-old web development agency specializing in Drupal and WordPress and working with clients all over the country. With our best in class capabilities, we work with small businesses and fortune 500 companies alike. Give us a call at 1(800)730-2416 and let’s talk about your project.