Forums

WP Multi-sitew w/ Domain Mapping and Networks For WordPress plugins (4 posts)

  1. jqs
    Member
    Posted 1 year ago #

    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.com

    And 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.com

    Thanks

  2. Andrea_r
    team pirate
    Posted 1 year ago #

    Do not edit core files. That is totally not needed to have multiple networks, as you can see from the *other* multi-network plugin.

    http://wordpress.org/extend/plugins/wp-multi-network/

    A plugin has to be written to allow signup on other networks.

  3. jqs
    Member
    Posted 1 year ago #

    Thanks Andrea. It does seem a shortcoming that we can't sign-up on the network the blog is a part of. I'll have to look into it and see if it is possible or not...

  4. Andrea_r
    team pirate
    Posted 1 year ago #

    Well, yes, it's *possible*..... :D

    I thought you meant a drop-down to show all the other networks so the user can pick from one spot. That you'll have to write.

    Otherwise, they just go to wp-signup.php on whatever network and... .sign up.

Topic Closed

This topic has been closed to new replies.

About this Topic