Forums

The WordPress MU forums have moved to the MultiSite forum on WordPress.org

login loop on subblogs (9 posts)

  1. Iglebekk
    Member
    Posted 2 years ago #

    Hi,

    When I login on the primay blog everything works great, but when I try to login in on a subblog it loops back to the login page.

    I have tryed to add

    define('ADMIN_COOKIE_PATH', '/');
    define('COOKIE_DOMAIN', '');
    define('COOKIEPATH', '');
    define('SITECOOKIEPATH', '');

    to my wp-config.php, but it didnt help.

    How to fix ?

  2. andrea_r
    Moderator
    Posted 2 years ago #

    It could be lots of things. So far, you haven't given us enough detail to help narrow it down.

  3. mfrench
    Member
    Posted 1 year ago #

    I see the same issue, but in my case it's while attempting to log in for the very first time. The username is "admin" and the password is taken from the page generated when the instance was first set up.

    If I type a different password, I get a message telling me that it's the wrong password. However, if I type the correct password I get dropped right back on the login page.

    There are no other users on this instance, and only the default blog configured by the installer. I have changed NONE of the settings, not least of all because I cannot log in to do so.

  4. andrea_r
    Moderator
    Posted 1 year ago #

    Can you go to the /about/ page?

  5. mfrench
    Member
    Posted 1 year ago #

    Yes, I can reach the about page.

  6. andrea_r
    Moderator
    Posted 1 year ago #

    Does it have the /about/ slug in the permalink/ up at the top of the browser?

    Also, someone in another thread narrowed it down to the borwser cache not clearing completely.

  7. mfrench
    Member
    Posted 1 year ago #

    I see a link to /about on the about page, and the URL displayed in the browser is http://mydomain/about/ (which is to say, it rewrites the URL to add a slash whether I put one there or not when I type the URL).

    I have utterly destroyed my browser's cache, to no avail. I did, however, install a brand new browser my machine had never seen before and logged in with that, and it worked on the first try.

    I still don't understand WTF was going on, but I appreciate the help! Many thanks.

  8. tdjcbe
    Member
    Posted 1 year ago #

    Are you using mydomain or mydomain.tld? Big difference there which if you are using the first one, may be why there's an issue.

  9. mfrench
    Member
    Posted 1 year ago #

    I'm actually using "http://sub.mydomain.tld"

Topic Closed

This topic has been closed to new replies.

About this Topic