I am dynamically constructing the left menu for the product
View:
@foreach (var item in Model.Children)
{
<div class="btn btn-default">
<a id="[email protected]" href="@Sitecore.Links.LinkManager.GetItemUrl(@item)"><span class="@item["Icon"]"></span><span class="nameText">@item["Title"]</span></a>
</div>
}
when clicking the link am getting url as QAV1/sitecore/Content/Property/Ridgepoint/Photos?sc_lang=en
how to avoid sitecore/content/ in the url?
Site Definition:
<site name="qav1" patch:before="site[@name='website']"
virtualFolder="/"
physicalFolder="/"
rootPath="/sitecore/content/Property/"
startItem="/Home"
database="web"
domain="extranet"
allowDebug="false"
cacheHtml="true"
htmlCacheSize="50MB"
enablePreview="true"
enableWebEdit="true"
enableDebugger="true"
useDisplayName="true"
disableClientData="false"/>
</sites>