View Full Version : Need Help user Can't log in
nomoreturn
04-30-2009, 02:52 AM
Hello i need help my site user can't log in when they try to login theres come message page that thanks user for login browser will redirect you ...... and after that they went back on privious page with not login please help me to fix it thanks in advance
Lynne
04-30-2009, 03:02 AM
Can users logon at both www.yoursite.com and at yoursite.com? If so, you should either redirect all traffic to one of the other urls (using htaccess is one way) or set your cookie domain to .yoursite.com (notice the dot at the beginning).
nomoreturn
04-30-2009, 03:13 AM
Can users logon at both www.yoursite.com and at yoursite.com? If so, you should either redirect all traffic to one of the other urls (using htaccess is one way) or set your cookie domain to .yoursite.com (notice the dot at the beginning).
Thanks for reply that was too quick awsome. When user try with mysite.com they get this erroe like 99% and with www.mysite.com they get error like 1% . I'm a newbie so plesae help me to fix it i dont know how to fix this in htaccess
Lynne
04-30-2009, 03:20 AM
There are quite a few threads here about that, like this one here - Forwarding http:// to http://www. (https://vborg.vbsupport.ru/showthread.php?t=212106&highlight=htaccess)
nomoreturn
04-30-2009, 03:32 AM
There are quite a few threads here about that, like this one here - Forwarding http:// to http://www. (https://vborg.vbsupport.ru/showthread.php?t=212106&highlight=htaccess)
Thanks alot Lynne i fix it with your help thread which you gave me in your reply its realy good
#RewriteCond %{HTTP_HOST} !^www\.yourdomain\.com
#RewriteRule (.*) http://www.yourdomain.com/forums/$1 [L,R=301]
i replace these codes in my .htaccess file with
RewriteCond %{HTTP_HOST} !^www\.yoursite\.com
RewriteRule (.*) http://www.%{HTTP_HOST}/$1 [R=301,L]
and now my site working properly and there's no problem in user login http://mysite.com changed automatically in http://www.mysite.com thanks alot for help
vBulletin® v3.8.12 by vBS, Copyright ©2000-2025, vBulletin Solutions Inc.