Umbraco 不正确的“文档链接”;设置主机名时
基本上为 Node1 定义了一个域(管理主机名选项)并具有 Umbraco 树结构
Content
+ en
+ Node1
+ Subnode1
+ Subnode2
+ Node2
+ es
+ Node3
…
当检查“Subnode1”属性时,“链接到文档”和“替代链接”路径不一致:
Link to document: /Node1/subnode1.aspx
Alternative Links: http://www.domain.com/subnode1.aspx
我想删除文件夹“/Node1” /' 在“链接到文档”中,它在 NiceUrl 中返回,并且弄乱了我在页面上的 Url 链接。
我只想:
Link to document: /subnode1.aspx
Alternative Links: http://www.domain.com/subnode1.aspx
尝试按照以下步骤操作 http:// our.umbraco.org/forum/using/ui-questions/3505-Change-site-root-node,-NiceUrl-doesnt-change 但运气不好,我得到的唯一结果是:
Page not found
umbraco tried this to match it using this xpath query'/domainprefixes-are-used-so-i-do-not-work')
This page can be replaced with a custom 404 page
希望我能得到一些有用的答复:) 谢谢
Basically defined a domain (Manage hostnames option) for Node1 and have Umbraco tree structure
Content
+ en
+ Node1
+ Subnode1
+ Subnode2
+ Node2
+ es
+ Node3
…
When check ‘Subnode1’ properties have that ‘Link to document’ and ‘Alternative Links’ path are inconsistent:
Link to document: /Node1/subnode1.aspx
Alternative Links: http://www.domain.com/subnode1.aspx
I would like to get rid of the folder ‘/Node1/’ in ‘Link to document’, that is returned in NiceUrl and is messing my Url links on pages.
I would like to only have:
Link to document: /subnode1.aspx
Alternative Links: http://www.domain.com/subnode1.aspx
Tried to follow steps in
http://our.umbraco.org/forum/using/ui-questions/3505-Change-site-root-node,-NiceUrl-doesnt-change
but no luck the only thing I get is:
Page not found
umbraco tried this to match it using this xpath query'/domainprefixes-are-used-so-i-do-not-work')
This page can be replaced with a custom 404 page
Hope I get some helpful reply :)
Thanks
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
尝试在此处实施该解决方案:
http://our.umbraco.org/forum/ using/ui-questions/5481-niceurl--3rd-level
另外,您是否尝试重新发布整个网站?
Try implementing the solution here:
http://our.umbraco.org/forum/using/ui-questions/5481-niceurl--3rd-level
Also, did you try to republish the entire site?