Take the 2-minute tour ×
WordPress Development Stack Exchange is a question and answer site for WordPress developers and administrators. It's 100% free, no registration required.

Is it possible to have multiple domains (each with unique child theme) on one installation?

I'm aware of Wordpress's new feature called "Network", which allows you to have one installation for multiple sites.

Ideally each site will have it's own child theme, or something similar.

share|improve this question
add comment

1 Answer 1

up vote 2 down vote accepted

Use the plugin WordPress MU Domain Mapping. Read the installation instructions very carefully. There is also an ebook WordPress Multisite 101 where you can read more (like migration from single site installation etc.).

You can activate themes per single site as usual. Or set the constant WP_DEFAULT_THEME in your wp-config.php depending on the host name:

switch ( $_SERVER['HTTP_HOST'] )
{
    case 'example.com':
        define( 'WP_DEFAULT_THEME', 'blue-child' );
        break;
    case 'example.net':
        define( 'WP_DEFAULT_THEME', 'red-child' );
        break;
    default:
        define( 'WP_DEFAULT_THEME', 'parent-theme-slug' );
}
share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.