Is there anyone here who has successfully removed sitecore/content from Sitecore’s generated URLs.
I’m using Sitecore link manager to generate the URLs. I have a multi site setup and have enabled the Siteresolving option to true. However, it seems that there is no way to get this to work using the Link Manager.
GetFriendlyUrl methods seems to generate the URL without sitecore/content but unfortunately it’s deprecated, so it’s not an option here.
I’ve seen people suggesting overwriting the LinkProvider and write custom logic to remove sitecore/content from the URLs. This works but not a good solution really.
I would love to learn from other Sitecore experts here.
FYI: I’m using Sitecore 6.4.
Cheers!
I’ve found the solution. My multi-site configuration was correct as per Mark’s reference. What I did to fix the issue was to specify the site context to use when generating the links.