• 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!

Viewing 5 replies - 16 through 20 (of 20 total)
  • Thread Starter Kic00

    (@kic00)

    Why not?
    Again, it all worked in 3.0.4.
    We didn’t do a convoluted rewrite at all — had nothing to do with .htaccess in fact. User were redirected with a client-pull .HTML file.

    Thread Starter Kic00

    (@kic00)

    Yes, I know I can do the ‘allow from my IPs’ thing, but I liked having it accessible from a not-linked-to URL. It wasn’t a state secret or anything, but users going there would see test stuff..

    Moderator Ipstenu (Mika Epstein)

    (@ipstenu)

    ?????? Advisor and Activist

    It’s gone because it was never supposed to be there in the first place. It’s probably not coming back.

    And … You get how having ‘Only allow from IPs’ is still accessible from a non-linked-to URL?

    User were redirected with a client-pull .HTML file.

    A what now?

    Thread Starter Kic00

    (@kic00)

    Client pull == meta refresh.

    In any case, I guess I’ll have to live with whatever the change was..

    Moderator Ipstenu (Mika Epstein)

    (@ipstenu)

    ?????? Advisor and Activist

    Ah. FWIW, .htaccess is less process intensive than a meta-refresh (and more google Friendly).

Viewing 5 replies - 16 through 20 (of 20 total)
  • The topic ‘Wrong network admin URL when upgraded to 3.1 from 3.0.4’ is closed to new replies.