[resolved] Network Admin Links Suddenly Not Working (13 posts)

  1. tylerdoornbos
    Posted 1 year ago #

    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!

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

  3. tylerdoornbos
    Posted 1 year ago #

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

  4. 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?

  5. tylerdoornbos
    Posted 1 year ago #

    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
  6. tylerdoornbos
    Posted 1 year ago #

    A quick correction: The URLs are rendering like this --


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

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

  8. tylerdoornbos
    Posted 1 year ago #

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

  9. 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...

  10. tylerdoornbos
    Posted 1 year ago #

    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.

  11. 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?

  12. tylerdoornbos
    Posted 1 year ago #

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

  13. tylerdoornbos
    Posted 1 year ago #

    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.


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


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

Topic Closed

This topic has been closed to new replies.

About this Topic


No tags yet.