URLHelper GetAbsoluteUrl Method (String, String, String, String)Kentico 8.1 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.1.5347.20411)

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