Pronamic Domain Mapping
With the Pronamic Domain Mapping plugin you can easily publish a page on the domain aliases or pointers of your hosting solution. This way you can easily publish landing pages on the extra domain names you own. WordPress Network If you work with an WordPress Network and want to enable domain pages y
About this tool.
With the Pronamic Domain Mapping plugin you can easily publish a page on the domain aliases or pointers of your hosting solution. This way you can easily publish landing pages on the extra domain names you own.
WordPress Network
If you work with an WordPress Network and want to enable domain pages you have to add the following line to your /wp-content/sunrise.php file.
$file = WP_CONTENT_DIR . '/plugins/pronamic-domain-mapping/sunrise.php'; if ( is_readable( $file ) ) { include $file; }
Inspiration
- https://github.com/deniaz/wp-dms
- https://github.com/humanmade/Mercator
Getting started.
- 01Extract the ZIP-file and upload the contents to the /wp-content/plugins/ directory of your WordPress installation
- 02Activate the plugin from the Plugins page
- 03Create a new domain name page by clicking Add New in the Domain Name Pages menu
- 04Enter the domain for which this page should be shown in the field Domain Name
To actually visit the just added domain name page, you need to make sure the domain is configured to show your WordPress site. To test the domain name page, just visit the domain for which you’re creating the domain name page. If you don’t see the domain name page, follow the instructions below if your host uses either the cPanel, Plesk or DirectAdmin control panel to link the domain to your main domain (which is running the WordPress installation).
Adding a Parked Domain in cPanel
- 05Login to the cPanel control panel
- 06Go to “Parked Domains” in the “Domains” section
- 07In the section “Create a New Parked Domain”, enter the domain of the domain name page and click “Add Domain” (domain root should be the same as your main website and redirection should be disabled for the parked domain)
- 08The domain name page should now be shown when you visit the parked domain, but it might take up to 24 hours for changes to take effect.