Support » Networking WordPress » Network Admin Links Suddenly Not Working

  • Resolved tylerdoornbos

    (@tylerdoornbos)


    I have a WP Multisite setup that was working great last week. Since then, no changes have been made, but I now can’t get into the Network Admin area. Everything else works great.

    For some reason, the URLs for the Network Admin section are redirecting to http//mysite.com/wp-admin/network/ (NO colon after “http”)

    They do this even if I try to enter them directly. Any ideas? Thank you!

Viewing 12 replies - 1 through 12 (of 12 total)
  • Moderator Ipstenu (Mika Epstein)

    (@ipstenu)

    Lead Plugin Wrangler

    Rename your plugins folder to plugins-old and see if that magically corrects anything?

    Thank you for the reply! Just tried that, but no change. Any other thoughts?

    Moderator Ipstenu (Mika Epstein)

    (@ipstenu)

    Lead Plugin Wrangler

    You’re not running any cache plugins or server side cache, are you?

    And http://mysite.com/wp-admin/network/ redirects…

    Nothing weird in your .htaccess?

    No, no cache plugins. And the .htaccess just has the standard setup from the Codex (below). I’m just totally vexed because it’s a really simple setup, and was working great until it wasn’t 🙂

    # 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

    A quick correction: The URLs are rendering like this —

    http://http//mysite.com/wp-admin/network/

    Rather than the way that I initially said. Not sure if that makes tracking it down easier.

    Moderator Ipstenu (Mika Epstein)

    (@ipstenu)

    Lead Plugin Wrangler

    Check your wp_blogs table and make sure the sites have a domain like example.com and not anything else.

    That table looks normal, all sites have mysite.com domain in that field.

    Moderator Ipstenu (Mika Epstein)

    (@ipstenu)

    Lead Plugin Wrangler

    That’s really weird. the only time I saw that was when someone had a broken version of W3TC running, or had a typo in the MAIN site’s http set up…

    Ipstenu, thank you for your input thus far. Still can’t find a resolution to this. Getting desperate — don’t want to have to take and reinstall. Any further help would be very much appreciated.

    Moderator Ipstenu (Mika Epstein)

    (@ipstenu)

    Lead Plugin Wrangler

    So I can kinda reproduce this, but it has to do with how I’ve mapped domains in a weird ‘I’m testing stuff’ way. Are you doing any domain mapping?

    No, all the sites are just set up as mysitename.com/subsitename.

    I figured this out, in case it’s helpful to anyone.

    In the Multisite area of the wp-config.php, I had put a preceding “http://” in front of the DOMAIN_CURRENT _SITE url. Removing it fixed the whole thing.

    SHOULD BE:

    define('DOMAIN_CURRENT_SITE', 'mysite.com');

    NOT:

    define('DOMAIN_CURRENT_SITE', 'http://mysite.com');

Viewing 12 replies - 1 through 12 (of 12 total)
  • The topic ‘Network Admin Links Suddenly Not Working’ is closed to new replies.