| URLHelperGetSafeUrlPart Method  | 
            Returns the safe part of URL. This method doesn't process complete URL it handles only part of URL.
            
 
Namespace: CMS.HelpersAssembly: CMS.Helpers (in CMS.Helpers.dll) Version: 11.0.0
Syntaxpublic static string GetSafeUrlPart(
	string part,
	string siteName,
	bool removeDiacritics = true,
	bool limitReplacements = true,
	string additionalAllowedCharacters = null
)
Parameters
- part
 - Type: SystemString
String with URL part which may contain URL-unsafe characters. Enter only part of URL without any '/' characters - siteName
 - Type: SystemString
Site name from where forbidden characters should be taken - removeDiacritics (Optional)
 - Type: SystemBoolean
Indicates if diacritics should be removed from the URL part - limitReplacements (Optional)
 - Type: SystemBoolean
Indicates if replacements should be aggregated into single replacement character if found multiple invalid characters in row - additionalAllowedCharacters (Optional)
 - Type: SystemString
Additional allowed characters for the URL part 
Return Value
Type: 
String
See Also