WordPress.org

Ready to get started?Download WordPress

Forums

WordPress MU Domain Mapping
Multisites Addon Domain login Issue (10 posts)

  1. alifaraz
    Member
    Posted 1 year ago #

    Hello Everyone!
    I am just setup the multisites network using plugin "Domain Mapping" i setup the addon domain and all the process. Everything is working ok and perfect. That is like..
    http://main-domain.com
    http://addon-domain1.net
    http://addon-domain2.org
    http://adon-domain3.info
    Now the issue i faced that is when i access the other sites dashboard that send me to the login page there i put the main Username and Password then the page refresh but nothing happened.
    Please help me out,
    Thanks

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

  2. Ron Rennick
    MultiSite Guru
    Plugin Author

    Posted 1 year ago #

    Do you have COOKIE_DOMAIN defined in your wp-config.php ?

  3. alifaraz
    Member
    Posted 1 year ago #

    Thanks for your Reply Ron.
    No i didn't where i have to place it in wp-config.php?

  4. Ron Rennick
    MultiSite Guru
    Plugin Author

    Posted 1 year ago #

    No i didn't where i have to place it in wp-config.php?

    Having it in your wp-config.php is usually the thing that would cause the problem above. You checked and verified that it wasn't there? If so, search your plugins to see if one of them (other than domain mapping) is defining it.

  5. grosso
    Member
    Posted 1 year ago #

    We have same issue here. grepped for COOKIE_DOMAIN (grep COOKIE_DOMAIN wp-content/plugins/ -R) and looks like none of the plugins has it. Neither wp-config.php.

    Where else should it be checked or is there another hint?

  6. grosso
    Member
    Posted 1 year ago #

    As an addition: WP 3.5.1 with MultiSite enabled, Domain Mapping plugin 0.5.4.3.

    Other plugins installed:

    # ls -1 plugins/
    admin-collapse-subpages
    audit-trail
    breadcrumb-navxt
    cms-tree-page-view
    co-authors-plus
    content-slide
    disable-comments
    media-author
    raw-html-pro
    relevanssi
    slideshow-jquery-image-gallery
    user-role-editor
    wordpress-mu-domain-mapping
    wp-password-generator

  7. Ron Rennick
    MultiSite Guru
    Plugin Author

    Posted 1 year ago #

    Where else should it be checked or is there another hint?

    After you log in and get redirected, check you browser cookies and see if you have a cookie wordpress_logged_in_ ...

  8. grosso
    Member
    Posted 1 year ago #

    Yes, I do, here is one from my Chrome cache for main site 'a', that is the original one. I'm able to login:

    Name: wordpress_logged_in_0b05c08f38c5323935ffe5a8b32fc8d0
    Content: my_login%7C1366184004%7Cfbc44d09c76abdb165e5a1293e3391d8
    Domain: .a.mysite.com
    Path: /
    Send for: Any kind of connection
    Accessible to script: No (HttpOnly)
    Created: Monday, April 15, 2013 10:33:24 AM
    Expires: When the browsing session ends

    When I go My sites / Site 'b' / Dashborad I get login screen. No new cookies appear, neither login is possible with correct password.

  9. grosso
    Member
    Posted 1 year ago #

    I took "Remote Login" off, now can login to site 'b' at least, though by typing a password, no automatically.

    Correct if I'm wrong, "remote login" is a kind of single-site-login option, thus logged in once to any site one shold be able to switch with no password between all sites configured with WP MS? When it is off, one will need to login to all sites separately?

  10. Ron Rennick
    MultiSite Guru
    Plugin Author

    Posted 1 year ago #

    Re looking for the cookie I menat for the mapped domain where it kept redirecting vs one for the main site where logins were working.

    thus logged in once to any site one shold be able to switch with no password between all sites configured with WP MS?

    No, it doesn't necessarily log you into all of them. If you log into the mapped domain then you are also logged into the unmapped/main domain. IOW, you are logged into the mapped domain and all of unmapped sites.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic