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 ?
It could be lots of things. So far, you haven't given us enough detail to help narrow it down.
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.
Can you go to the /about/ page?
Yes, I can reach the about page.
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.
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.
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.
I'm actually using "http://sub.mydomain.tld"