The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
Logging out - if I remove www
Hi all,
If I login with my user name & password at my vB forum - http://www.testwebsite.com/forum then it's fine. Then if I remove www from above URL - http://testwebsite.com/forum , the login does not stay. It logs out automatically. I need to relogin. Did I mess up any settings (like cookies) ? |
#2
|
||||
|
||||
There have been plenty of threads on this over the times. Just redirect all traffic from one to the other. Search "yes-www" or "no-www" on Google. The cookies will stick on the domain you entered as the forum URL. Alternatively, you can set the cookie domain to .domain.com (not 100% sure if this will work in all cases).
|
#3
|
|||
|
|||
Quote:
I am trying the htaccess rule to redirect traffic to www. |
#4
|
||||
|
||||
I use this in my .htaccess
Quote:
|
#5
|
||||
|
||||
I have read about this many times here as well...I removed www from my site url & forum url via admincp, I also have many custom links in my navbar & removed all www from each link that were for my site.
I then informed my members to edit their short cut to the site from their desk top & remove www from it....No problems from that point. |
#6
|
||||
|
||||
Quote:
|
#7
|
||||
|
||||
You may need to log out and log back in for it to take effect.
I can almost guarantee you that this will work. It is not a bug in vBulletin. It is part of the security of cookies. Just redirect all traffic to one or the other and the "problem" is gone. |
#8
|
|||
|
|||
I did that. It did not work.
|
#9
|
||||
|
||||
Have you tried the mod_rewrite rule solution?
|
#10
|
|||
|
|||
Problem Solved with REDIRECT.
Code:
RewriteEngine on RewriteCond %{HTTP_HOST} !^www RewriteRule (.*) http://www.%{HTTP_HOST}/$1 [L,R] |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|