Several domains point to forum, causes login problems

This is an archive of the phpBB 2.0.x support forum. Support for phpBB2 has now ended.
Forum rules
Following phpBB2's EoL, this forum is now archived for reference purposes only.
Please see the following announcement for more information: viewtopic.php?f=14&t=1385785
Registered User
Posts: 30
Joined: Sun May 14, 2006 4:37 am

Several domains point to forum, causes login problems

Post by mattbussey » Thu Feb 08, 2007 1:50 pm

I have three domains that point to my forums and that's causing problems with people logging in. They log in under for instance and once they login, they go to and they are shown to not be logged in. I posted a similar questin before and someone mentioned .htaccess. Is there a way that I could use that to send everyone who came to the site, whether it was from or from etc to the exact same page of ? Thanks a lot.

Registered User
Posts: 17905
Joined: Wed Dec 22, 2004 1:14 am
Location: Woodstock, IL

Post by espicom » Thu Feb 08, 2007 3:20 pm

The solution is to take them to the "preferred" domain prior to logging in. It is pretty simple; see Redirect to normalize hostname for how to do it.
Fixing 1016/1030/1034 Errors | (obsolete link) | MySQL 4.1/5.x Client Error | phpBBv2 Logo in ACP
Support requests via PM are ignored!
"To be fully alive is to feel that everything is possible." - Eric Hoffer


Return to “2.0.x Support Forum”