How to link multiple domains to one store and redirect non-www traffic?

How to link multiple domains to one store and redirect non-www traffic?

Marc_Mayr
Shopify Partner
76 1 14

Hi,

we want to connect multiple domains to one store 
www.abc-germany.de
www.abc-switzerland.ch
www.abc-austria.at

 

at the same time we always want to redirect non-www traffic to the www. domain in order to not have cookie issues in the cart as we noticed www.abc-germany.de and abc-germany.de do not share the cart?

Any suggestions are greatly appreciated!

Replies 7 (7)

Cal
Shopify Staff
989 103 173

Hey @!

 

Cal here from Shopify, thanks for reaching out to us. Are you looking to connect multiple domains to your Shopify store? Are they third-party domains? Who is your domain host?

 

Once you have connected your domains to the store, you can choose one of those domains to be your primary domain. Once the domains are all connected to the store, they will be redirected to the primary domain, and they will all use the same cart and checkout. 

 

Let me know how you are finding those guides, and if you encounter any trouble! 

Cal | Social Care @ Shopify 
 - Was my reply helpful? Click Like to let me know! 
 - Was your question answered? Mark it as an Accepted Solution
 - To learn more visit the Shopify Help Center or the Shopify Blog

Marc_Mayr
Shopify Partner
76 1 14

@Cal please read my initial post again. We want to redirect all non-www traffic of all 3 domains to www.

Cal
Shopify Staff
989 103 173

Hi again! If you are looking to redirect all root (non-www) domains to a primary www domain, you can do so by following the guide on setting a primary domain that I added in the above post. Here's a quick snapshot of an example: 

 

 

This will ensure all domains that are linked to your store will redirect to the primary domain you have chosen. 

Cal | Social Care @ Shopify 
 - Was my reply helpful? Click Like to let me know! 
 - Was your question answered? Mark it as an Accepted Solution
 - To learn more visit the Shopify Help Center or the Shopify Blog

Marc_Mayr
Shopify Partner
76 1 14

@Cal but this will also redirect 
abc-switzerland.ch -> abc-germany.de

but what I'd like to achieve is
abc-switzerland.ch -> www.abc-switzerland.ch
abc-germany.de -> www.abc-germany.de

Cal
Shopify Staff
989 103 173

I'm afraid that this wouldn't be possible on a single store. To achieve this you would need to open multiple stores for your different regions. 

 

All the best with it! 

Cal | Social Care @ Shopify 
 - Was my reply helpful? Click Like to let me know! 
 - Was your question answered? Mark it as an Accepted Solution
 - To learn more visit the Shopify Help Center or the Shopify Blog

dav3w3
Visitor
1 0 0

redirecting a domain is a good thing ?

freya0328
Pathfinder
140 1 6

I think it may be difficult for a single store to do this.

banned