I am trying to configure my magento app for a multistore configuration, I followed the recommended step according to the magentocommerce tutorials below. I am getting a 404 error on the Home page for the 2nd store and cannot find where the configuration is failing. Below are my steps taken, tutorials used and troubleshooting steps taken.
Any help would be appreciated!
Steps Taken
Set Default Root Categories – Packaging
Using same catalog - so using the same default root category
CATALOG>MANAGE PRODUCTS>
Enabled Website = C*****-wholesale for productsCreate new Website, Store & Store Views:
SYSTEM>MANAGE STORES>
Website Name = C*****-wholesale
Code = wholesale
Store Name = Distributors
Root Category = Packaging
Store View - Distributors-English
Code = distCreate Design Change for Wholesale Theme
SYSTEM>DESIGN>ADD DESIGN CHANGE>
Website = C*****-wholesale
Store = Distributors
Store View= Distributors-English
Design =default/modernChanged Design template for scope - C*****-wholesale
SYSTEM>CONFIGURATION>
Current Config Scope: C*****-wholesale
GENERAL>DESIGN>- disabled "Use Default"
- theme>template = modern
Add instance of home page for Store View = Distributor-English
CMS>PAGES>
Page Title = Home
Store View = Distributors-EnglishChange Base URLs - Mag Admin
SYSTEM -> CONFIGURATION -> GENERAL -> WEB
Changed base urls for scope = C*****-wholesale
http://dist.c*****ment.com/
https://dist.c*****ment.com/Add environment directives to htaccess:
SetEnvIf Host www.dist.c*****ment.com MAGE_RUN_CODE=wholesale
SetEnvIf Host www.dist.c*****ment.com MAGE_RUN_TYPE=website
SetEnvIf Host ^dist.c*****ment.com MAGE_RUN_CODE=wholesale
SetEnvIf Host ^dist.c*****ment.com MAGE_RUN_TYPE=websiteReset server and magento app.
- Restart server
- Reindexed
SYSTEM>INDEX MANAGEMENT - Cleared caches:
SYSTEM>CACHE MANAGEMENT - Recompiled
SYSTEM>TOOLS>COMPILATION - Manually deleted cache folders var/cache
Tutorials Used
magentocommerce.com/knowledge-base/entry/tutorial-multi-site-multi-domain-setup
magentocommerce.com/wiki/4_-_themes_and_template_customization/navigation/multiple-website-setup
magentocommerce.com/images/uploads/multistore_webinar-flv/multistore_webinar-flv.html
Troubleshooting
- Use Web Server rewrites - Disabling didn't solve.
magento.stackexchange.com/questions/19382/magento-new-website-store-products-links-404-error - Do not use same name for Website name and Store Name.
lotusseedsdesign.com/blog/do-not-use-the-same-name-for-website-name-and-store-name