I'm having some trouble getting multisite to work as expected. I have followed a few tutorials and have done everything step by step. Multisite is enabled, and I'm able to access the network of sites, however when I change a theme on one site's dashboard, it changes for all of my sites.
I'm using sub-directories, so I have mydomain.com
and mydomain.com/site1
etc. I've noticed when I go to the dashboard for mydomain.com/site1
, it just takes me to mydomain.com/wp-admin/
. I don't know if this is expected behavior but I thought it might be mydomain.com/site1/wp-admin/
. It seems like the routing isn't working properly.
I made sure to follow the directions of overwriting the entire .htaccess file with the code provided after enabling multisite.
Either way, it doesn't look like there's any difference between my two site's dashboards, so when I change one theme it is changing the other.
Am I missing something? Or what should I do to troubleshoot this?
Here is my entire .htaccess
file:
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]
The bottom part of wp-config.php
:
define('WP_DEBUG', false);
//define( 'WP_CACHE', true );
require_once( dirname( __FILE__ ) . '/gd-config.php' );
define( 'FS_METHOD', 'direct');
define('FS_CHMOD_DIR', (0705 & ~ umask()));
define('FS_CHMOD_FILE', (0604 & ~ umask()));
define( 'WP_ALLOW_MULTISITE', true );
define('MULTISITE', true);
define('SUBDOMAIN_INSTALL', 'false');
define('DOMAIN_CURRENT_SITE', 'mydomain.com');
define('PATH_CURRENT_SITE', '/');
define('SITE_ID_CURRENT_SITE', 1);
define('BLOG_ID_CURRENT_SITE', 1);
/* That's all, stop editing! Happy blogging. */
/** Absolute path to the WordPress directory. */
if ( !defined('ABSPATH') )
define('ABSPATH', dirname(__FILE__) . '/');
/** Sets up WordPress vars and included files. */
require_once(ABSPATH . 'wp-settings.php');
One more thing to note, when I go to network admin -> all sites, and click "edit" on mydomain.com/site1
, its "Site Address" is set correctly, but in the "Settings" tab both Siteurl and Home are set to mydomain.com
, it seems as if I can't change those. When I save they revert back.
mydomain.com/site1/wp-admin/
it redirects me tomydomain.com/wp-admin/
.false
. I'm not using cloudflare or https just because it's a new domain and I haven't set up SSL yet. I'm assuming those unidentified lines are from GoDaddy since it's "Manage WordPress Hosting"; I think I'm reading that multisite is only eligible on standard hosting.