vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB4 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=251)
-   -   Site keeps logging me out. (https://vborg.vbsupport.ru/showthread.php?t=293255)

ProjectCamaro 12-24-2012 01:48 PM

Site keeps logging me out.
 
When I go to my site if I use the "www" everything works fine but if I don't use it then I won't be logged in.

I deleted all my cookies and tried again and have the same result. I'm sure this is an easy fix and I'm an idiot for not knowing what to do but I do appreciate any help.

kh99 12-24-2012 01:54 PM

Go to the "Cookies and HTTP Header Options" in the admincp and read the description on the "Cookie Domain" section. That might solve the issue you described, but I've heard people say that it's better to use an entry in the .htaccess file to redirect all requests to one domain name.

ProjectCamaro 12-24-2012 02:17 PM

Quote:

Originally Posted by kh99 (Post 2392569)
Go to the "Cookies and HTTP Header Options" in the admincp and read the description on the "Cookie Domain" section. That might solve the issue you described, but I've heard people say that it's better to use an entry in the .htaccess file to redirect all requests to one domain name.

Thank you for the suggestion but that looks correct. I'm using vba CMPS so I have it set to .mysite.com as it states I should.

What would I have to do in the .htaccess file to make it work (Sorry, newbie) and would an automatic redirect penalize me in Google searches?

Lynne 12-24-2012 03:49 PM

google brings up this - http://www.htaccessredirect.net/index.php

and entering something into the first line, I get:
Code:

//Rewrite to www
Options +FollowSymLinks
RewriteEngine on
RewriteCond %{HTTP_HOST} ^.mysite.com[nc]
RewriteRule ^(.*)$ http://www..mysite.com/$1 [r=301,nc]


CAG CheechDogg 12-24-2012 06:19 PM

I use this instead

Code:

RewriteCond %{HTTP_HOST} ^yoursite.com$
RewriteRule ^(.*)$ "http\:\/\/www\.yoursite\.com\/$1" [R=301,L]


ProjectCamaro 12-25-2012 03:39 AM

I'm now thinking it isn't something with the site after all. I have this problem on my desktop but after trying on my laptop everything works fine. I just started building the website so I don't have a large user base to talk to but I will see if they are having any problems before I do anything.

--------------- Added [DATE]1356410376[/DATE] at [TIME]1356410376[/TIME] ---------------

Thank you all for your help though, it is greatly appreciated.


All times are GMT. The time now is 12:05 PM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01100 seconds
  • Memory Usage 1,721KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (2)bbcode_code_printable
  • (1)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (6)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete