Click or drag to resize
URLHelperGetAbsoluteUrl Method (String, String)
Returns the absolute URL (including port) representation for the given relative URL, uses given domain and application path.

Namespace: CMS.Helpers
Assembly: CMS.Helpers (in CMS.Helpers.dll) Version: 13.0.131
Syntax
C#
public static string GetAbsoluteUrl(
	string relativeUrl,
	string domainName
)

Parameters

relativeUrl
Type: SystemString
Relative URL to translate
domainName
Type: SystemString
Domain name

Return Value

Type: String
See Also