The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
||||
|
||||
![]()
Is there a way to do this on vBulletin without using mod_rewrite and a .htaccess file? My site is running into problems with cookies (If you visit without the www. then you aren't logged in, the web browser sees it as two cookies, or something.)?
Is there a fix for making one cookie work on http:// and http://www.? |
#2
|
|||
|
|||
![]()
I'm fairly certain that you're going to have to use a .htaccess rewrite if you want to forward to www.*
But have you tried changing the cookie options in your vBulletin AdminCP? For instance, modifying the cookie domain to be ".domain.com" without quotes and where domain.com is actually your domain (notice the dot in front of the domain name). |
#3
|
||||
|
||||
![]()
I had the exact same issue with my forum.
In your .htaccess file, put this: Code:
########################################################### # MOD_REWRITE ########################################################### Options +FollowSymlinks RewriteEngine On ######################### # ADD WWW. ######################### RewriteCond %{HTTP_HOST} !^www\. RewriteRule (.*) http://www.%{HTTP_HOST}/$1 [R=301,L] http://bluesbrotherscentral.com http://bluesbrotherscentral.com/forum/ (both forward to 'www') It's a 301 redirect (Moved Permanently), so it should also help you as far as Search Engine indexing/optimisation. |
#4
|
|||
|
|||
![]() Quote:
|
#5
|
||||
|
||||
![]() Quote:
![]() |
#6
|
||||
|
||||
![]()
Thank you!
|
#7
|
||||
|
||||
![]()
Thanks its works on my site
|
![]() |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|