Fork me on GitHub

WordPress Domain Mapping Sytem

Domain Mapping System allows to map domains to WP Pages and/or custom post types.

Version 1.3.2
Domaing Mapping System Screenshot

Easy to Use

Built for a client's project, but with the WordPress community in mind, DMS is very easy to install and congfigure.

WordPress 3.5 Ready

DMS works perfectly with WordPress 3.5. The lower supported WordPress version is 3.3.2. DMS might work below that, but without guarantees.

WPMUDEV Compatible

WordPress Domain Mapping System is comatible with the amazing WPMUDEV plugins Domain Mapping and Multi-Domains.

Installation

  1. 1

    Upload & Install

    Install the plugin via FTP or the WordPress plugin page.

  2. 2

    Activation

    Activate the domain mapping system on the plugin page.

  3. 3

    ServerAlias

    Add all domains as ServerAlias to your WordPress vhost.conf

    More info on the vhost-part

  4. 4

    Create Content

    Create a WordPress page, post or a custom post type entity. Let's call it « DMS Homepage ». You could choose a custom template.

    More info on custom templates

  5. 5

    Configure Mapping

    Go to Settings -> DMS Options. If using a custom post type, enable it on the top. Add your domains and select the content « DMS Homepage ». Rember to add domain.com and www.domain.com. Finally, click save.

  6. 6

    Rock'n'Roll

    Your WordPress install is now ready.

When to use

If you're running a website on WordPress and need to create a related Microsite, DMS can help you. Both websites will run from the same WordPress instance and can therefore be managed by the same login.

DMS will analyse HTTP requests and check if the domain is mapped to WordPress content. If so, DMS will load the corresponding content. Otherwise, it will not do anything and let WordPress do its magic.

If you'd like to create a Microsite, you could use a custom template for a page (or custom post type) and use DMS to make the user feel like using a stand-alone website.

WPMUDEV staff have writte a blog post about the Domain Mapping System with a nice use case.

FAQ

  • Can I map to categories or archives?

    Yes.

  • When clicking a link, the URL changes. What am I doing wrong?

    Nothing. The way WordPress works and DMS was built, this is the correct behaviour. DMS is aimed to support Microsites.

  • Does this plugin work with WPMUDEV plugins?

    Yes, yes it does. To make use of the full potential, you should go to the WPMUDEV Domain Mapping directory and open up domain-mapping.php. Uncomment the following line code (line 31):

    define('DOMAINMAPPING_ALLOWMULTI','yes');
  • What does DMS do about SEO?

    Nothing. You'll need to use a third-party SEO plugin.