WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] WP3.0 Multisite - Subdomain Problems (2 posts)

  1. Terry
    Member
    Posted 4 years ago #

    Hi all,

    I've poured through the Multisite section today in search for a solution, but I couldn't find any. I have recently upgraded to WP3.0 and everything was working just fine until I decided to add a new site to the network.

    The network has been set up according to the instructions provided on the configuration page:

    define('WP_ALLOW_MULTISITE', true);
    define('MULTISITE', true);
    define('SUBDOMAIN_INSTALL', true);
    $base = '/';
    define( 'DOMAIN_CURRENT_SITE', 'teddy-o-ted.com' );
    define( 'PATH_CURRENT_SITE', '/' );
    define( 'SITE_ID_CURRENT_SITE', 1 );
    define( 'BLOG_ID_CURRENT_SITE', 1 );

    These lines were placed in wp-config.php and were above the "stop editing" warning.

    And then in my .htaccess file, there is:

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

    The subdomain has also been set up, but I'm not sure if I'm doing it correctly. It points to *.teddy-o-ted.com, with a root directory of /public_html/teddyrisation. The directory where WP3.0 was installed is at /public_html/.

    When I created a new site, e.g. tweets.teddy-o-ted.com, all I get is a blank directory listing with a cgi-bin folder. When I try to access tweets.teddy-o-ted.com/wp-admin/, I am served with an Internal Server Error message.

    However, the main site works just fine. It's just that the child sites aren't working :(

  2. Terry
    Member
    Posted 4 years ago #

    Okay, I just realized I had a big brain fart. Why on earth did I change the root directory of the wildcard DNS :P

    It should be just /public_html/

    And it worked like magic :D

Topic Closed

This topic has been closed to new replies.

About this Topic