View Full Version : www or not ?
Gamelobby
09-09-2012, 10:02 PM
Wondering why when im on my site it works fine obviously, but when i click a link to another part of the site it logs me out, or actually it doesn't log me out, but it is a version that im not signed into.?
http://mysite.com works fine
http://www.mysite.com im logged out.?
If i go up & remove the "www." from the url it reloads & im logged in.
Does it have to do with my "Forum URL" in the settings?
Forum URL
URL of your forum.
Note: do not add a trailing slash. ('/')
In there i have http://mysite.com/forum
Any help..?
Thanks
ForceHSS
09-09-2012, 10:05 PM
.htaccess file
Gamelobby
09-09-2012, 10:31 PM
Here is what is there.?
Options +FollowSymLinks
RewriteEngine On
RewriteCond %{HTTP_HOST} ^gamelobby\.com$
RewriteRule ^(.*)$ http://www.gamelobby.com/$1 [R=301,L]
Do i need to edit out the "www" ?
ForceHSS
09-10-2012, 04:07 AM
Here is what is there.?
Options +FollowSymLinks
RewriteEngine On
RewriteCond %{HTTP_HOST} ^gamelobby\.com$
RewriteRule ^(.*)$ http://www.gamelobby.com/$1 [R=301,L]
Do i need to edit out the "www" ?
That depends what u have in ur URL settings
Gamelobby
09-10-2012, 04:18 PM
Mine:
RewriteEngine on
RewriteCond %{HTTP_HOST} ^offroadrc\.ca
RewriteRule ^(.*)$ http://www.offroadrc.ca/$1 [R=permanent,L]
So mine is the same as far as the "www".
The difference is at the end..
Yours - [R=permanent,L]
Mine - [R=301,L]
That depends what u have in ur URL settings
Well since i put that info in my first post i'm not sure what you are asking.!?
What should be in my settings.?
If you don't want to help don't bother posting. :cool:
ForceHSS
09-10-2012, 04:23 PM
So mine is the same as far as the "www".
The difference is at the end..
Yours - [R=permanent,L]
Mine - [R=301,L]
Well since i put that info in my first post i'm not sure what you are asking.!?
What should be in my settings.?
If you don't want to help don't bother posting. :cool:
manners cost nothing, I was helping and did not see that info in the first post
StormBreaker
09-11-2012, 12:36 AM
Use this htaccess to redirect www to non www
RewriteEngine On
RewriteCond %{HTTP_HOST} ^www\.(.+)$ [NC]
RewriteRule ^(.*)$ http://%1/$1 [R=301,L]
Gamelobby
10-01-2012, 05:55 AM
Use this htaccess to redirect www to non www
RewriteEngine On
RewriteCond %{HTTP_HOST} ^www\.(.+)$ [NC]
RewriteRule ^(.*)$ http://%1/$1 [R=301,L]
Appreciate the info Storm, but that didn't seem to make any difference. :(
I added that to what was already there, then tried deleting what was already there, & a few other combinations..
Options +FollowSymLinks
RewriteEngine On
RewriteCond %{HTTP_HOST} ^gamelobby\.com$
RewriteRule ^(.*)$ http://www.gamelobby.com/$1 [R=301,L]
RewriteEngine On
RewriteCond %{HTTP_HOST} ^www.(.+)$ [NC]
RewriteRule ^(.*)$ http://%1/$1 [R=301,L]
Any other ideas, or do you see that I did something wrong.?
Thanks in advance
vBulletin® v3.8.12 by vBS, Copyright ©2000-2025, vBulletin Solutions Inc.