Virtual Happy Hour this month, Jun 28, we'll be getting a sneak preview at our soon to launch SaaS CMS!

Try our conversational search powered by Generative AI!

Generating SEO Friendly Url for ContentReference



I have a catalog node (category node) in commerce that i want to generate a firendly url to. I want to use the string saved on the Url property. How is that done?

Jul 02, 2014 12:18
var urlResolver = ServiceLocator.Current.GetInstance();
var pageUrl = urlResolver.GetUrl(YouContentLink);
var uriBuilder = new UriBuilder(SiteDefinition.Current.SiteUrl);
uriBuilder.Path = pageUrl;


Something like this?

Jul 02, 2014 12:37
* You are NOT allowed to include any hyperlinks in the post because your account hasn't associated to your company. User profile should be updated.