Results 1 to 6 of 6
-
7th Feb 2010, 06:27 AM #1OPMember
Fix the cookie problem in vB
Ok, I've seen many people are facing the problem of cookies with their forums. I also had that problem on my site and just figured out the reason. The reason is when you login on some site like http://domain.com it loads the cookie for http://www.domain.com
So when you click on the banner it redirects you to the correct location and everything is fixed and you can see your self logged on.
So how to fix this?
Here is the solution:
Method #1
1) Go to http://www.site.com/admincp/index.php
2) Find vBulletin Options (Click on vBulletin Options in the table)
3) Find "Cookie Domain"
You need the first setting only
This option sets the domain on which the cookie is active. The most common reason to change this setting is that you have two different urls to your forum, i.e. example.com and forums.example.com. To allow users to stay logged into the forum if they visit via either url, you would set this to .example.com (note the domain begins with a dot.
And the problem should be solved.
Method #2
If the above method doesn't work then connect to your site via FTP
In your site root folder find ".htaccess"
You have to change last three lines
Make it
# Redirect non-www to www
RewriteCond %{HTTP_HOST} !^www\.
RewriteRule (.*) http://www.YOURDOMAIN.COM/$1 [R=301,L]
It will 100% work
This tutorial is totally written by Royal King. A token of appreciation will make me happyRoyal King Reviewed by Royal King on . Fix the cookie problem in vB Ok, I've seen many people are facing the problem of cookies with their forums. I also had that problem on my site and just figured out the reason. The reason is when you login on some site like http://domain.com it loads the cookie for http://www.domain.com So when you click on the banner it redirects you to the correct location and everything is fixed and you can see your self logged on. So how to fix this? Here is the solution: Method #1 1) Go to Rating: 5
-
7th Feb 2010, 06:41 AM #2Member
What is the problem in the First place. What am i supposed to fix if I dont know what i am fixing lol.
-
7th Feb 2010, 06:43 AM #3OPMember
The cookie probem. When you try to login your site it logs you in but you see yourself as a guest.
Added more info in the main post
Ok, I've seen many people are facing the problem of cookies with their forums. I also had that problem on my site and just figured out the reason. The reason is when you login on some site like http://domain.com it loads the cookie for http://www.domain.com
So when you click on the banner it redirects you to the correct location and everything is fixed and you can see your self logged on.
So how to fix this?
Here is the solution:
-
7th Feb 2010, 06:45 AM #4Member
Ok the cookie that logs you out gotcha kept logging me out on my friends forum: forum.xxx.tld
xxx.tld/forum
both were using the same db. And all the links were pointed to a diff site had to log into both sometimes Thanks tho i will tell him
-
7th Feb 2010, 06:46 AM #5OPMember
Welcome mate
-
7th Feb 2010, 02:28 PM #6MemberWebsite's:
photostash.me videostash.org# Redirect non-www to www
RewriteCond %{HTTP_HOST} !^www\.
RewriteRule (.*) http://www.YOURDOMAIN.COM/$1 [R=301,L]
freshwap.net don't have this redirection to www and posters work on that site.
I added u on my msn
Sponsored Links
Thread Information
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)
Similar Threads
-
UK Cookie Law Starts This Weekend
By Ladybbird1 in forum News & Current EventsReplies: 4Last Post: 27th May 2012, 09:31 AM -
Need Help In cookie
By saninokia in forum Web Development AreaReplies: 0Last Post: 21st Feb 2012, 04:10 PM -
How to add cookie in rapidleech
By djakil in forum Webmaster DiscussionReplies: 5Last Post: 14th Jan 2011, 05:00 AM -
C is for cookie, and that's good enough for me
By Sp32 in forum General DiscussionReplies: 4Last Post: 18th Jan 2010, 05:14 AM -
Firefox Cookie Issues
By d3monic in forum Technical Help Desk SupportReplies: 4Last Post: 30th Jul 2009, 04:38 PM
themaManager - edit and manage...
Version 4.04 released. Open older version (or...