Hi Chris, thank you for the reply. This just gets me into a too many redirect loop as “whatever url I want” is the https://xyz.example.com/wp-login.php, which goes to the is_multisite()
check which runs the filter to redirect to itself which goes to the is_multisite()
check.. etc
I want my “client” users to sign up at MY site https://example.com/wp-login.php
I want the my client users “user” signing up on the “client” site and never seeing MY site. So for each site in the MS I will want them to login/register at THAT site’s wp-login.php
ME: Login at https://example.com/wp-login.php to access everything
CLIENT: Login at https://xyz.example.com/wp-login.php OR https://example.com/wp-login.php (I don’t care which)
USER: ONLY Login at https://xyz1.example.com/wp-login.php, https://xyz2.example.com/wp-login.php, https://xyz3.example.com/wp-login.php depending on which XYZ they happen to be on. They should never see example.com itself.
It seems like my only option is to edit wp-login.php
as the entire case
statement isnt in a function or anything exentanble…