I have created a new website within my Magento ( I've created a home page and got the menu visible. When you click on a Menu item, it links to my other website domain, showing a 404.

I have checked (and rechecked!) the Base URLs and they are all correct.

Any ideas?

1 Answer 1


I discovered there was an error in the .htaccess file code. Should be:

## SetEnv MAGE_RUN_TYPE store ##
SetEnvIf Host .*my_domain1.* MAGE_RUN_CODE=website_code_for_my_domain1
SetEnvIf Host .*my_domain1.* MAGE_RUN_TYPE=website

Your Answer

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

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