MyBB Community Forums

Full Version: Can't Login (Ajax 302)
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hey there! 

I have the following problem: I had installed my forum at one of my test domains and moved it yesterday to the new domain. Now the login is broken and member.php gets the status code 302. I read a lot of threads and edited the following things after domain change:

- change settings in database
- change/delete settings.php (change every pathes)
- database connection works great
- I cleared the caches
- activate Secure Cookies

If I check the networks in Chrome while trying to log in, I get the status code 302 for the member.php file. I don't know why. The login works great at the old domain. The registration is working, only the login makes some troubles. There must be some little thing I have forget, but what?

Login doesn't work: https://harpg.de
Login does work: https://hosting119388.a2fa9.netcup.net/

Thank you!
A custom redirect may be causing it (possibly related to enforcing the www. subdomain, not included in the board URL).
(2020-05-04, 08:33 PM)Devilshakerz Wrote: [ -> ]A custom redirect may be causing it (possibly related to enforcing the www. subdomain, not included in the board URL).

Thank you for the hint. I will search for it... Smile 
So lets take a look.......

Thank god I found it ...

Thank you @Devilshakerz your hint was very helpful. The login works after I change my hosting settings.
My hoster is netcup and I change the preffered domain from https://www.domain.de to "no preffered domain".