Click or drag to resize
URLRewriterGetRelativePathFromUrl Method
Returns relative path from url. Example: http://www.domain.com/mypage.aspx => /mypage.aspx

Namespace: CMS.URLRewritingEngine
Assembly: CMS.URLRewritingEngine (in CMS.URLRewritingEngine.dll) Version: 12.0.0
Syntax
C#
protected static string GetRelativePathFromUrl(
	string url
)

Parameters

url
Type: SystemString
URL

Return Value

Type: String
See Also