• I have WordPress installed @ domain1.com/wp/ and have an existing blog/site running at domain1.com.

    I set-up multisite, and everything was good (domain1.com still functional). Then, using WordPress MU Domain Mapping plugin, I added domain1.com as the primary and domain2.com in the domain mapping section.

    Now, I am unable to access the dashboard at domain1.com/wp. I get this error:

    You attempted to access the “domain1.com” dashboard, but you do not currently have privileges on this site. If you believe you should be able to access the “domain1.com” dashboard, please contact your network administrator

    .

    If I try domain1.com/wp/wp-admin/network/, I get this:

    You do not have sufficient permissions to access this page.

    I noticed that wp_domain_mapping_logins in the DB was empty, so I added a row for my userId and blogId, but that didn’t help.

    I also tried disabling the WordPress MU Domain Mapping plugin by renaming the plugin directory, but that didn’t help.

    Also, domain1.com appears fine, it’s just that I can’t access the dashboard!

Viewing 11 replies - 1 through 11 (of 11 total)
  • Thread Starter cometgrrl

    (@cometgrrl)

    Ok, I removed the rows from wp_domain_mapping and now I have access again.

    So what did I do wrong with the domain mapping configuration? I’d really like to figure this out.

    Moderator Ipstenu (Mika Epstein)

    (@ipstenu)

    ?????? Advisor and Activist

    What site on your network were you trying to map?

    Thread Starter cometgrrl

    (@cometgrrl)

    well, right now, as far as wordpress is concerned, there is only one site @ domain1.

    I added both domain1 (primary) and domain2 in the WordPress MU Domain Mapping plugin, under “domains” and this broke my access to the dashboard for domain1 and for the network as well.

    Do I need to do something to setup domain2 as a site before attempting to do this? I own both domains and currently domain2 has a blog using MT that I want to move to WordPress so I can manage templates and plugins at the network level to share.

    Moderator Ipstenu (Mika Epstein)

    (@ipstenu)

    ?????? Advisor and Activist

    Okay. You have to make a SECOND site and map that, you can’t map the primary site.

    Thread Starter cometgrrl

    (@cometgrrl)

    OK, do I activate the plugin at the network level or the site level?

    I activated it at the network level, and here’s the settings:

    domain mapping -> entered my server’s IP address, this corresponds to domain1.com
    enabled User domain mapping page and Redirect administration pages to site’s original domain (remote login disabled if this redirect is disabled)

    domains -> nothing here yet.

    When I do those steps (or really just activating the plugin), my site at domain1.com has a 310 error — “Error 310 (net::ERR_TOO_MANY_REDIRECTS): There were too many redirects.”

    It’s going to domain1.com/wp/wp/wp/wp/wp/wp/wp/wp… etc

    When I got locked out of the dashboard, in addition to the above, I had added in the domains section domain1.com as primary and domain2.com. It seems like they would both need to be in that section, no?

    Thread Starter cometgrrl

    (@cometgrrl)

    also, thanks for helping me!! ?? I really appreciate it!

    Moderator Ipstenu (Mika Epstein)

    (@ipstenu)

    ?????? Advisor and Activist

    OK, do I activate the plugin at the network level or the site level?

    Network

    Hmm.

    Try adding this to your wp-config.php:

    define('ADMIN_COOKIE_PATH', '/');
    define('COOKIE_DOMAIN', '');
    define('COOKIEPATH', '');
    define('SITECOOKIEPATH', '');
    Thread Starter cometgrrl

    (@cometgrrl)

    I get this error going to the dashboard,

    The constant “COOKIE_DOMAIN” is defined (probably in wp-config.php). Please remove or comment out that define() line.

    I commented out that line, enabled the plugin again, and still get the Error 310 (net::ERR_TOO_MANY_REDIRECTS) on the main site. ??

    Moderator Ipstenu (Mika Epstein)

    (@ipstenu)

    ?????? Advisor and Activist

    Let’s go back a step.

    Turn off the plugin (delete it if you have to to get in).

    Then make a subsite. Make sure THAT works first. Then remember you CANNOT map domain1.com.

    Your setup is this:

    WP installed in domain1.com/wp
    Second site is domain1.com/wp/second
    Domain mapped domain2.com to domain1.com/wp/second

    Anything else will go belly up.

    Thread Starter cometgrrl

    (@cometgrrl)

    OK, I am normally not this clueless.

    For this:
    Second site is domain1.com/wp/second

    Does this mean under network -> sites
    I add a site with domain = domain1.com and path = /wp/second?

    Also, I am not sure how or what I should do for this:
    Domain mapped domain2.com to domain1.com/wp/second

    In the domain mapping plugin, I don’t know what I’m supposed to be doing. I added domain2.com under “domains” but it’s unclear how it knows that points to domain1.com/wp/second.

    And no matter I do, I still get the too many redirects on domain1.com as soon as I enable the plugin.

    Moderator Ipstenu (Mika Epstein)

    (@ipstenu)

    ?????? Advisor and Activist

    Second site is domain1.com/wp/second

    WOAH. Stop. Previously you said this:

    I have WordPress installed @ domain1.com/wp/ and have an existing blog/site running at domain1.com.

    So that means your second site would actually be running out of domain1.com/second NOT domain1.com/wp/second

    How did you make domain1.com work?

Viewing 11 replies - 1 through 11 (of 11 total)
  • The topic ‘can't access dashboard after configuring domain mapping’ is closed to new replies.