Support » Networking WordPress » Multisite root shows wrong site in admin bar

  • I have Multisite set up on a server in a corporate network. The network uses subdirectories for sites, with a site with ID 1 at the root.

    Its working well, but there is one issue: when I’m on the root site and logged in, the Admin bar says I’m in one of my subdirectory sites, and the edit link on the admin bar takes me to the wrong page to edit.

    I’m wondering if the problem lies in the constants my network setup gave me to put in my wp-config:

    define('SITE_ID_CURRENT_SITE', 1);
    define('BLOG_ID_CURRENT_SITE', 1);

    Is there a way to confirm these values in the database?

    • This topic was modified 6 months, 3 weeks ago by  photocurio.
Viewing 2 replies - 1 through 2 (of 2 total)
  • P.S. I found the constants in the wp_blogs table, and they seem to be correct. All my blogs have a site_id of 1, and the root site has a blog_id of 1.

    @photocurio thats an odd one. If you haven’t manipulated the wp-admin bar code yourself it almost sounds like a theme/plugin conflict or some kind of caching issue.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Multisite root shows wrong site in admin bar’ is closed to new replies.