URLHelper GetAbsoluteUrl Method (String, String, String, String)Kentico 8.0 API Reference
Returns the absolute URL for the given relative URL based on the given paths.

Namespace: CMS.Helpers
Assembly: CMS.Helpers (in CMS.Helpers.dll) Version: 8.0.0.0 (8.0.5239.26125)

Parameters

relativeUrl
Type: OnlineSystem String
Relative URL to translate to absolute
domainUrl
Type: OnlineSystem String
Domain (server) URL, for /xxx URLs
applicationUrl
Type: OnlineSystem String
Application URL (including server), for ~/ URLs
currentPath
Type: OnlineSystem String
Current execution path, for directory relative URLs

Return Value

Type: OnlineString
See Also