Login Behavior, two different sites, but same multisite network

I noticed the following behavior. I have no doubt this is not a bug, and standard WordPress behavior. A little background on setup...

1)Subdomain Multisite Network.
2)Two subsites each with unique logins.

bob.example.om
tom.example.com

For some reason tom ends up on bob's multisite login page (bob.example.com/wp-login.php). Tom attempts to log in to Bob's website with his own (Tom's) login info. The WordPress permissions detect this, and he is denied access, but sees a page with links to his and the main site's dashboard. If he clicks on them he is taken to his own site.

Instead of this behavior, I just want it to reject it as being an invalid username/password combo, instead of forwarding him to the Permissions/Dashboard Link page.

Does anyone know how to do this? Thanks in advance.

  • Ash
    • WordPress Hacker

    Hello @ghmaster

    I hope you are well today and thanks for asking the question.

    I am afraid this is not possible, as wordpress uses same table for all subsites. There is no separate tables for each subsites. If you look at the database you will see there are separate tables for each subsite, but there is only 1 user table. And wordpress login works for the whole network, not for a subsite.

    Cheers
    Ash

Thank NAME, for their help.

Let NAME know exactly why they deserved these points.

Gift a custom amount of points.