I’m trying to create multiple websites, so that I can have multiple currencies and each with its own payment gateway. The trouble is, how to I access the other website?
After setting up one website everything works fine. I add another one and use a different domain for “Base URL” for it, but when trying to access that URL (which on the backend is routed by Apache to a directory which is just a symlink to same old magento code) – magento just redirects me to the old URL. How do I make the other website visible?
It is meant to be done via the .htaccess file. You should add the following code at the bottom:
The MAGE_RUN_CODE must correspond to the website code you have entered in the Magento backoffice when creating that website.