We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 1664
    • 2 Posts
    Do resource aliases have to be all lower case? I type a mixed-case alias and after saving the resource the alias is converted to all lower-case.
      • 22303 MODX Staff
      • 10,725 Posts
      Quote from: Angel at Mar 25, 2010, 02:11 PM

      Do resource aliases have to be all lower case? I type a mixed-case alias and after saving the resource the alias is converted to all lower-case.
      Nope, just add a new System (or Context) Setting with the key ’friendly_alias_lowercase_only’ and set the value to 0. This is a new optional setting that needs to be documented along with many other optional alias Settings now available. I’ll work on documenting all of these this evening.

      Here is a preview of all the new optional alias settings now available in RC1:

      [*] friendly_alias_word_delimiter [default=’-’]
      [*] friendly_alias_word_delimiters [default=’-_’]
      [*] friendly_alias_max_length [default=0]
      [*] friendly_alias_strip_element_tags [default=1]
      [*] friendly_alias_trim_chars [default=’/.’ + friendly_alias_word_delimiters]
      [*] friendly_alias_restrict_chars [default=pattern]
      [*] friendly_alias_restrict_chars_pattern [default=’/[\0\x0B\t\n\r\f\a&=+%#<>"~`@\?\[\]\{\}\|\^\’\\\\]/’]
      [*] friendly_alias_lowercase_only [default=1]
      [*] friendly_alias_translit [default=iconv (if iconv is enabled) or none otherwise]
      [*] friendly_alias_translit_class [default=translit.modTransliterate]