[Defender] Defender Login Mask with Mapped Domains

I just implemented the Defender feature to Mask Login and I am no longer able to login to the sites with mapped domains if I have selected the mapped domain as primary. When I try to use the old login slug wp-admin I get an error page that says, "This feature has been disabled" and when I try the new slug I get an error 404 page.
Should I assume that the Login Mask is incompatible with mapped domains or is this a bug?
Thanks,
Pat

  • Predrag Dubajic
    • Support

    Hi Pat,

    When you use Defender admin masking the wp-admin will show as disabled on subsites as well, however when you go to mappeddomain.com/your-masked-url the login page should work fine.
    I have tested this on my site now and it worked fine so it seems this is something specific to your installation.

    Would you mind allowing support access so we can have a closer look at your setup?
    To enable support access you can follow this guide here:
    https://premium.wpmudev.org/docs/getting-started/getting-support/#chapter-5

    Please respond in this ticket once access is granted.

    Best regards,
    Predrag

  • wlpdrpat
    • Site Builder, Child of Zeus

    I have granted access. I turned off the feature as it was not working as expected. However, I have noted since then when trying to login to a sub-site that it forces me to login from the main site.

    E.g. when I try to login to http://subsite.mainsite.com/wp-admin/ it keeps redirecting to the login page until I remove subsite. from the url and login. Then it redirects me to the correct subsite admin. Very strange. This may be unrelated but it didn't happen until after I tried using the masked url.

    Thanks,
    Pat

  • Predrag Dubajic
    • Support

    Hi Pat,

    Thanks for granting access but I'm afraid that I'm unable to replicate this on your site as well.
    I have activated URL Masking, checked the login page of a couple of your subsites and they all loaded fine, here are some of the sites I tried:


    So it seems that everything is loading fine there, or am I perhaps missing something, some specific step that needs to be done to see the issue?

    E.g. when I try to login to http://subsite.mainsite.com/wp-admin/ it keeps redirecting to the login page until I remove subsite. from the url and login. Then it redirects me to the correct subsite admin. Very strange. This may be unrelated but it didn't happen until after I tried using the masked url.

    Can you give me some more info about this as well, are you saying that redirect after you login is incorrect or when trying to open login page?

    Best regards,
    Predrag

Thank NAME, for their help.

Let NAME know exactly why they deserved these points.

Gift a custom amount of points.