Comments on: Running multiple Magento stores on multiple domains from a single index.php https://jwills.co.uk/2009/03/running-multiple-magento-stores-on-multiple-domains-from-a-single-indexphp/ Coding, retro-gaming, and other projects Mon, 05 Aug 2024 17:02:21 +0000 hourly 1 https://wordpress.org/?v=6.7.2 By: Walter https://jwills.co.uk/2009/03/running-multiple-magento-stores-on-multiple-domains-from-a-single-indexphp/#comment-217 Thu, 16 May 2013 12:25:09 +0000 http://maglife.co.uk/?p=32#comment-217 There is also an other solution based only on .htaccess directives, Magento internal websites/stores precise settings, index.php customization, and parts of code snippets you reported 🙂 , plus is it possible also to set “fallback” websites/stores. Cheers and thanks!

]]>
By: Vishnu https://jwills.co.uk/2009/03/running-multiple-magento-stores-on-multiple-domains-from-a-single-indexphp/#comment-216 Wed, 28 Sep 2011 06:29:30 +0000 http://maglife.co.uk/?p=32#comment-216 Hi Jools,

Thanks for the post. I would like to know is this applicable for multiple website with single stores on each .
for eg; Wesite1(Engllish)
–> Wesite 1 store view(English)
–> English Store
Wesite2(Japanese)
–> Wesite 2 store view(Japanese)
–> Japanese Store

]]>
By: Jonathon Byrd https://jwills.co.uk/2009/03/running-multiple-magento-stores-on-multiple-domains-from-a-single-indexphp/#comment-215 Tue, 31 May 2011 19:44:51 +0000 http://maglife.co.uk/?p=32#comment-215 Another problem that I’ve been having: It seems that all of my Magento URLS are pointing back to the main domain. Anyway that I could pay you for a couple hours of your time?

]]>
By: Jonathon Byrd https://jwills.co.uk/2009/03/running-multiple-magento-stores-on-multiple-domains-from-a-single-indexphp/#comment-214 Tue, 31 May 2011 19:41:54 +0000 http://maglife.co.uk/?p=32#comment-214 Hey Jools, Bravo Brother. You did an excellent job on this tutorial. This is my complete first time setting up a multi-store site with Magento. I apologize for my ignorance, but you left out the magento configuration urls as well as the manage store settings.

My site is in an infinite redirect loop.

]]>
By: Good link for magento multi store setup | Open Source Rocks https://jwills.co.uk/2009/03/running-multiple-magento-stores-on-multiple-domains-from-a-single-indexphp/#comment-213 Wed, 04 May 2011 12:24:50 +0000 http://maglife.co.uk/?p=32#comment-213 […] http://webdevster.com/ecommerce/magento/magento-multiple-store-setup-instructions http://maglife.co.uk/2009/03/30/running-multiple-magento-stores-on-multiple-domains-from-a-single-in… […]

]]>
By: Sudipta https://jwills.co.uk/2009/03/running-multiple-magento-stores-on-multiple-domains-from-a-single-indexphp/#comment-212 Fri, 08 Apr 2011 01:22:59 +0000 http://maglife.co.uk/?p=32#comment-212 Is it same for Magento 1.5 .1

]]>
By: WebFlakeStudio https://jwills.co.uk/2009/03/running-multiple-magento-stores-on-multiple-domains-from-a-single-indexphp/#comment-211 Fri, 22 Oct 2010 14:49:32 +0000 http://maglife.co.uk/?p=32#comment-211 Good approach! I like it.

]]>
By: Sahus Pilwal https://jwills.co.uk/2009/03/running-multiple-magento-stores-on-multiple-domains-from-a-single-indexphp/#comment-210 Thu, 07 Oct 2010 12:34:07 +0000 http://maglife.co.uk/?p=32#comment-210 Is this tutorial and setup still applicable for CE v.1.4.1.1…???

]]>
By: Test https://jwills.co.uk/2009/03/running-multiple-magento-stores-on-multiple-domains-from-a-single-indexphp/#comment-209 Fri, 24 Sep 2010 19:57:14 +0000 http://maglife.co.uk/?p=32#comment-209 In reply to Jools Wills.

alert(33);

]]>
By: Roy https://jwills.co.uk/2009/03/running-multiple-magento-stores-on-multiple-domains-from-a-single-indexphp/#comment-208 Fri, 11 Jun 2010 00:11:34 +0000 http://maglife.co.uk/?p=32#comment-208 Hi,
I am trying do another type of setup, for example my main url is

company.com and I am selling from companystore.com , but when checkout I want it to checkout from company.com. The problem is the store can add product but when checkout it going to another URL and it shows cart is empty.

Anyone knows the problem.

regards

]]>
By: conec https://jwills.co.uk/2009/03/running-multiple-magento-stores-on-multiple-domains-from-a-single-indexphp/#comment-207 Mon, 08 Mar 2010 05:53:39 +0000 http://maglife.co.uk/?p=32#comment-207 Hi,

I have Multiple Web Sites and Stores – each are diferent providers from different locations all over the world.

I want the customer to be able to buy from any of those “Web Site” or “Store” – and to checkout from the main WebSite “Base”.

-I need in the Global Cart, the total amount of purchases + all shipping fees.

A idea?

]]>
By: Jools Wills https://jwills.co.uk/2009/03/running-multiple-magento-stores-on-multiple-domains-from-a-single-indexphp/#comment-206 Fri, 19 Feb 2010 22:15:47 +0000 http://maglife.co.uk/?p=32#comment-206 In reply to Paul.

not sure how google will treat the page linking css from the other site in terms of rank, but you should be able to make it pull in the css etc from the current URL. Please check you have set the baseurl for each website, to the correct domain in the Magento admin (/index.php/admin/system_config/edit/section/web/)

]]>
By: Paul https://jwills.co.uk/2009/03/running-multiple-magento-stores-on-multiple-domains-from-a-single-indexphp/#comment-205 Mon, 15 Feb 2010 10:13:31 +0000 http://maglife.co.uk/?p=32#comment-205 Dear all,

I would greatly appreciate your advice. I think I face an SEO issue with the configuration of my multi web sites. Here you are what I have :

site.fr
site.com
site.de
site.ru
site.cn

When I look the code source they all get their “stylesheet” from an other domain : site.info

For example the site.com code source is :

link rel=”stylesheet” type=”text/css” href=”http://www.site.info/skin/frontend/sitecom/site/css/reset.css” media=”all” />
link rel=”stylesheet” type=”text/css” href=”http://www.site.info//skin/frontend/sitecom/site/css/boxes.css” media=”all” />

When I look the magento mall example it is more like i should have somthing like that :

link rel=”stylesheet” type=”text/css” href=”http://www.site.com/skin/frontend/sitecom/site/css/reset.css” media=”all” />
link rel=”stylesheet” type=”text/css” href=”http://www.site.com/skin/frontend/sitecom/site/css/boxes.css” media=”all” />

I do think that this is an SEO issue specilay for google. Would it be possible that google does not like the fact the some files of the code come from an other domain?

I wonder that because I am very well rank (1st or 2nd place) for more than 150 keywords on Yahoo, Baidou and Yandex, but I stay at 2nd or 3rd page one google.

What do you think of that?

Thank you for your answer

]]>
By: d00d https://jwills.co.uk/2009/03/running-multiple-magento-stores-on-multiple-domains-from-a-single-indexphp/#comment-204 Wed, 10 Feb 2010 01:06:01 +0000 http://maglife.co.uk/?p=32#comment-204 dude! awesome awesome awesome. This is a really great way of making this happen. I wish I’d found it earlier.

]]>
By: Viacheslav https://jwills.co.uk/2009/03/running-multiple-magento-stores-on-multiple-domains-from-a-single-indexphp/#comment-203 Wed, 20 Jan 2010 16:53:15 +0000 http://maglife.co.uk/?p=32#comment-203 I had the similar problem as Tal Mor, but in my case the solution was to put cookies path as “/” in Backend->System->Configuration->Web->Session Cookie management->Cookie Path

]]>
By: Amit https://jwills.co.uk/2009/03/running-multiple-magento-stores-on-multiple-domains-from-a-single-indexphp/#comment-202 Fri, 02 Oct 2009 07:39:21 +0000 http://maglife.co.uk/?p=32#comment-202 http://www.magento-mall.com/

I want to develop the same site on my local machine (except design) but the functionality and url pattern should be same).
PLease help me Jools.

ANd shopping cart should share common in all store. and i have to implement in on my local machine and then to webserver.

Please help Jools waiting for u r valuable answer with the steps to be followed to implement it on local machine.
Thanks In advance

]]>
By: jai https://jwills.co.uk/2009/03/running-multiple-magento-stores-on-multiple-domains-from-a-single-indexphp/#comment-201 Fri, 11 Sep 2009 10:51:45 +0000 http://maglife.co.uk/?p=32#comment-201 Do i have to add firstly the language folder like nl_NL ( for Dutch) for this on app/locale folder? .Or it needed only these changes.

]]>
By: MKG https://jwills.co.uk/2009/03/running-multiple-magento-stores-on-multiple-domains-from-a-single-indexphp/#comment-200 Mon, 22 Jun 2009 01:26:33 +0000 http://maglife.co.uk/?p=32#comment-200 I am trying to get to the point where this is the issue:
http://www.magentocommerce.com/boards/viewthread/33300/
I’m pretty sure it is possible, I just don’t know what to call. BTW the domains are on the same host. 1 dedicated ip with SSL, the other is an add on domain (index.php , .htaccess, and with to codebase)

]]>
By: Jools Wills https://jwills.co.uk/2009/03/running-multiple-magento-stores-on-multiple-domains-from-a-single-indexphp/#comment-199 Mon, 22 Jun 2009 01:15:37 +0000 http://maglife.co.uk/?p=32#comment-199 In reply to MKG.

I don’t think you can do that. To share the cart, each store must live under a single website, and run from the same domain. Of course you could have store.domain and store2.domain (in that case you might need to set the cookie domain differently in the admin panel).

]]>
By: MKG https://jwills.co.uk/2009/03/running-multiple-magento-stores-on-multiple-domains-from-a-single-indexphp/#comment-198 Mon, 22 Jun 2009 00:51:25 +0000 http://maglife.co.uk/?p=32#comment-198 How do you get two different domains to share cart contents with the session id. Any syntax help would be appreciated. Two websites, two stores, shared checkout.

]]>
By: Tal Mor https://jwills.co.uk/2009/03/running-multiple-magento-stores-on-multiple-domains-from-a-single-indexphp/#comment-197 Wed, 03 Jun 2009 08:10:27 +0000 http://maglife.co.uk/?p=32#comment-197 In reply to Tal Mor.

SOLVED!

I copied the php.ini file in the root folder of magento to my second store subfolder and voila!

What is probably happening is that this php.ini overrides some settings of the main php.ini of my host and apparently this doesn’t happen unless it’s in the root folder of the store.

Thanks for all your help.

]]>
By: Tal Mor https://jwills.co.uk/2009/03/running-multiple-magento-stores-on-multiple-domains-from-a-single-indexphp/#comment-196 Tue, 02 Jun 2009 11:45:59 +0000 http://maglife.co.uk/?p=32#comment-196 Another find is that on my local installation ( identical to my remote one ) running xampp on windows everything works fine when using your instructions.

So I guess I will try to email my hosting provider although I’m pretty sure he will not have a clue.

Tal

]]>
By: Jools Wills https://jwills.co.uk/2009/03/running-multiple-magento-stores-on-multiple-domains-from-a-single-indexphp/#comment-195 Tue, 02 Jun 2009 11:34:13 +0000 http://maglife.co.uk/?p=32#comment-195 In reply to Tal Mor.

yes.

]]>
By: Tal Mor https://jwills.co.uk/2009/03/running-multiple-magento-stores-on-multiple-domains-from-a-single-indexphp/#comment-194 Tue, 02 Jun 2009 11:21:50 +0000 http://maglife.co.uk/?p=32#comment-194 In reply to Jools Wills.

Another question:

In your site structure, are the symbolic links ?
js -> ../magento/js
media -> ../magento/media
skin -> ../magento/skin

]]>
By: Jools Wills https://jwills.co.uk/2009/03/running-multiple-magento-stores-on-multiple-domains-from-a-single-indexphp/#comment-193 Tue, 02 Jun 2009 10:51:25 +0000 http://maglife.co.uk/?p=32#comment-193 my rewrite solution above makes magento think it is running two stores from the same folder even though it isn’t.

]]>
Powered by atecplugins.com