• I’m trying to set up a wordpress server with multisite so I can host two sites with identical themes and plugins, http://www.abc.com and http://www.xyz.com.

    I’ve configured multisite according to the manual and get to the point of
    selecting subdirectory install and then modifying wp-config.php and .htaccess and then I can no longer login to the server (which is on my local network at 192.168.99.100).

    My .htaccess file is:

    ———————————————————————–
    RewriteEngine On
    RewriteBase /
    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]
    wpadmin@wpserver:/var/www/html$
    ——————————————————————-

    I’ve added the following to wp-config.php

    ——————————————————————-
    define(WP_ALLOW_MULTISITE, true);
    define(‘MULTISITE’, true);
    define(‘SUBDOMAIN_INSTALL’, false);
    define(‘DOMAIN_CURRENT_SITE’, ‘192.168.99.100’);
    define(‘PATH_CURRENT_SITE’, ‘/’);
    define(‘SITE_ID_CURRENT_SITE’, 1);
    define(‘BLOG_ID_CURRENT_SITE’, 1);

    ———————————————————————–

    When I reverse these changes I can again login to the dashboard.

    I have a single wordpress database, wg_wordpress.

    The server right now is sitting on my private network at 192.168.99.100. In wp-config.php DB_NAME is set [login details redacted for security reasons].

    What am I doing wrong?

    Thanks

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)

The topic ‘Can't login after multisite upgrade’ is closed to new replies.