Click or drag to resize
URLRewriterRewriteUrl Method (String, ExcludedSystemEnum, SiteNameOnDemand, ViewModeOnDemand)
Applies rewriting to actual URL.

Namespace: CMS.URLRewritingEngine
Assembly: CMS.URLRewritingEngine (in CMS.URLRewritingEngine.dll) Version: 10.0.0
Syntax
C#
protected static RequestStatusEnum RewriteUrl(
	string relativePath,
	ExcludedSystemEnum excludedEnum,
	SiteNameOnDemand siteName,
	ViewModeOnDemand viewMode
)

Parameters

relativePath
Type: SystemString
Relative path
excludedEnum
Type: CMS.HelpersExcludedSystemEnum
Excluded page status
siteName
Type: CMS.SiteProviderSiteNameOnDemand
Site name
viewMode
Type: CMS.PortalEngineViewModeOnDemand
View mode

Return Value

Type: RequestStatusEnum
Returns how current URL was processed
See Also