UrlHelperPageExtensionsPageCanonicalUrl Method |
Gets canonical URL of the current page.
Namespace: Kentico.Content.Web.MvcAssembly: Kentico.Content.Web.Mvc (in Kentico.Content.Web.Mvc.dll) Version: 13.0.131
Syntax Remarks
Returns the page main URL in case of alternative URL, the URL of a page retrieved from the data context or the original page in case of a linked page.
If none of the previous apply the current request URL is returned.
See Also