Subdomain Authentication
With the Domain Mapping System plugin, you can now let users login to subdomains and navigate protected pages.
Last updated
With the Domain Mapping System plugin, you can now let users login to subdomains and navigate protected pages.
Last updated
In order to allow website visitors to login to user accounts on mapped subdomains of your website, you can simply enable the checkbox for Subdomain Authentication:
This will allow users to login to Subdomains of your website and remain only logged in to that subdomain. They are only able to access protected login pages that are mapped to the specified subdomain.
The dropdown checkbox allows you to selectively activate Subdomain Authentication only on specific subdomains:
To allow login to protected WooCommerce areas, such as the Account area, there is another checkbox to activate for that. These can be activated independently from each other, if you only want to allow WooCommerce authentication, for example.
If you are trying to configure Subdomain Authentication on multisite, you must update the sunrise.php file mentioned in our multisite integration docs to change this string from this:
To this: