I have problem with a Magento site I haven't been able to solve Googling my way around. On I have 3 store views (NL, EN, DE). When on a product page and I want to switch language sometimes I get a 404 error but other times the product switches correctly to the right language. I have observed the URL behavior closely and came up with this:
In case of a successful switch the URL changes from for example www.example.com/supplies_nl/product.html to www.example.com/supplies_en/product.html?___from_store=supplies_en
However in other cases when the switch in unsuccessful the URL is changed from www.example.com/supplies_nl/product.html to www.example.com/supplies_nl/product.html?___from_store=supplies_en resulting in a 404 error.
Has anyone encountered such behavior and what can be done to have this working correctly al the time?
Using Magento 1.8.0