I followed the step by step from the video tutorial. Create new folder, copy index.php and .htaccess to the new folder, change require_once and mage::run
create second root category, create website, store, front that point to this root category. Change url base (secured and unsecured) to point to the new folder.
When I opened my second store, it said
Redirect Loop
Firefox has detected that the server is redirecting the request for this address in a way that will never complete.
My magento is 1.1.6
Example setting
First store : subdomain.domain.com
second store : subdmain.domain.com/secondstore
Is anyone else getting this redirect error when they have a second website? I cannot figure out why this is redirecting. I’m assuming it has something to do with my apache settings but I’m not sure
Yea - this problem got me too.... but the resolution is simple.
It is caused by the database foreign key constraints. To resolve the issue, backup the original database using the admin panel (system->tools->backups). Use this file to restore the database.
I am one of those clients on SimpleHelix that is having the issue with multiple websites. (simple helix has been good to work with on trying to resolve this)
Mike Silvers… what you are saying is that if we backup the database and then restore the database it will resolve this issue?
For me what wored with multiple sites was the php.ini file.
I use Hostmonster, Magento is in a subdirectory. PHP5 Enabled. I was having error ; Failed loading Zend ; in the error logs. So I just placed a copy of php.ini in the magento subdirectory and in the multi store directory.
I’m too experiencing major trouble with this redirect. I have also mentioned it on this thread to see if anyone can help figure out why this may be happening..
when you edit index.php make sure you entered corrent code for your store.
Mage::run(’code_your_new_store‘,’website’);
code_your_new_store to obtain code go to admin-> manage stores then click your web site so you will see CODE for your website get this code and place into index.php then you done.