TreePathUtilsGetRedirectionUrl Method (String, String, String, String, Boolean, MacroResolver) |
Gets relative redirection URL based on given settings
Namespace: CMS.DocumentEngineAssembly: CMS.DocumentEngine (in CMS.DocumentEngine.dll) Version: 9.0.0
Syntaxpublic static string GetRedirectionUrl(
string siteName,
string aliasPath,
string cultureCode,
string documentMenuRedirectUrl,
bool documentMenuRedirectToFirstChild,
MacroResolver resolver = null
)
Parameters
- siteName
- Type: SystemString
Site name - aliasPath
- Type: SystemString
Node alias path - cultureCode
- Type: SystemString
Document culture code - documentMenuRedirectUrl
- Type: SystemString
Redirection URL - documentMenuRedirectToFirstChild
- Type: SystemBoolean
Indicates if document should redirect to first child document - resolver (Optional)
- Type: CMS.MacroEngineMacroResolver
Macro resolver to use
Return Value
Type:
String
See Also