[Multisite]Changed to www. Everything works fine except the NETWORK admin
-
I need to regain access to my /wp-admin/network/
The individual sites are fine, as are their admins. But after changing the main site towww.
, it will not allow me to log in to the NETWORK admin for multisite. I do use the Domain Mapping plugin, fyi. The error is a infinite redirect according to chrome.I followed some guides. Removed de NOBLOGREDIRECT, no result.
Added the following to .htaccess:RewriteEngine On RewriteCond %{HTTP_HOST} !^www. RewriteRule ^(.*)$ https://www.%{HTTP_HOST}/$1 [R=301,L] RewriteCond %{HTTP_HOST} ^rinconolon.ec$ [NC] RewriteRule ^(.*)$ https://www.rinconolon.ec/$1 [R=301,L] # add a trailing slash to /wp-admin RewriteRule ^wp-admin$ wp-admin/ [R=301,L] RewriteCond %{REQUEST_FILENAME} -f [OR] RewriteCond %{REQUEST_FILENAME} -d RewriteRule ^ - [L] RewriteRule ^(wp-(content|admin|includes).*) $1 [L] RewriteRule ^(.*\.php)$ $1 [L] RewriteRule . index.php [L]
and this to wp-config.php:
define('WP_DEBUG', false); define( 'WP_ALLOW_MULTISITE', true ); define('MULTISITE', true); define('SUBDOMAIN_INSTALL', true); define('DOMAIN_CURRENT_SITE', 'www.website.ec'); define('PATH_CURRENT_SITE', '/'); define('WP_HOME','https://www.website.ec'); define('WP_SITEURL','https://www.website.ec')
I’m running NGINX btw. Do I need to change something there?
thanks ever so much!
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘[Multisite]Changed to www. Everything works fine except the NETWORK admin’ is closed to new replies.