we are having a little issue, maybe some smart person knows a fix? We have a few different locales, e.g. NL and UK. A typical product has a different name for both countries, thus a different url_path. Like this: UK -> store.com/uk-productname.html NL -> store.com/nl-productname.html
Now, when you enter the store from another, for example Google URL, like this: NL -> store.com/uk-productname.html This results in a 404 page (and this happens a lot I might add).
We have created a 404 page with a link like this on it:
However, this is not foolproof.When you're e.g. already in the right locale but with the wrong locale url_path, you have to click a couple times from 1 locale to the other to get the right product view. Customers lost by then.
How can we make sure these 404 errors do no longer exist. We have a .nl domainname as well, but we wanted to keep everything in the .com version this time. In the .nl domain we have an htaccess file that does this, but that only helps when WE put the link somewhere. Anybody sharing or pasting the link they then see elsewhere, will send their visitors to the 404 because of the default locale of the UK version.
RewriteRule ^(.*)$ http://www.store.com/$1?___store=locale_store_nl [QSA,L]
A 404 extension that just catches all 404s doesn't work, because this creates a loop somehow. We need something that knows the NL product url_path belongs to the NL locale, and not go to a 404 when entered through the UK locale.
I hope this made sense.
Who went through this before?
Thanks a lot.
ps. We have already setup a few links by hand in the URL rewrite management section by pointing to the exact product path, but once we clear our tables (have to because magento keeps increasing this table to enourmous sizes) those are gone again. Plus that is not the way to go IMO.