在 umbraco 中分配主机名
我正在使用 umbraco cms 设置 af 多语言页面。
我的内容结构如下所示:
- 内容
- 达
- 丹麦语子页面 1
- 丹麦语子页面 2
- zh
- 英文子页面 1
- 英文子页面 2
- 达
我希望路由类似于:
http://mysite.dk 应转到 http://mysite.dk/da/danish 子页面 1
http://mysite.dk/da/ 应该转到 http://mysite.dk/da/danish 子页面 1(以及)
http://mysite.dk/en/ 应转到 http://mysite。 dk/en/english subpage 1
我知道我需要在 umbraco 中设置主机名,但我不知道该怎么做。 我无法访问 IIS,因为它位于托管环境中。
I'm setting up af multi lingual page with the umbraco cms.
I have a content structure that looks like this:
- Content
- da
- danish subpage 1
- danish subpage 2
- en
- english subpage 1
- english subpage 2
- da
I would like the routing to be something like:
http://mysite.dk should go to http://mysite.dk/da/danish subpage 1
http://mysite.dk/da/ should go to http://mysite.dk/da/danish subpage 1 (as well)
http://mysite.dk/en/ should go to http://mysite.dk/en/english subpage 1
I know I need to set up the hostnames in umbraco, but I can't figure out how to do that. I don't have access to IIS as it's in a hosted environment.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
您只需右键单击一个节点并选择出现的“主机名”选项,然后按照出现的说明进行操作
,但我认为您还需要将主机名添加到 IIS。
you just right click on a node and select the 'hostnames' option which appears, then follow the instructions that appear
But I think you will also need to add the hostname to IIS.