• I am working to install a dev system for testing the Multisite capabilities for my website. I currently manage 12 separate WordPress installs and would like to simply them into a multisite.

    I have run through the install correctly (to my knowledge) and when I go to add a new site it is telling me the wp-admin of the new sub-directory is not found. What am I doing wrong?

    It is my understanding that I do not need to install wordpress on all my subdirectories since the data will all be in one database and doing each sub-directory creates a new database.

    Can someone please provide me any assistance on what I am doing wrong?

Viewing 10 replies - 1 through 10 (of 10 total)
  • Moderator Bet Hannon

    (@bethannon1)

    Are you using the subdirectory version of WP multisite? (or subdomains?)

    Make sure you are using the correct code in your htaccess for subDIRECTORIES vs. subDOMAINS

    Thread Starter anspaujd

    (@anspaujd)

    I am using sub-DIRECTORIES I am trying to set the site up for testing at wpdev.oru.edu/multisite

    The main network site works but the subdirectory of wpdev.oru.edu/multisite/kgeb doesnt load anything and this is where the confusion starts.

    My .htaccess is as follows:

    RewriteEngine On
    RewriteBase /multisite/
    RewriteRule ^index\.php$ - [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).*) $2 [L]
    RewriteRule ^([_0-9a-zA-Z-]+/)?(.*\.php)$ $2 [L]
    RewriteRule . index.php [L]

    and my wp-config file includes the following:

    /* MULTISITE INFO */
    /******************/
    
    define( 'WP_ALLOW_MULTISITE', true );
    define('MULTISITE', true);
    define('SUBDOMAIN_INSTALL', false);
    define('DOMAIN_CURRENT_SITE', 'wpdev.oru.edu');
    define('PATH_CURRENT_SITE', '/multisite/');
    define('SITE_ID_CURRENT_SITE', 1);
    define('BLOG_ID_CURRENT_SITE', 1);

    I am not sure what is wrong with it as I folllowed the walk through prior to setting up the additional sub-site but it never created anything for the dashboard or admin functions.

    Any ideas of where I went wrong?

    Moderator Bet Hannon

    (@bethannon1)

    I’m wondering if trying to set up the network on a subdomain is causing issues. But someone with more knowledge will have to weigh in on that– sorry.

    My .htaccess is as follows

    @anspaujd is your .htaccess file located under /multisite/?

    It is my understanding that I do not need to install wordpress on all my subdirectories since the data will all be in one database and doing each sub-directory creates a new database.

    In case you’ve created subdirectories like kgeb under multisite directory, remove them.

    Thread Starter anspaujd

    (@anspaujd)

    I had created a sub-directory such as “/kgeb/” and nothing happened. I just deleted both the sub-directory I previously created and the sub-site from the multisite install.

    I just tried creating a new sub-site and I am still having the same issue. It seems that the multisite install is not creating or is not allowed to create the sub-directory site.

    Thoughts?

    Also, I am not seeing any new databases being created in phpmyadmin. Please advise?

    Thread Starter anspaujd

    (@anspaujd)

    Also, yes the .htaccess is located in /multisite/

    Should it be located somewhere else?

    I just tried creating a new sub-site and I am still having the same issue. It seems that the multisite install is not creating or is not allowed to create the sub-directory site.

    Sub-directories aren’t created nor needed. If you have any sub-directories for your sites, you should remove them.

    I’m wondering if mod_rewrite is loaded, please check that in your Apache config.

    Since we are at Apache config, you should also check if: AllowOverride is set to None, in case it is try:

    AllowOverride FileInfo Options

    Thread Starter anspaujd

    (@anspaujd)

    How would I check this since i do not have direct access to apache on my servers?

    You send an email to your hosting provider or Server Admin and ask them to check if mod_rewrite is enabled and if .htaccess gets loaded.

    On test sites, I just write a random string (like ‘blablabla’) in the .htaccess file, if the site crashes it means your .htaccess is loaded :). Don’t do this on a production environment!

Viewing 10 replies - 1 through 10 (of 10 total)

The topic ‘Cannot Access New Sub-Site’ is closed to new replies.