WordPress.org

Ready to get started?Download WordPress

Forums

Mult-isite installed, need a little help. (5 posts)

  1. gjconker
    Member
    Posted 1 year ago #

    Hi Folks
    I can see the Multi-site dashboard and my 2 sites but when I go to site 2 I get "The requested URL /wordpress_etc/wwm2012/wp-admin/ was not found on this server. Right now there's nothing in the sub-site "wwm2012" directory (the root for the second site). What files in my second site folders do I need to make it work? I have the the multisite set for sub-directories. I know nuthin about wildcards. Sorry for being a noob.
    Thanks
    Greg

  2. gjconker
    Member
    Posted 1 year ago #

    I should mention, that my goal is to get different sites with different themes and databases but running off of one WP codebase. I've done this with Drupal but I'm new to WP. Thanks again.

  3. What's in your .htaccess file?

  4. gjconker
    Member
    Posted 1 year ago #

    Hi Mika and folks.

    OK, you were right, I forgot to add the .htaccess code that the installer generates, so I'm getting closer! here's where things are now. If I go to this page, all works well, but if I go to visit the sub-site I get the ole "Index of /womanwisewp" blank page yet I can see a post here and a page here. Is somthing I would configure in htdocs?

    Code below shows my configuration (not) for a subdomain install.

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

    And my htaccess:

    # BEGIN WordPress
    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]
    
    # END WordPress

    Sorry I'm outta my depth here and thanks again for your help.
    Greg

  5. http://multisite.pairsite.com/womanwisewp/ works now.

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags