88 pointsSerious WPMU DEV-sterI'm new here
skishopmatt
Member
—
1st March 2011
I have been searching for a solution to my double log-in issue and finally am resorting to the forum. Version wise, everything is up to date, wp3.1, etc.
Here's what's happening.
If a user logs in from their own site (sub.tld.com/login) they are logged into their site and taken to their dashboard. If they then visit the main site, they are not logged in and have to re-log in to have access to the main site.
If they log in on the main site (tld.com/login) they are re-directed after logging in to log in again as it forwards them to their dashboard.
People keep thinking they typed their info wrong since they have to re-log in twice.
We are using Multiple Domains plugin and I do have Single Signon enabled btw.
I have been searching for a solution to my double log-in issue and finally am resorting to the forum. Version wise, everything is up to date, wp3.1, etc.
Here's what's happening.
If a user logs in from their own site (sub.tld.com/login) they are logged into their site and taken to their dashboard. If they then visit the main site, they are not logged in and have to re-log in to have access to the main site.
If they log in on the main site (tld.com/login) they are re-directed after logging in to log in again as it forwards them to their dashboard.
People keep thinking they typed their info wrong since they have to re-log in twice.
We are using Multiple Domains plugin and I do have Single Signon enabled btw.
I should also mention that I am using logout redirect and I was trying to use log in re-direct, but with the log in redirect it created an endless loop of redirecting to the main site but not being logged in so continuously making the user log in with no end in site.
I've been digging further to try to figure out why this is happening. The only things I have done recently to change the log in process was:
1) Force SSL log in (with this loop I'm getting, that didn't work... so it's removed)
2) WPMU log in and log out redirects. >og in game me a loop of destruction, so it's been removed.
That's all that I can think of that has changed. Anyone have any ideas of how to fix this double log in issue?
We're using both Domain mapping and Multi Domains, sorry for the confusion there.
As far as the ssl goes, we did the the wp-config version. First we tried all of admin, then just log in, neither worked, so we removed that coding from the file.
We are also using this command FYI, although it was added after double log in started. define('NOBLOGREDIRECT', '%siteurl%');
Marking this as resolved as it's been a couple weeks since we're heard from you. If you need further information, feel free to open this one back up though.
Hey All - sorry for the lack of reply there, been out of town.. I'm back. So yes, I think the double Log In issues started around the same time that we attempted to use SSL, but I'm not 100% certain it was exactly the same time.
Do you have any other ideas?
I changed the noblogredirect function to the actual url and it did not help at all.
I'll ask a couple of the developers to respond - the initial developer for this plugin isn't available any longer so we've got a couple folks getting up to speed on this plugin.
Any luck here? As we haven't heard back from you we're going to assume the problem
was sorted out and mark this ticket as resolved.
If it wasn't resolved, or you have any more questions related to this
thread please feel free to post them below and tick the 'Mark as Not
Resolved (re-open)' box below the post area (or else we'll miss it!)
Otherwise, thanks for using the forums, and for being a member of WPMU
DEV, it's a pleasure to help you out and we look forward to being of
assistance in the future.
Responses (19)
Member — 1st March 2011 #
I should also mention that I am using logout redirect and I was trying to use log in re-direct, but with the log in redirect it created an endless loop of redirecting to the main site but not being logged in so continuously making the user log in with no end in site.
Thanks
Member — 2nd March 2011 #
I've been digging further to try to figure out why this is happening. The only things I have done recently to change the log in process was:
1) Force SSL log in (with this loop I'm getting, that didn't work... so it's removed)
2) WPMU log in and log out redirects. >og in game me a loop of destruction, so it's been removed.
That's all that I can think of that has changed. Anyone have any ideas of how to fix this double log in issue?
Member — 2nd March 2011 #
I also have double log in issue with https:// protocol. But if users log in using only http:// then everything is fine!
Member — 2nd March 2011 #
Hmm... yeah, mine didn't start until I tried using SSL. Even after removing though, it's still not working. Anyone from WPMU have thoughts?
Sales & Support Lead — 3rd March 2011 #
Hiya skishopmatt,
Are you also using domain mapping or only multi-domains?
I'll ask Ulrich to come by and take a look. Also, how were you doing the SSL through a define in wp-config or something different?
We'll help ya get this sorted.
Thanks!
Member — 3rd March 2011 #
Thanks masonjames
We're using both Domain mapping and Multi Domains, sorry for the confusion there.
As far as the ssl goes, we did the the wp-config version. First we tried all of admin, then just log in, neither worked, so we removed that coding from the file.
We are also using this command FYI, although it was added after double log in started.
define('NOBLOGREDIRECT', '%siteurl%');Thanks again for your help
Member — 4th March 2011 #
Any update on this one? Thanks so much!
Matt
Sales & Support Lead — 8th March 2011 #
Hiya Matt,
Are you filling in the actual site url instead of the content in the above define?
I think you'll have to do that. Also, do you have a secure certificate for the domain?
Just checking. I'll ask Ulrich if he has further suggestions here.
Thanks!
Member — 8th March 2011 #
Hi masonjames -
Nope, we are not adding the actual url. Is that just our TLD? with the http? Let me know and I'll change.
Yes, we have SSL set up on the domain as well if that's what you're asking.
Thanks so much, been pulling my hair out...
Matt
Member — 10th March 2011 #
Following up to see if you guys have any thoughts on solving this.
Thanks
Sales & Support Lead — 11th March 2011 #
Hiya Matt,
Sorry, I'm running a bit behind this week.
The define should be like this:
define('NOBLOGREDIRECT', 'http://example.com');I don't think this is actually the issue here. You said:
And this only has happened since you started using SSL? I'm stumped. Let me ask a couple of the devs to come by and take a look.
Thanks!
Sales & Support Lead — 27th March 2011 #
Hiya Matt,
Marking this as resolved as it's been a couple weeks since we're heard from you. If you need further information, feel free to open this one back up though.
Thanks!
Member — 31st March 2011 #
Hey All - sorry for the lack of reply there, been out of town.. I'm back. So yes, I think the double Log In issues started around the same time that we attempted to use SSL, but I'm not 100% certain it was exactly the same time.
Do you have any other ideas?
I changed the noblogredirect function to the actual url and it did not help at all.
Thank you so much
Matt
Sales & Support Lead — 3rd April 2011 #
Hiya Matt,
Welcome back :)
I'll ask a couple of the developers to respond - the initial developer for this plugin isn't available any longer so we've got a couple folks getting up to speed on this plugin.
Aaron, Ivan - any ideas here?
Thanks!
Member — 3rd April 2011 #
Thanks so much! Good to be back :)
I'll look forward to additional thoughts. Have a great one.
Matt
Member — 4th April 2011 #
Hi,
I just want to chime in here as I have just noticed I have this issue too. I am using Multi Domains, but no domain mapping or SSL.
Thanks.
Member — 7th April 2011 #
Any updates on this? We launched to the public this week, I'd love to solve this issue.
Thanks so much
Matt
Lead Developer — 8th April 2011 #
What would really help me out is some triage. Can you disable the possible causing plugins one by one to see which or if one of them is the culprit?
And do the symptoms happen with all blogs, even newly created ones?
Basically how WPMU works is when you login it creates a cookie for .domain.tld. and .domain.tld/wp-admin/. Can you check that that is happening?
Sales & Support Lead — 28th April 2011 #
Hiya skishopmatt,
Any luck here? As we haven't heard back from you we're going to assume the problem
was sorted out and mark this ticket as resolved.
If it wasn't resolved, or you have any more questions related to this
thread please feel free to post them below and tick the 'Mark as Not
Resolved (re-open)' box below the post area (or else we'll miss it!)
Otherwise, thanks for using the forums, and for being a member of WPMU
DEV, it's a pleasure to help you out and we look forward to being of
assistance in the future.
Thanks!
Become a member