Login on Multiple Sub-Domains without Multisite
You can dynamically update the WP_HOME and WP_SITEURL constants in wp-config.php to reflect the requested host: define( ‘WP_SITEURL’, ‘http://’ . $_SERVER[ ‘HTTP_HOST’ ] ); define( ‘WP_HOME’, ‘http://’ . $_SERVER[ ‘HTTP_HOST’ ] ); As long as visitors don’t click a link containing a different fully-qualified domain (or otherwise send a request to a different subdomain via … Read more