WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] Multisite issue on new install (3 posts)

  1. bluefrog_klz
    Member
    Posted 2 years ago #

    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!

  2. 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?

  3. bluefrog_klz
    Member
    Posted 2 years ago #

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

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

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.