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: 8.2.23
Syntax
C#
protected static string GetRelativePathFromUrl(
	string url
)

Parameters

url
Type: SystemString
URL

Return Value

Type: String
See Also