Language switcher switching between domains

Language switcher switching between domains

josa1
Visitor
3 0 0

Hello all,

 

I believe this issue with language switcher will be relevant for many as it's an important aspect for SEO. Note - I use Shopify Dawn theme. 

 

I currently have a 2-language store - one in English, one in another (German) language. 

In the past I had English version using .com domain and German language .com/de

 

However, as I've learnt that Germany was the primary market, it was much better to use .de domain instead of .com/de . In addition to this, href settings were incorrect if used .com and .com/de (Shopify markets settings). So I've purchased .de domain and wanted to move German language to .de domain and keep the .com domain for English language and international buyers. However, I would like to keep the language switcher available on the website (same as before) so that clients could switch between languages, but the switcher would switch between domains (.com -> .de and vice versa) and not to between subdirectories as it is now (.com -> .com/de and .de -> .de/en). currently all the pages are duplicates (.com = .de/en and .de = .com/de) as there is no other way to keep the switcher and it's not letting Google index pages well.

 

Has anybody solved this problem?

 

 

Replies 5 (5)

SaaSQuadrat
Shopify Partner
27 3 4

Hi Josa1,

 

I don't think there is an out-of-the-box solution for this. A quick search in the App Store also, didn't bring up anything suitable.

 

Just to check, I understand you correctly: You point both domains to the same Shopify shop? Or do you have two dedicates shops, one for each language?

 

By switching language, do you expect to stay on the same page, or do you think it's enough to land on the other language's home page?

 

Best,

Andreas

Andreas Scheucher - SaaSQuadrat - Software developer of > 20 years & former Shopify merchant of > 5 years
• Shop with > 250.000 product variants? • GPDR compliant shops? • Inhouse stock, print on deman, 3PL / third party logistics? • Theme adoptoins? • Custom integrations?
Been there, done that. Here to help you get up and running.
josa1
Visitor
3 0 0

Hi Andreas,

 

Thank you for a quick reply.

 

You understand it correct, both domains point to the same shop.

 

Regarding staying on the same page or landing on homepage - I believe it would be better to stay on the same page, but it all depends on how hard/easy it is to implement. Just looking for the easiest & working solution, so landing on the homepage would be absolutely fine as well.

 

Thanks.

 

 

sahilsharma9515
Shopify Partner
1257 163 241

Hi @josa1 Welcome to the Community!

 

As you have mentioned that you have already bought the .de domain then you can attach the same to the other market with the option that shopify provides i.e. use Separate domain for the market.

sahilsharma9515_0-1727951299966.png

If you are wondering how to attach then you first need to attach the other domain that you have bought in your shopify store, and then when you click on add existing domain, you will see the domain and you can attach the same.

 

Hopefully it will help you. If yes then Please don't forget hit Like and Mark it as solution!

 

Best Regards

Sahil

- Your

 Coffee Tip 

can create magic in coding ❤️❤️

- Need a Shopify Developer? CHAT ON WHATSAPP or EMAIL ME !


- Hopefully the solution will help you. If yes then Please hit

 Like 

and

 Mark it as solution! ❤️


josa1
Visitor
3 0 0

Hello,

 

thanks for the answer, however, that's exactly how I've done it now and it doesn't solve the problem of duplicate pages.

 

As for one market (Primary market, Germany) now there is .de (German language) and .de/en (English language)

and for international market now there is .com (English language) and .com/de (German language)

sahilsharma9515
Shopify Partner
1257 163 241

Hi @josa1 Can you please send me the screenshot of the market section so that I can look into this, as there should not be the duplicate pages.

 

Best Regards

Sahil

- Your

 Coffee Tip 

can create magic in coding ❤️❤️

- Need a Shopify Developer? CHAT ON WHATSAPP or EMAIL ME !


- Hopefully the solution will help you. If yes then Please hit

 Like 

and

 Mark it as solution! ❤️