WP Multi-sitew w/ Domain Mapping and Networks For WordPress plugins
-
So I’ve got the generic installation working perfectly fine, but now I have a couple of questions regarding usage.
Here is my setup:
Site 1 -> Domain1.com
———–> Domain2.com
———–> Domain3.com
Site 2 -> Domain4.com
Site 3 -> Domain5.com
———–> Domain6.comAnd the questions:
1. How can I make any new registrations for any domains under sites other than 1 use their own sites instead of Site 1? Essentially, if I am on Domain6.com and try to register it redirects to Domain1.com instead of Domain5.com.
— The Networks for WordPress plugin says that in order to have a single root installation with subdomains (what I did) you need to modify the core WP files to allow for the proper site to come up:2. One directory / WordPress core modifications
1. DNS should resolve each desired domain to your webserver.
2. Change /wp-includes/ms-load.php or /wpmu-settings.php file (depending on your WordPress version) to handle multiple rows from the sites table.
3. Your webserver should serve the WordPress files when someone requests the desired domain ( via a new VirtualHost with appropriate DocumentRoot, or with a ServerAlias directive )
4. If you create a new VirtualHost and use per-VirtualHost Directory statements, ensure that the new VirtualHost?s Directory statement has adequate permissions.Has anyone done this? I can’t find a tutorial anywhere. Is there a plugin?
2. Can I use the domain associated with a blog to handle registrations even if it isn’t the parent site?
IE: Domain2.com is used in all paths (and themeing) even though the registration is valid for any site under Domain1.comThanks
- The topic ‘WP Multi-sitew w/ Domain Mapping and Networks For WordPress plugins’ is closed to new replies.