1
時基本上限定的域(管理主機名選項)和具有一把umbraco樹結構一把umbraco不正確「鏈接到文件」的Node1上設置主機名
Content
+ en
+ Node1
+ Subnode1
+ Subnode2
+ Node2
+ es
+ Node3
…
當檢查「Subnode1」屬性有「鏈接到文件」和「備選鏈接」路徑不一致:
Link to document: /Node1/subnode1.aspx
Alternative Links: http://www.domain.com/subnode1.aspx
我想擺脫「/節點1 /」文件夾「鏈接到文件」,即在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
希望我可以得到一些有用的回覆: ) 謝謝
感謝您回覆azzlack。很匆忙,所以不得不爲我的項目實施一項工作。你提出的解決方案看起來很複雜,但很難理解什麼時候格式嚴重(幾乎沒用)。有人建議使用[Umbraco屬性umbracoUrlName](http://our.umbraco.org/wiki/reference/umbraco-best-practices/umbracourlname),但這並不能解決問題,因爲想要從Url中刪除完整的文件夾。 – Riga 2011-03-09 11:20:50