Maksym Goliazh
New member
- Joined
- Jan 5, 2026
- Messages
- 2
Hello! I'm new to this and I'm just getting to know the panel. It's ngix+php-fpm. I installed it on a vps for an opencart store.
My store has multilingual support. And I need to fix ngix so that everything works correctly.
On the opencart forums, they advise adding this to ngix:
What's in htaccess:
RewriteRule ^([^?]*) index.php?_route_=$1 [L,QSA]
What should be in the config:
rewrite ^/(.+)$ /index.php?_route_=$1 last;
And I don't understand how to add this to the direct admin panel. I read and didn't find any information on this.
I would be grateful for your help.
My store has multilingual support. And I need to fix ngix so that everything works correctly.
On the opencart forums, they advise adding this to ngix:
What's in htaccess:
RewriteRule ^([^?]*) index.php?_route_=$1 [L,QSA]
What should be in the config:
rewrite ^/(.+)$ /index.php?_route_=$1 last;
And I don't understand how to add this to the direct admin panel. I read and didn't find any information on this.
I would be grateful for your help.