I don’t understand how do I add more domain?
Don’t follow any instruction for WordPress installation that is that old. Menus have changed, terms have changed.
I couldn’t figure out that ottopress instruction, had to work it out and document what worked, even correcting the mis-tries I had done.
You may have to change some of the WordPress installation too, especially if you didn’t install WordPress in the root of your account or the root of a subdomain — domain mapping (and likely much more of multi-site) will not work installed in a folder.
Multisite is ok. Now I can add sub domain & sub directory. I need to add two main domains no sub domain or sub directory. One host two domains.
/* Multisite */
define( ‘WP_ALLOW_MULTISITE’, true );
$base = ‘/’;
You do Not use the .htaccess file for domain mapping.
“You cannot map a domain to the main site.” — the lines you showed, from your .htaccess file, have DOMAIN_CURRENT_SITE as one of the sites you said you want to map.
I would recommend you don’t use the main multi-site domain for content. Best to keep the multi-site administration using the default theme and minimal plugins; use subdomains for custom themes and plugins.
Purchase whatever type of domain name is cheapest (might be .info), to use for the multi-site administration (said another way, to be the unmapped domain of all the sites). Some domain name you wouldn’t send visitors to, could even be a few random characters.
Then map your public domains (“main domain” and “second domain”), using the Domain Mapping Plugin.
I do not understand your question “Is there any plugin that I can add main domain”.
a) there are millions of plugins you Could add -to- your main domain.
b) You don’t -map- the main domain. If you want to install WordPress multi-site and have your content as http://www.weddingsmadeinitaly.co.uk you just use it.
So, what are you asking?
Are you asking how to migrate the content from separate WordPress installations into your WordPress Multi-Site installation?
You mention IIS. I should have asked about that sooner.
Oops, when I said above you don’t use “.htaccess file for domain mapping”, I should have said you don’t use wp-config.php.
And, oops, IIS doesn’t (usually) use .htaccess, but rather web.config (not to be confused with wp-config.php, of course, or is that confusing?)
Are you on a shared hosting account, or do you manage your own server?
Getting domain mapping working on an IIS server requires an experienced server administrator, able to set up wildcard DNS (so WordPress can manage creation of “virtual subdomains”) and link the domain names to WordPress.
If you don’t have Strong reasons to use IIS, switch to an Apache server. If you aren’t well trained in IIS, managing IIS is harder than managing your site on Apache.
- The topic ‘One WordPress website two domains with IIS’ is closed to new replies.