MyBB Community Forums

Full Version: Login Redirecting
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
This is my forum.

http://www.affiliatesea.com/forum/

The problem is .. after logging in ... it is showing "login -- Register ".
I tried all the suggestions given in other threads.
It was working fine before.It's not working after redirected my main url using this..


RewriteBase /
RewriteCond %{HTTP_HOST} !^www.affiliatesea.com$ [NC]
RewriteRule ^(.*)$ http://www.affiliatesea.com/$1 [L,R=301]

Is it the really problem with this 301 redirect?I didn't do any redirects to the forum.Please help me regarding this issue.
Your cookie domain is wrong, change it to .affiliatesea.com and see if you stay logged in then.
thanks AJS,

I have already done that.

I changed it in database settings table.

my cookie domain is .affiliatesea.com
cookie path is /forum/

I rechecked it and tried again. same problem existing again.

It's still set to .forum.affiliatesea.com

Read the sticky to see how to set it correctly - http://community.mybb.com/thread-74904.html
I rechecked it again...

I changed it again in mybb_settings using phpmyadmin..
It is .affiliatesea.com now.

Do i need to change some where else..
It specifically says to edit it in ./inc/settings.php. Changing it in the database will not work.

After you've edited it in settings.php, you need to edit it again in the ACP.