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
I'm using this on an Umbraco 7 website
@{ var canonicalUrl = Model.UrlWithDomain(); } <link rel="canonical" href="@canonicalUrl" itemprop="url" />
But this doesn't work in Umbraco 10 - any ideas how I do this?
Thanks Darren
Model.Url(mode: UrlMode.Absolute)
Thanks so much - sorry for the delay!
is working on a reply...
Write your reply to:
Upload image
Image will be uploaded when post is submitted
Trying to create a canonical URL in Umbraco 10.
I'm using this on an Umbraco 7 website
But this doesn't work in Umbraco 10 - any ideas how I do this?
Thanks Darren
Thanks so much - sorry for the delay!
is working on a reply...