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?