on 2018 Oct 11 12:02 PM
The question is raised several times here, but there are no answers. I face the same issue with my website and I need a help of experts. If I access my webstore first time, I have a proper session with the main language selected (example.eu/se/) for Swedish. After I change the language in the language selector, the URL changes accordingly (example.eu/en/ ). However, next time if I switch back to the main language (Swedish), the URL would stay the same as it was previously (example.eu/en/ ).
I have checked the URL Encoding Attributes and in my case I have only language as an attribute.
My spring.xml configuration for urlEncoder.
<map>
<entry key="currency" value-ref="currencyAttributeManager"/>
<entry key="language" value-ref="languageAttributeManager"/>
<entry key="storefront" value-ref="storeFrontAttributeManager"/>
</map>
Example of my url pattern:
(?i)^https?://[^/]+(/[^?])?\?(.\&)?(site=Store_se)(|\&.)$*
(?i)^https?://store-..example.se.$
Thank you for the help!
Request clarification before answering.
| User | Count |
|---|---|
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.