Thank you, jkhongusc.
I’ve done a complete re-install of everything:
– removed all DB tables
– removed all software
– uploaded freshly unzipped WP 3.6.1
– applied multisite process
– added one subsite
Nothing else.
.htaccess contents:
# BEGIN WordPress
<IfModule mod_rewrite.c>
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]
</IfModule>
# END WordPress
wp-config.php contents:
define('DB_NAME', 'db');
define('DB_USER', 'db');
define('DB_PASSWORD', 'dbpassword');
define('DB_HOST', 'localhost');
define('DB_CHARSET', 'utf8');
define('DB_COLLATE', '');
// AUTH_KEY to NONCE_SALT were updated for this new install but
// left out of this post as it was messing up its display
$table_prefix = '_';
define('WPLANG', '');
define('WP_DEBUG', true);
// multi-site insertions
define('WP_ALLOW_MULTISITE', true);
define('MULTISITE', true);
define('SUBDOMAIN_INSTALL', false);
define('DOMAIN_CURRENT_SITE', 'example.com');
define('PATH_CURRENT_SITE', '/');
define('SITE_ID_CURRENT_SITE', 1);
define('BLOG_ID_CURRENT_SITE', 1);
if ( !defined('ABSPATH') )
define('ABSPATH', dirname(__FILE__) . '/');
require_once(ABSPATH . 'wp-settings.php');
Set up subsite and verified that the subsite user has the Administrator role and has proper access to the subsite once logged in and URL is changed.
Problem continues. ??
Note: You mention that users with the Subscriber role get redirected to wp-admin/user/
. I get this with a subsite user with the Administrator or Editor role, even though they have appropriate access once I manually update the URL from wp-admin/user/
to subsite/wp-admin/
.
I’m convinced this has something to do with how WP manages redirection and that likely collides with something in .htaccess.
Cheers!
Dirk