Activity Stream
48,167 MEMBERS
6938 ONLINE
besthostingforums On YouTube Subscribe to our Newsletter besthostingforums On Twitter besthostingforums On Facebook besthostingforums On facebook groups

Results 1 to 6 of 6
  1.     
    #1
    Member

    Default 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.
    4) In Suggested Settings Change ".site.com" to "blank"

    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]
    Note: In the above quote, change YOURDOMAIN.COM to of course your domain.

    It will 100% work


    This tutorial is totally written by Royal King. A token of appreciation will make me happy
    Royal 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

  2.   Sponsored Links

  3.     
    #2
    Member
    What is the problem in the First place. What am i supposed to fix if I dont know what i am fixing lol.

  4.     
    #3
    Member
    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:

  5.     
    #4
    Member
    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

  6.     
    #5
    Member
    Welcome mate

  7.     
    #6
    Member
    Website's:
    photostash.me videostash.org
    # Redirect non-www to www
    RewriteCond %{HTTP_HOST} !^www\.
    RewriteRule (.*) http://www.YOURDOMAIN.COM/$1 [R=301,L]
    My problem is still here. People can not use posters on my site.
    freshwap.net don't have this redirection to www and posters work on that site.
    I added u on my msn

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. UK Cookie Law Starts This Weekend
    By Ladybbird1 in forum News & Current Events
    Replies: 4
    Last Post: 27th May 2012, 09:31 AM
  2. Need Help In cookie
    By saninokia in forum Web Development Area
    Replies: 0
    Last Post: 21st Feb 2012, 04:10 PM
  3. How to add cookie in rapidleech
    By djakil in forum Webmaster Discussion
    Replies: 5
    Last Post: 14th Jan 2011, 05:00 AM
  4. C is for cookie, and that's good enough for me
    By Sp32 in forum General Discussion
    Replies: 4
    Last Post: 18th Jan 2010, 05:14 AM
  5. Firefox Cookie Issues
    By d3monic in forum Technical Help Desk Support
    Replies: 4
    Last Post: 30th Jul 2009, 04:38 PM

Tags for this Thread

BE SOCIAL