subfolder multisite – infinite redirect loop sub-blog admin login
-
1. this is my enviroment:
WordPress 3.5.2
PHP 5.3.26
MySQL 5.5.31
Nginx 1.4.12. problem:
-2.1. I install wordpress mutisite with sub-folder, main site (abc.com) work fine, also can add new sub-blog (abc.com/subBlog), but sub-blog has no theme (single post and main), and could not link to admin dashboard (abc.com/subBlog/wp-admin), infinite redirect loop happened! (302)
-2.2. go to add new post (abc.com/subBlog/wp-admin/post-new.php) will return 404 not found.3. already do:
-3.1. add folder “blog.dir” on /wp-content/
-3.2. change .htaccess to boilerplate (like this)<IfModule mod_rewrite.c> RewriteEngine On RewriteBase / RewriteRule ^index\.php$ - [L] # uploaded files RewriteRule ^([_0-9a-zA-Z-]+/)?files/(.+) wp-includes/ms-files.php?file=$2 [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>
but entire directory still not showing on location “blog.dir”,all problem still happen! any ideas?
- The topic ‘subfolder multisite – infinite redirect loop sub-blog admin login’ is closed to new replies.