Click or drag to resize
PageRoutingHelperEnsureAbsoluteUrlFormat Method
Ensures correct page absolute URL format based on settings configuration for the content tree based router.

Namespace: CMS.DocumentEngine.Routing
Assembly: CMS.DocumentEngine (in CMS.DocumentEngine.dll) Version: 13.0.131
Syntax
C#
public static bool EnsureAbsoluteUrlFormat(
	string absoluteUrl,
	SiteInfoIdentifier siteIdentifier,
	out string formattedAbsoluteUrl
)

Parameters

absoluteUrl
Type: SystemString
Page absolute URL.
siteIdentifier
Type: CMS.DataEngineSiteInfoIdentifier
Site.
formattedAbsoluteUrl
Type: SystemString
When the return value is true formatted URL is returned otherwise the original URL is returned.

Return Value

Type: Boolean
True if the given path URL formatted.
See Also