The MU forums have moved to WordPress.org

Multi-Site Manager Plugin problems with wp-admin trailing slash (5 posts)

  1. seg
    Member
    Posted 15 years ago #

    I am setting up and testing the Multi-Site Manager Plugin and noticed a problem on any new sites I am creating. On the new sites, if I type wp-admin without the trailing slash, the page redirects to the base domain's wp-admin.

    For example, if the base/main domain is domain.com and I add the site domain1.com. When I type domain1.com/wp-admin, the page redirects to domain.com/wp-admin/

    If I type domain1.com/wp-admin/ then I can enter the Admin for the new domain.

    I don't know if it makes a difference, but domain1.com is actually a subdomain (from a different domain than the main domain) and is parked in my CPanel account just like any other extra domain would be.

    My .htaccess file reads like this:

    RewriteEngine On
    RewriteBase /

    #uploaded files
    RewriteRule ^(.*/)?files/$ index.php [L]
    RewriteCond %{REQUEST_URI} !.*wp-content/plugins.*
    RewriteRule ^(.*/)?files/(.*) wp-content/blogs.php?file=$2 [L]

    # add a trailing slash to wp-admin
    RewriteCond %{REQUEST_URI} ^.*/wp-admin$
    RewriteRule ^(.+)$ $1/ [R=301,L]

    RewriteCond %{REQUEST_FILENAME} -f [OR]
    RewriteCond %{REQUEST_FILENAME} -d
    RewriteRule . - [L]
    RewriteRule ^([_0-9a-zA-Z-]+/)?(wp-.*) $2 [L]
    RewriteRule ^([_0-9a-zA-Z-]+/)?(.*\.php)$ $2 [L]
    RewriteRule . index.php [L]

    <IfModule mod_security.c>
    <Files async-upload.php>
    SecFilterEngine Off
    SecFilterScanPOST Off
    </Files>
    </IfModule>

    Has anyone else had this problem and is there a known solution?

  2. andrea_r
    Moderator
    Posted 15 years ago #

    Did you ask the plugin developer?

  3. seg
    Member
    Posted 15 years ago #

    The plugin developer doesn't have comments on his site, so I am trying the WordPress forums to see if it is a common problem or an easy fix before I bother the developer through email. Do you use the Multi-Site Manager plugin?

  4. mockmock
    Member
    Posted 15 years ago #

    Hi seg!

    I have the same problem with the trailing slash.

    Did you find a solution?

    Thanks a lot!

  5. wpsteve
    Member
    Posted 14 years ago #

    anybody got a fix for this? I'm using a fresh install - no plugins but still get this exact problem. Tried with fresh install too. Nice to know I'm not the only one!

About this Topic