0

I made a website www.domain1.com

and I also a multistore to different domain in magento that is www.domain2.com.

My question is : Why my multistore (www.domain2.com) still redirect to www.domain1.com ?

Can you help me ?

I want every multistore to be standalone and not redirect in www.domain1.com but in one data base (magento Multistore).

1 Answer 1

0

Have you set $_SERVER['MAGE_RUN_CODE'] and $_SERVER['MAGE_RUN_TYPE'] for both domains?

See here for a full expaination How to create Multiple Store with different domain in Magento

2
  • Yes I have set it . But why in cms page / product category still redirect to the domain 1 ? and not stand alone same like home page (Domain 2) ... Please Help me (T_T)
    – argadeva
    Commented May 8, 2016 at 10:09
  • If the home page loads for domain2, but any links to category or CMS pages switch back to domain1 then it sounds like it's the domain URLs set within the admin for the second store. Go to System > Configuration > General > Web, Select domain2 in the dropdown (top right), Check Base URL in unsecure and secure sections.
    – RichieJP81
    Commented May 8, 2016 at 10:36

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.