Gets the friendly page path.

Namespace:  EPiServer.Web
Assembly:  EPiServer (in EPiServer.dll) Version: 5.2.375.236

Syntax

C#
protected static string GetFriendlyPagePath(
	PageReference pageReference,
	string currentLanguageBranch
)

Parameters

pageReference
Type: EPiServer.Core..::.PageReference
The page reference.
currentLanguageBranch
Type: System..::.String
The current language branch.

Return Value

A path representing the page, possibly with an extension

Exceptions

ExceptionCondition
EPiServer.Core..::.EPiServerExceptionIf not possible to find a Friendly path

See Also