Not getting in the network admin
-
Hi,
I can access the site with just using wp-admin when logging in. But when going to multisite, it sends me again to a login field which I cant access to the site https://www.domain.com/wp-login.php?redirect_to=http%3A%2F%2Fbcperio.ca%2Fwp-admin%2Fnetwork%2F&reauth=1But when I type it with this https://www.domain.ca/wp-admin/network/ which gives me this link https://www.domain.ca/wp-login.php?redirect_to=http%3A%2F%2Fwww.domain.ca%2Fwp-admin%2Fnetwork%2F&reauth=1 I could get to access the network admin.
here is my access# BEGIN WordPress 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] # END WordPress
and the wp-config.php
/* Multisite */define( 'WP_ALLOW_MULTISITE', true ); define('MULTISITE', true); define('PATH_CURRENT_SITE', '/'); define('SUBDOMAIN_INSTALL', false); define('SITE_ID_CURRENT_SITE', 1); define('BLOG_ID_CURRENT_SITE', 1);
And if I add this to the wp-config.php
define(‘DOMAIN_CURRENT_SITE’, ‘www.domain.ca’);
it gives me a redirect loop.Site is fine, but wondering why I cant access network when clicking on the network admin, I have to type it to get on..
Any advice..
Cheers
- The topic ‘Not getting in the network admin’ is closed to new replies.