Multisite redirections
-
Dear developer,
I am using a multisite (multiple languages) setup with woocommerce installed throughout the entire website. Both Dutch version and UK version currently have a menucart button in the header menu. When I add a product to my cart (for example on the Dutch page) and later switch to an other language version of the website, then the language-settings, the contents and the link to the dutch webshop are being transferred to the UK website.
For example, I want to buy something from the Dutch webshop and use “add to cart” function in woocommerce. The cart-menu-plugin updates in the menubar and tells me I have 1 artikel (item) in my shoppingcart. Now I want to read a translation of a random post in English, so I use the header-menu-option “to the UK website” (uses flag icons as seen on many websites). This link (target=”_blank”) opens in a new tab and displays the UK version of the same website. Somehow, I can now see a Dutch menu-cart in my UK menu bar. When I click it to view the contents, I am being transferred back to the Dutch Webshop.
Strangely enough, when I ‘right-click and open-in-new-tab’ on the link “to the UK website” then the menucart language settings, webshop link and cart contents will be updated accordingly.
Is there an option to prevent my Dutch shopping cart from being transferred and displayed on a UK version of the same site and vice versa?
Why won’t it work with target=”_blank” and does it work when I manually load the UK translation of a page in a new tab?
I will note that (advised by my hosting provider) I am using a varnish cash plugin.
Any help will be much appreciated.
- The topic ‘Multisite redirections’ is closed to new replies.