Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Domain & subdomain url

I build multilingual site and decided to use following scheme for different languages: de.mydomain.com cz.mydomain.com and so on.

But I have a question about main site, which is in English. Should I use: A) mydomain.com B) www.mydomain.com

Could version A cause any problems and shouldn't be used? Or is it not important which type I chose? I see that many international sites with lang.domain.com urls use www on the main site...

like image 611
DBR Avatar asked Jan 23 '26 10:01

DBR


1 Answers

Have www.mydomain.com and mydomain.com be the same site, please please please.

Your browser indicates what language you wish to display content in — you should use this method, but also provide a language-changing link somewhere on the landing page, in addition to being nice (like Wikipedia) and letting folks go directly to de.mydomain.com, cz.mydomain,com, eo.mydomain.com, etc.

like image 184
Andrew Beals Avatar answered Jan 26 '26 00:01

Andrew Beals



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!