• 1. this is my enviroment:

    WordPress 3.5.2
    PHP 5.3.26
    MySQL 5.5.31
    Nginx 1.4.1

    2. problem:
    I install wordpress mutisite with sub-folder

    my 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)
    go to add new post (abc.com/subBlog/wp-admin/post-new.php) will return 404 not found)
    3. already do:

    add folder “blog.dir” on /wp-content/
    change .htaccess to boilerplate https://www.ads-software.com/support/topic/fresh-install-subfolder-multisite-infinite-redirect-loop-sub-blog-login

    <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?

Viewing 4 replies - 1 through 4 (of 4 total)
Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘subfolder multisite – infinite redirect loop sub-blog admin login’ is closed to new replies.