WordPress.org

Ready to get started?Download WordPress

Forums

Site Address, subdomain problem: Missing or invalid site address. (11 posts)

  1. mellegaard
    Member
    Posted 3 years ago #

    I have upgraded my wordpress MU 2.9.2 to 3.0 and got a problem when I am creating a new site. I use to be able to create a new site like this place.city.mydomain.com, but now I get this error: Missing or invalid site address.

    I can create a new site like this city.mydomain.com but have problem when I am adding the extra "." between place and city.

    What do I do to solve this problem?

  2. . is not a valid character for a wordpress sub-site.

    "Only the characters a-z and 0-9 recommended."

    I'm pretty sure that actually means "Only the characters a-z and 0-9 can be used".

  3. mellegaard
    Member
    Posted 3 years ago #

    This problem only started after I upgraded from 2.9.2 to the new 3.0. I hope there is a way around this problem as I have over 200 subdomains created with this "." between place and city.

    I have no problem accessing these sites, but cannot make new sites?

    "Only the characters a-z and 0-9 recommended.", should not mean I can't use the "."

  4. What if you make it named city and then change the name on the backend?

  5. mellegaard
    Member
    Posted 3 years ago #

    Thank you for the tip.

    If I create the site like this placecity.mydomain.com and then edit the site name after I can then add the "." between the place and city.

    Surely if this is possible to amend the site name after, I should also be able to create the right site name to begin with.

    I still need to find a way around this problem to make it easy for my place and city managers.

  6. Something like this plugin may help: http://wordpress.org/extend/plugins/wpmu-blog-name-restrictions-override/

    I suspect they went one up from no _ and - and added in . as well, but I have no idea why.

  7. Yeah, there was a change in there but I can't remember where or why.

    I usually do the sub-subdomains with a multi network plugin. seems smoother that way.

  8. mellegaard
    Member
    Posted 3 years ago #

    Hi Andrea_r, what multi network plugin do you use? I have searched for one where I can add/control the subdomains from but no luck so far.

    I also tried the plugin suggested by the dear ipstenu, but this plugin does not allow me as the admin to create the site place.city.mydomain.com

    Still hoping to find a solution to this problem.

  9. I use my own, which is about to go on sale again. (sorry no link)

    this should do it though.
    http://wordpress.org/extend/plugins/wp-multi-network/

  10. patinhat
    Member
    Posted 3 years ago #

    Hello, so I do have the same problem - I am new to MU also.
    I am a bit confused how it should look.
    The second and third lines ??

    Should my wp-config file look like this?

    define('WP_DEBUG', false);

    define('WP_ALLOW_MULTISITE', true);

    define( 'MULTISITE', true );
    define( 'SUBDOMAIN_INSTALL', true );
    $base = '/';
    define( 'DOMAIN_CURRENT_SITE', 'eventlightning.com' );
    define( 'PATH_CURRENT_SITE', '/' );
    define( 'SITE_ID_CURRENT_SITE', 1 );
    define( 'BLOG_ID_CURRENT_SITE', 1 );

    /* That's all, stop editing! Happy blogging. */

  11. Patinhat, it's not a problem, it's a ... Restriction.

    You're not SUPPOSED to use . in blog names :) and your file looks fine. Make a new topic and explain what your problem is please :)

Topic Closed

This topic has been closed to new replies.

About this Topic