vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=111)
-   -   www kills my user's logins (https://vborg.vbsupport.ru/showthread.php?t=159625)

yoyoyoyo 10-06-2007 03:48 PM

www kills my user's logins
 
I registered my site as mysite.com (since the www is pointless these days) but some people never lose the www habit.

In the ACP under "Forum URL" I have it listed as http://mysite.com/forum

When they try to access my site from www.mysite.com and try to log in it gives them the "thanks for logging in" message, but then it defaults back to them not being logged in, and no matter how hard they try they can't login as long as they use the www in front of the domain name.

I added www.mysite.com and mysite,com to the "Post Referrer Whitelist" in the ACP, but it doesn't seem to help with that issue. Nobody has any issues that I know of logging in via mysite.com, but if they add the www in front it causes all kind of problems.

I realize that the easiest thing is to tell people to login without the www, but not everyone listens to that or realizes that the www is redundant.

Does anyone know how I can fix this?

Lynne 10-06-2007 04:04 PM

You may use .htaccess to fix this. Just redirect all users who put www in front of the url to mysite.com

http://www.webweaver.nu/html-tips/web-redirection.shtml

yoyoyoyo 10-06-2007 06:49 PM

thanks much!

Marco van Herwaarden 10-07-2007 07:19 AM

Or set your Cookie Domain to .mysite.com (leading dot).

Dismounted 10-09-2007 08:48 AM

I keep the "www" for my website. I somehow seem to like it like that :p.


All times are GMT. The time now is 12:23 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.01514 seconds
  • Memory Usage 1,711KB
  • 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
  • (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