Press Ctrl / CMD + C to copy this to your clipboard.
This post will be reported to the moderators as potential spam to be looked at
Hi,
I was wondering if there was a new method to get the Url with Domain (for use on a site map)? Both methods I've used previously appear to be obsolete.
.UrlWithDomain()
.NiceUrlWithDomain()
Solution: Http://@HttpContext.Current.Request.Url.Host@node.Url
Hope this helps the next person!
The URL doesn't link anywhere? Can you help here? Thanks
just in case anyone stumbles across this post...
the reply above was:
Http://@HttpContext.Current.Request.Url.Host@node.Url
or you can use the extension method:
node.UrlAbsolute();
hope that helps!
is working on a reply...
This forum is in read-only mode while we transition to the new forum.
You can continue this topic on the new forum by tapping the "Continue discussion" link below.
Continue discussion
Getting the Url with Domain
Hi,
I was wondering if there was a new method to get the Url with Domain (for use on a site map)? Both methods I've used previously appear to be obsolete.
.UrlWithDomain()
.NiceUrlWithDomain()
Solution: Http://@HttpContext.Current.Request.Url.Host@node.Url
Hope this helps the next person!
The URL doesn't link anywhere? Can you help here? Thanks
just in case anyone stumbles across this post...
the reply above was:
or you can use the extension method:
hope that helps!
is working on a reply...
This forum is in read-only mode while we transition to the new forum.
You can continue this topic on the new forum by tapping the "Continue discussion" link below.