Click or drag to resize
PageInfoProviderGetPageInfoForUrl Method
Parses the provided URL and returns a PageInfo object describing the required page.

Namespace: CMS.DocumentEngine
Assembly: CMS.DocumentEngine (in CMS.DocumentEngine.dll) Version: 8.2.23
Syntax
C#
public static PageInfo GetPageInfoForUrl(
	string url,
	string cultureCode,
	string defaultAliasPath,
	bool combineWithDefaultCulture,
	bool isDocumentPage,
	string siteName
)

Parameters

url
Type: SystemString
Full url of the request, including domain name, application, path and extension
cultureCode
Type: SystemString
Current document culture code
defaultAliasPath
Type: SystemString
Default alias path to use in case of default page, if null the path is taken from the system configuration
combineWithDefaultCulture
Type: SystemBoolean
Combine with default culture?
isDocumentPage
Type: SystemBoolean
Is document page
siteName
Type: SystemString
Site name

Return Value

Type: PageInfo
Returns null if no such page exists.
See Also