Domain Mapping - Login mapping using original Domain

Hi, I’m experiencing a situation with Domain Mapping very similar to this post by @scooby referenced below with one main difference… For me Domain Mapping with “Login mapping” set to “mapped domain” works perfectly, while using “original domain” causes a login loop on firefox, chrome and IE10 despite clearing caching and cookie data that looks similar to this…

(spaces added)
http:// client1-domain.network. com/wp-login.php?redirect_to=http%3A%2F%2Fclient1-domain. com%2Fwp-admin%2F&reauth=1

In the above example the main site’s url is Network.com and Sub-domain1 is being mapped to client1-domain.com.

This is the post I referenced:
https://premium.wpmudev.org/forums/topic/login-rediricting-in-a-loop-with-domain-mapping

More Info:

WPMUDEV Domain Mapping Version 4.1.4.2
WP: 3.9.1

My wp-config does not contain any of the blocks of code referenced in the link provided above.

I’m also wondering if a new site must be created AFTER the mapping settings are saved in order for this to work.

Thanks a lot guys!
Dana

  • Patrick

    Hi there @Dana

    I hope you are well today!

    Have you tested with the "domain entered by the user" setting? If so, what is the result when you try to access the login page using the mapped domain name in the URL?

    I’m also wondering if a new site must be created AFTER the mapping settings are saved in order for this to work.

    No, the mapping should work just fine on any subsite, regardless of whether it already existed prior to installing or configuring the plugin.

  • Dana

    Hey Patrick, thanks for the suggestion. When I enable the "domain entered by the user" setting I get the same result as choosing “mapped domain”. It works fine. I’m not sure if this is even an issue, but for me it is not because I’ve since decided to stick with the “mapped domain” option.

    My earlier concern had been providing security for the mapped domain’s login page which I’ve since learned that Ithemes Security can do this… Rename the login, provide brute force protection, etc. All the good stuff.

    I’m going to close this.

    Thanks for your help!
    Dana

Thank NAME, for their help.

Let NAME know exactly why they deserved these points.

Gift a custom amount of points.