I am setting up Magento for two separate domains. I want to install two separate versions of Wordpress on each site, so I followed Magento’s advice for a “Multiple Website Setup with Different Document Roots”: http://www.magentocommerce.com/wiki/multi-store_set_up/multiple_website_setup_with_different_document_roots
â¢ I have installed Magento at /public_html and that version is working for the first site.
â¢ I have created another folder called public_html/bluewidgets.com.br/ and I have pointed bluewidgets.com.br there.
â¢Â I have a version of the .htaccess file and the index.php file at public_html/bluewidgets.com.br
index.php file changes:
$compilerConfig = MAGENTO_ROOT . '/includes/config.php';
$mageFilename = '/home/bluewidgets/public_html/app/Mage.php';
$mageRunCode = isset($_SERVER['MAGE_RUN_CODE']) ? $_SERVER['MAGE_RUN_CODE'] : 'bluewidgets_com_br';
$mageRunType = isset($_SERVER['MAGE_RUN_TYPE']) ? $_SERVER['MAGE_RUN_TYPE'] : 'website';
At this point I feel I am possibly making a mistake with the .htaccess file. When I comment out the line above, all of the pages load but the theme and images don’t work. When I run the code below, the homepage loads but nothing else.
I am also wondering if I possibly need to make a change to the configuration of the theme. So far I haven’t.
Please could you suggest what I could try?