域和子域网址

发布于 2024-12-31 21:09:14 字数 221 浏览 5 评论 0原文

我建立了多语言网站并决定对不同语言使用以下方案: de.mydomain.com cz.mydomain.com 等等。

但我对英文主网站有疑问。我应该使用: A) mydomain.com B) www.mydomain.com

版本 A 会导致任何问题并且不应该使用吗?或者我选择哪种类型并不重要?我看到许多带有 lang.domain.com url 的国际网站在主网站上使用 www...

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...

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

南薇 2025-01-07 21:09:14

请让 www.mydomain.com 和 mydomain.com 为同一网站。

您的浏览器指示您希望以哪种语言显示内容 - 您应该使用这种方法,除了很好(如维基百科)并让人们直接访问 de.mydomain.com、cz.mydomain,com、eo.mydomain.com 之外,还在登陆页面上的某个位置提供了一个语言更改链接, ETC。

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.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文