Wrong network admin URL when upgraded to 3.1 from 3.0.4
-
Hi – In my (subdirectory) multi-site installation, I upgraded to 3.1 and ever since, can’t access my network admin URLs. It worked fine in 3.0.4. When I do
<?php echo network_admin_url(); ?>
The output does not include the subdirectory, ie —
https://blogs.mydomain.org/wp-admin/network/
instead of the correct URL, as in:
https://blogs.mydomain.org/quest/wp-admin/network/I changed my .htaccess file, per another thread, to:
AddHandler php5-script .php # BEGIN WordPress 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).*) $1 [L] RewriteRule ^[_0-9a-zA-Z-]+/(.*\.php)$ $1 [L] RewriteRule . index.php [L] # END WordPress
Any other ideas? I might have to revert to 3.0.4!
- The topic ‘Wrong network admin URL when upgraded to 3.1 from 3.0.4’ is closed to new replies.