diff --git a/conf/nginx.conf b/conf/nginx.conf index 7407542..5e4daf4 100644 --- a/conf/nginx.conf +++ b/conf/nginx.conf @@ -4,7 +4,7 @@ location __PATH__/ { # Path to source alias __FINALPATH__/ ; - return 301 __FINALPATH__/%23/?lang=__LANGUAGE__; + rewrite ^ __FINALPATH__$uri?lang=en permanent; ### Example PHP configuration (remove it if not used) # index index.php;