E
E
Eugene2016-08-11 13:16:20
Nginx
Eugene, 2016-08-11 13:16:20

Why does a circular redirect to Wordpress multisite occur when I enter the admin panel of subsites (Nginx server)?

Switched the site to multisite mode (subdirectory mode), when you try to enter the admin panel of a child site, a cyclic redirect occurs (ERR_TOO_MANY_REDIRECTS)
.htaccess code

RewriteEngine On
RewriteBase /
RewriteRule ^index\.php$ - [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]

also tried clearing cookies on this article https://tommcfarlin.com/resolving-the-wordpress-mu...
Tried rewriting permalinks in admin panel
Nothing helped, what else can I try ?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
I
Igor Vorotnev, 2016-08-17
@HeadOnFire

Whoa, what .htaccess if you have Nginx? This file is used by the Apache server. Nginx has its own tips. See here .

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question