Question about cPanel Addon Domains and redirects

Hello Question about cPanel Addon Domains and redirects

Let's say I have a phpBB forum installed at

http://www.example.com/forum/

Then I set up an Addon domain test.com for direct access to my forum and I configure all the cookie paths (for the forum user sessions) to point to test.com instead of example.com/forum/

The problem now is that if someone access the forum through the old address (example.com/forum/) the cookies will not work. Is there a way I can redirect the user to test.com when he access through the old address, so he won't have problems to login?

Thanks in advance for any tip you can give me Question about cPanel Addon Domains and redirects

 

 

 

 

Top