Try the Demo

Magento Forum

   
multi-language / Multi-domain question
 
PhilippeH
Jr. Member
 
Total Posts:  23
Joined:  2010-07-09
 

Hello
I need to configure a site with multi-language / Multi-domain.

I have a site : domaine.com

So I go in “System > Configuration > web > Unsecure” and I change the Base URL for the spain store to domaine.es
Now on the site when I’m on “domaine.com” and when I change the language spain (flag) : from domaine.com, I go to domaine.es

BUT “domaine.es” don’t point on my site ! How can I do for : “domaine.es” point on my Magento site but with the url domaine.es. And no redirection from domaine.es to domaine.com

I want to switch .es or .com or .de or .de and stay on the same Magento site with the domaine name .es or .com or .de or .de

Can you help me, please

Phil

 
Magento Community Magento Community
Magento Community
Magento Community
 
easypdfinvoice
Sr. Member
 
Avatar
Total Posts:  115
Joined:  2012-09-13
 

Hi,
This is easy just put this code to your .htaccess file. 

SetEnvIf Host .*domain1.com.* MAGE_RUN_CODE=domain1

SetEnvIf Host 
.*domain1.com.* MAGE_RUN_TYPE=store

SetEnvIf Host 
.*domain2.com.* MAGE_RUN_CODE=default

SetEnvIf Host .*domain2.com.* MAGE_RUN_TYPE=store

Good luck!

 Signature 

Easy PDF Invoice
Make your website to higher level!
DOWNLOAD FREE

Features:
- Allow you add new invoice template by upload your own HTML template
- Multiple PDF layout, you can have different PDF layout for each store and each customer group
- Allow to attach order pdf in email
- Multiple Currency
- Multiple Language
- Compatible CE 1.4.x->1.7.x, EE 1.7.x->1.12.x
...

 
Magento Community Magento Community
Magento Community
Magento Community
 
PhilippeH
Jr. Member
 
Total Posts:  23
Joined:  2010-07-09
 

Thanks,

Ok for exemple domaine.es and domaine.com :

With your solution, domaine.com -> Magento site and domaine.es -> Magento site, but here all the link are on domaine.com/ and not on domaine.es/

Any idea ?

 
Magento Community Magento Community
Magento Community
Magento Community
 
vjtemplates
Sr. Member
 
Avatar
Total Posts:  234
Joined:  2010-12-15
Washington, USA
 

After you’ve done with the multi-store setup, you can assign each store with a specific language. Just go to System - Configuration - General - Locale Options - Locale. Select the Store View from the Current Configuration Scope, then assign the language.

 Signature 

Premium Themes

Product Badges

7-in-1 Product Gallery

Ajax Login and Registration

Google Translate

Accordion FAQs

Featured, Best Seller Carousel

Breaking News, Page Peel Advertising

Country & IP Block

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