Support » Networking WordPress » Multisite issue on new install

  • Resolved bluefrog_klz

    (@bluefrog_klz)


    I’ve successfully installed WordPress 3.3.2 and am able to use Multisite for Subdirectories. My problem is that my root domain will only display the generic apache “It works” page. All the sites I create, of course, go into subdirectories and work great! I just need http://mydomain.com to be my main site…

    I have installed wordpress in the root directory…

    wp-config has the following lines added:

    define('WP_ALLOW_MULTISITE', true);
    
    define( 'MULTISITE', true );
    define( 'SUBDOMAIN_INSTALL', false );
    $base = '/';
    define( 'DOMAIN_CURRENT_SITE', '192.168.90.38' );
    define( 'PATH_CURRENT_SITE', '/' );
    define( 'SITE_ID_CURRENT_SITE', 1 );
    define( 'BLOG_ID_CURRENT_SITE', 1 );

    htaccess:

    RewriteEngine On
    RewriteBase /
    RewriteRule ^index\.php$ - [L]
    
    # uploaded files
    RewriteRule ^([_0-9a-zA-Z-]+/)?files/(.+) wp-includes/ms-files.php?file=$2 [L]
    
    # add a trailing slash to /wp-admin
    RewriteRule ^([_0-9a-zA-Z-]+/)?wp-admin$ $1wp-admin/ [R=301,L]
    
    RewriteCond %{REQUEST_FILENAME} -f [OR]
    RewriteCond %{REQUEST_FILENAME} -d
    RewriteRule ^ - [L]
    RewriteRule  ^[_0-9a-zA-Z-]+/(wp-(content|admin|includes).*) $1 [L]
    RewriteRule  ^[_0-9a-zA-Z-]+/(.*\.php)$ $1 [L]
    RewriteRule . index.php [L]

    Any help is appreciated!

Viewing 2 replies - 1 through 2 (of 2 total)
  • Moderator Ipstenu (Mika Epstein)

    (@ipstenu)

    🏳️‍🌈 Halfelf Rogue & Plugin Review Team Rep

    I’ve successfully installed WordPress 3.3.2 and am able to use Multisite for Subdirectories. My problem is that my root domain will only display the generic apache

    Did you install WP in a subfolder? Or is there still an old index.html file sitting in root?

    Or is there still an old index.html file sitting in root?

    That fixed it. I officially feel silly. Thanks for the help!

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Multisite issue on new install’ is closed to new replies.