Posting in the Magento forums has been disabled pending the implementation of a new and improved forum solution which should better serve the community.

For new questions please post at magento.stackexchange.com, the community-run support site for the Magento community. We will be providing updates on the new forum solution soon. For questions or concerns please email community@magento.com.

Magento Forum

My second store is redirecting to the other one. 
 
fredrikfransson
Jr. Member
 
Total Posts:  6
Joined:  2011-11-02
 

So I want to have two stores, “Privat” and “Företag”.

I managed to create the two stores but i have one problem - when I try to access the privat-store i’m getting automatically redirected to the företag-store.

I have two folders in the root of my magento install;
- foretag
- privat

I copied the .htaccess and index.php files from the root to each respective folder.

I changed

$mageFilename MAGENTO_ROOT '/app/Mage.php';
to
$mageFilename '../app/Mage.php';
in the index.php

In System - Configuration - Web my setup looks like this;

Privat:
Unsecure and Secure settings:
Base URL: http://localhost:8888/magento/privat/
Base Link URL: http://localhost:8888/magento/privat/
Base Skin URL: http://localhost:8888/magento/skin/
Base Media URL: http://localhost:8888/magento/media/
Base JavaScript URL: http://localhost:8888/magento/js/

Företag:
Unsecure and Secure settings:
Base URL: http://localhost:8888/magento/foretag/
Base Link URL: http://localhost:8888/magento/foretag/
Base Skin URL: http://localhost:8888/magento/skin/
Base Media URL: http://localhost:8888/magento/media/
Base JavaScript URL: http://localhost:8888/magento/js/

Also when i enter http://localhost:8888/magento/ i’m getting redirected to http://localhost:8888/magento/foretag/ even though “Privat” is set as default.

 
Magento Community Magento Community
Magento Community
Magento Community
 
Parthvi
Jr. Member
 
Total Posts:  2
Joined:  2010-04-20
 

Hi All,

I have the same issue, I am new to magento & try to make multiple website.

I made some wrong setting in the secure & unsecure URL & due to that there is a problem occur.

If i type my new store name in URL it will redirect to the secondary domain. Even i can’t open admin to change the URL.

Does any one know which table have this secure & unsecure URL settings? What i have to change in it?

Thanks for your help.

 
Magento Community Magento Community
Magento Community
Magento Community
Magento Community
Magento Community
Back to top