I would like to have a mapped domain to redirect to my primary domain when a user attempts to login.
mapped-domain.com/wp-admin => primary-domain.com/mapped-domain/wp-admin
Right now what happens is that mapped-domain.com/wp-admin displays the login screen, but if you enter your credentials, it redirects you to the primary domain's login screen. I would like to avoid having to enter credentials twice.
I have tried toggling the "Redirect administration pages to site's original domain" option, but it doesn't seem to be working the way I expect it to.