Click or drag to resize
PresentationUrlNormalizerNormalize Method
Ensures correct format of the presentationUrl.

Namespace: CMS.SiteProvider.Internal
Assembly: CMS.SiteProvider (in CMS.SiteProvider.dll) Version: 13.0.131
Syntax
C#
public static NormalizedPresentationUrl Normalize(
	string presentationUrl
)

Parameters

presentationUrl
Type: SystemString
URL

Return Value

Type: NormalizedPresentationUrl
Remarks

Following rules are applied

Protocol is removed.

'www' is removed.

Trailing slash is ensured.

See Also