Setting server variables on multiple domain Magento

When adding another domain to my Magento store I needed to modify the .htaccess file:

 

RewriteCond %{HTTP_HOST} ^shop.theblueberrypartnership.com
RewriteRule ^ - [E=MAGE_RUN_CODE:shop_theblueberrypartnership_com]

RewriteCond %{HTTP_HOST} ^shop.theblueberrypartnership.com
RewriteRule ^ - [E=MAGE_RUN_TYPE:website]

http://www.magentocommerce.com/boards/viewthread/77856/P30/

Leave a Reply