We'll create fresh WordPress site with Domainer installed. You have 20 minutes to test the plugin after that site we'll be deleted.
Domainer lets you route custom domain names to specific sites on your Multisite installation. That’s it.
Each domain has 4 options you set:
In order to reduce redirects while navigating the site, Domainer will replaced all instances of the site’s original domain name on the pages to that of the primary domain, or currently requested alias domain. This will not affect email addresses however; any filters on the content will only replace instances starting with a double slash so as to match URLs.
If you find instances of the domain not being replaced, such as in content filtered by 3rd party plugins, you can patch it with this function:
add_filter( 'my_filter', 'domainer_rewrite_url' );
The function can also take a domain or array of domains to replace, as well as a specific domain to replace with.