Add a domain name field to the posts’ edit pages you have selected (through category and/or post type identifiers). Allow each post to have its own do …
As of April 2026, Domain Name Autoswitch is a WordPress front page plugin with 10 active installations and a 0/5 rating0. It has been downloaded 2.4K+ times in total. Requires WordPress false+ and PHP false+. Available on WordPress.org since 2014. Last updated 11 years ago — may have compatibility concerns. Top alternative: Custom Front Page.
Here is a useful method you should use any where you need it dnas_get_post_ID().
It returns the post ID (if any) related to the current domain name.
For instance, if you would like to display URL of the fake home page:
You can check the plugin development on github.
Pros:
.htaccess file,Cons:
is_home()| WordPress | false+ requiredTested up to 3.9.40 |
| PHP | false+ required |
Plugin data sourced from WordPress.org. Analysis and metrics by PluginSift.