Jump to content

Edit History

seakrebel

seakrebel


got working code

Try editing your NGINX configuration to include the following: 

server {
[...]
  location ~* ^/(en|it|fr)(/.*)?$ {
    rewrite ^/(en|it|fr)(/.*)?$ /index.php?lang=$1&$args last;
    try_files $uri $uri/ /index.php$is_args$args;
  }
[...]
}
seakrebel

seakrebel

There was a fix for this that someone mentioned 1-2 years ago.

Append to Nginx configuration (example for english):

server {
[...]
    rewrite ^/en$ /en/ redirect;
    rewrite ^/en/(.*) /$1;
[...]
}

While this fixes the product combinations - it breaks changing the language... So we need a better fix.

×
×
  • Create New...