Atlas icon indicating copy to clipboard operation
Atlas copied to clipboard

GetItemUrl returns invalid url

Open AfshinZavvar opened this issue 5 years ago • 0 comments

I had a list of articles to be retrieved as I found out that for some of articles, url is mydomain.com/articles/article1 but for some other is like /sitecore/content/home/articles/article1

So I changed return LinkManager.GetItemUrl(item); With return LinkManager.GetItemUrl(item, UrlOptions.DefaultOptions);

AfshinZavvar avatar Oct 31 '19 03:10 AfshinZavvar