WordPress.org

Ready to get started?Download WordPress

Forums

WordPress MU Domain Mapping
Not needed? (9 posts)

  1. davehprohoods
    Member
    Posted 11 months ago #

    I was playing around with the Domain Mapping plugin, deleted all the sites in the Network Admin > Settings > Domains section, went back to All Sites, clicked into one of the sub-sites, changed it from subdomain.domain.com to subdomain.com (I know it's cheating, I can't create the sub-site that way), and going to subdomain.com or subdomain.com/admin works fine.

    I'm not sure why I need this plugin.

    http://wordpress.org/plugins/wordpress-mu-domain-mapping/

  2. Ron Rennick
    MultiSite Guru
    Plugin Author

    Posted 11 months ago #

    Have you tried logging into the dashboard of one of the sites you edited (without the DM plugin installed)?

  3. davehprohoods
    Member
    Posted 11 months ago #

    I did discover I was locked out of signing into the admin of the individual sub-sites (I'm assuming this would also affect editor accounts, which I haven't created yet).

    The Domain Mapping plugin is network installed and activated; it does not show in the sub-sites' plugin list.

    Because of the lockout I renamed the sites to their sub-domain (without the .com), then re-added the domains back into the Domains page and everything works except that when I go to one of the sub-sites and log into admin, it redirects to subdomain.domain.com/wp-admin. This isn't ideal as users registered only to the sub-sites should see only domain.com/wp-admin when they're logged in.

    How do I solve this?

  4. Ron Rennick
    MultiSite Guru
    Plugin Author

    Posted 11 months ago #

    I did discover I was locked out of signing into the admin of the individual sub-sites

    Now you know why you need the plugin :)

    The Domain Mapping plugin is network installed and activated; it does not show in the sub-sites' plugin list.

    Network activated plugins do not show in the sub site plugin list.

    it redirects to subdomain.domain.com/wp-admin. This isn't ideal as users registered only to the sub-sites should see only domain.com/wp-admin when they're logged in.

    Uncheck the setting in the DM settings for running the admin panel in the unmapped admin.

  5. davehprohoods
    Member
    Posted 11 months ago #

    OK, let me make sure I have this right then:

    I use a super-user admin to log into the base site, then manipulate everything from there, but when I go to the sub-sites in My Sites, the URL changes to subdomain.domain.com/wp-admin. I myself as the super-admin don't really care if it shows that, it's just a minor inconvenience, but if I create an admin user for each sub-site, we want them to see domain.com/wp-admin. Also is true for any user of each sub-site. If I log into the sub-sites as super-admin, it does keep the domain.com/wp-admin URL, but I haven't created an admin or editor user yet to test it (we won't need these until later).

    Here are my settings; let me know if these are correct:

    My Sites > Network Admin > Settings > Domain Mapping > Domain Options:
    (+ is checked, - is unchecked)

    - Remote Login
    + Permanent redirect (better for your blogger's pagerank)
    - User domain mapping page
    - Redirect administration pages to site's original domain (remote login disabled if this redirect is disabled)
    + Disable primary domain check. Sites will not redirect to one domain name. May cause duplicate content issues.

    My only question now is how "Redirect administration pages to site's original domain (remote login disabled if this redirect is disabled)" works exactly... I'm supposing leaving it unchecked gives the super-admin and sub-site users what we want in relation to the URL, correct?

  6. Ron Rennick
    MultiSite Guru
    Plugin Author

    Posted 11 months ago #

    the URL changes to subdomain.domain.com/wp-admin. I myself as the super-admin don't really care if it shows that, it's just a minor inconvenience, but if I create an admin user for each sub-site, we want them to see domain.com/wp-admin.

    You want it to appear as though they are using the main site dashboard?

  7. davehprohoods
    Member
    Posted 11 months ago #

    It only appears as subdomain.domain.com/wp-admin when I sign into domain.com/wp-admin as super-admin then click into one of the sub-sites; I'm not sure if this intentional, but it would be nice to show domain.com/wp-admin in that case. However that might be its distinguishing feature that it shows the sub-domain to indicate I am signed in initially as the super-admin to the base site. Oh well, fair enough. I am just more concerned about if I've done something wrong.

    When the other users (admin, editor) sign into the sub-sites, it does show subdomain.com/wp-admin as I expect, which is what we want in that case.

  8. davehprohoods
    Member
    Posted 11 months ago #

    OK I discovered that when I'm signed in as super-admin, hover over My Sites at the top, hover over one of the sub-sites, then click Visit Site, it brings me to subdomain.domain.com. This could impact display of the site so do you have instructions for setting this up so that it always shows the mapped domain properly?

  9. davehprohoods
    Member
    Posted 11 months ago #

    Alright, now it is becoming a problem. I am doing configuration across all sites, and whenever I click to go to a new site from the admin, it puts subdomain.domain.com, and we need it to always put subdomain.com.

    How do we do this?

Reply

You must log in to post.

About this Plugin

About this Topic

Tags

No tags yet.