在 umbraco 中分配主机名 [英] Assigning hostnames in umbraco

查看:23
本文介绍了在 umbraco 中分配主机名的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在使用 umbraco cms 设置 af 多语言页面.

I'm setting up af multi lingual page with the umbraco cms.

我的内容结构如下所示:

I have a content structure that looks like this:

  • 内容
      • 丹麦语子页面 1
      • 丹麦语子页 2
      • 英文子页面 1
      • 英文子页面 2

      我希望路由类似于:

      http://mysite.dk 应该转到 http://mysite.dk/da/danish 子页 1

      http://mysite.dk should go to http://mysite.dk/da/danish subpage 1

      http://mysite.dk/da/ 应该转到 http://mysite.dk/da/danish 子页面 1(以及)

      http://mysite.dk/da/ should go to http://mysite.dk/da/danish subpage 1 (as well)

      http://mysite.dk/en/ 应该转到 http://mysite.dk/en/english subpage 1

      http://mysite.dk/en/ should go to http://mysite.dk/en/english subpage 1

      我知道我需要在 umbraco 中设置主机名,但我不知道该怎么做.我无权访问 IIS,因为它位于托管环境中.

      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.

      推荐答案

      您只需右键单击一个节点并选择出现的主机名"选项,然后按照出现的说明进行操作

      you just right click on a node and select the 'hostnames' option which appears, then follow the instructions that appear

      但我认为您还需要将主机名添加到 IIS.

      But I think you will also need to add the hostname to IIS.

      这篇关于在 umbraco 中分配主机名的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆