2

We have an nginx, varnish setup of a Magento 2.2.2. installation in production.

There are several websites which can be accessed via store view code. This looks like this:
domain.com/us/
domain.com/de/
domain.com/jp/
(show store view code is enabled)

Now we also want to add different languages so this means we need to add another subdirectory to the path.

This is what we want to achieve:
domain.com/us/en/
domain.com/us/es/
domain.com/de/de/
domain.com/jp/jp/
(these are examples, first subdirectory is website, second store view)

So I tried to change the base url and base url link to domain.com/us/ This works for the home page but all deeper links end in an redirect loop.

No nginx changes done so far. Was hoping it works simply with changing base urls.

Any suggestion how to achieve this?

2

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.