Our team are now working on a magento project configuring multi stores structure and stucked by some URL issue.
We have serval stroes named storeA, storeB, storeC, etc.
Each store has 3 views(languages), language1, language2, language3.
The code for a view is: storeA_language1, storeA_language2, etc.
So the URLs structure is like this:
But this is not that user friendly. We want to ask if we can have the URL rewritted to this format:
We’ve tried to edit the .htaccess file to set up the rewriterule like:
RewriteRule ^storeA/language1(.*)$ /storeA_language1$1
But it doesn’t work. Magento seems to have the URL before rewritten.
Any help will be highly appreciated.
Thank you for reading.