简体   繁体   中英

Subdomain shows full relative path from main domain on shared hosting, How to correct it

In GoDaddy shared windows hosting, Any domain/subdomain I hosted on Subfolders, shows complete Relative Path in browser address bar. Can any one suggest a workaround/fix for this issue.

eg Go to us.justcustomercare.com, notice any link in this page shows full relative path /us.justcustomercare.com/domains/us.justcustomercare.com/

I am using Razor , LinkExtensions.ActionLink to create the html anchors in Asp.net MVC4.

Based on the MSDN documentation LinkExtensions.ActionLink Method

Returns an anchor element (a element) that contains the virtual path of the specified action.

Instead, use @Html.ActionLink()

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM