vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   Forum and Server Management (https://vborg.vbsupport.ru/forumdisplay.php?f=232)
-   -   Need Help user Can't log in (https://vborg.vbsupport.ru/showthread.php?t=212496)

nomoreturn 04-30-2009 02:52 AM

Need Help user Can't log in
 
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

Quote:

Originally Posted by Lynne (Post 1801600)
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.

nomoreturn 04-30-2009 03:32 AM

Quote:

Originally Posted by Lynne (Post 1801607)
There are quite a few threads here about that, like this one here - Forwarding http:// to http://www.

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


All times are GMT. The time now is 10:30 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.01041 seconds
  • Memory Usage 1,718KB
  • 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_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (5)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