WordPress.org

Support

Support » Alpha/Beta » networks site names width dots

networks site names width dots

  • It will be good to allow point symbol in the network’s site name, when in subdirectory mode.
    This is useful, when doing site name from name’s first letter and surname such as “examlple.com/n.surname”

    I use such names about two years on my WordPress networks, but each time I must edit WordPress source code.

    Always need to change [_0-9a-zA-Z-] to [\._0-9a-zA-Z-] in the:
    * .htaccess
    * before WP 3.1 version wp-admin/ms-edit.php 149 line
    * in WP 3.1 tested version wp-admin/network/site-new.php 37 line if ( ! preg_match( '/(--)/', $blog['domain'] ) && preg_match( '|^([a-zA-Z0-9-])+$|', $blog['domain'] ) )

    No problems were found with used plugins.

Viewing 1 replies (of 1 total)
  • The reason that’s not permitted is because not every host supports n.surname.example.com (which is the URL you’d get if you flipped over from subfolder to subdomain). So to protect you from the possibility of crashing and burning, you get what we’ve got.

Viewing 1 replies (of 1 total)
  • The topic ‘networks site names width dots’ is closed to new replies.