pwired Posted April 1, 2016 Share Posted April 1, 2016 I have installed processwire version 2.7.2 with multi language on a Nginx server on windows 7.I have installed processwire inside a subfolder templates1During the processwire installation I had 2 issues with gd 2.0 missing and mod_rewrite but I could solve them this way: Removing the ; in front of "extension=php_gd2.dll" inside php.ini Adding the line The only thing that I still have not working is the multi language.Nginx let's me open only the start page in the default language (english)http://localhost/template1/If I try to open the start page in another language it throws a 404 not found.http://localhost/template1/de/Also if I click on About in the top menu in the default language it throws a 404 not found.http://localhost/template1/en/about/This is what the first part of my nginx.conf looks like: server { # access from localhost only listen 127.0.0.1:80; server_name localhost; root www/templates1; Any ideas what is missing ? I also tried and installed processwire directly in the root www but had the same multi language problems. Only the start page in the default language worked. Link to comment Share on other sites More sharing options...
Sergio Posted April 1, 2016 Share Posted April 1, 2016 Just to be sure, do you have this line on nginx.conf? location / { try_files $uri $uri/ /index.php?it=$uri&$args; } Link to comment Share on other sites More sharing options...
pwired Posted April 1, 2016 Author Share Posted April 1, 2016 @Sérgio,I just added your code but still the same problem. Only the start page opens in the default language. server { # access from localhost only listen 127.0.0.1:80; server_name localhost; root www; location / { try_files $uri $uri/ /index.php?it=$uri&$args; } location /template1 { try_files $uri $uri/ /index.php?it=$uri&$args; } Link to comment Share on other sites More sharing options...
Sergio Posted April 4, 2016 Share Posted April 4, 2016 I don't a windows machine right now to test this, but try changing the location lines to: location / { try_files $uri /index.php?$uri&$args; } and give it a try. Link to comment Share on other sites More sharing options...
Recommended Posts