Log in

View Full Version : Why is 'www.' disappearing?


Jubei
08-17-2007, 11:32 AM
How come my url sets to 'http://mysite.com/forums' and exludes the 'www'? If you add that, it will just change to the aforementioned. The Forum URL in vBulletin options has the 'www'.

G0F0RBR0KE
08-17-2007, 11:36 AM
Not many user(s) type www. I just type my domain without the "www" and it still loads. Those who don't know, types the www.site.com

Jubei
08-17-2007, 11:37 AM
That doesn't explain why it's doing it though, since there are forums where the 'www' remains regardless.

G0F0RBR0KE
08-17-2007, 11:45 AM
You'll have to ask your host provider on what they dont' allow "www."

I nor anyone (maybe they can) can tell you why it's happening to you. You'll just have to ask them your-self.

Eikinskjaldi
08-17-2007, 12:52 PM
most likely answer is a rewrite in httpd.conf

It's a good thing, avoids cookie clashes, I use it for all my sites.

JacBowen
08-17-2007, 04:00 PM
Could this be an error in your vBulletin options?
Try editing..

http://www.Yoursite/vBulletin/admincp/options.php?null=0
Then go to "Site Name / URL / Contact Details"
Then edit "Forum URL".

Let me know how you get off ;)

Quarterbore
08-17-2007, 04:24 PM
Funny, I use a rewrite rule to force the www. Some browsers will not retain cookies if they don't come in under the www (I don't recall which, I just no I got tons of complaints).

Add this to your htaccess file in the public html folder.

Options +FollowSymlinks
RewriteEngine on
rewritecond %{http_host} ^your-main-domain\.com [nc]
rewriterule ^(.*)$ http://www.your-main-domain.com/$1 [r=301,nc]

No more issues! But this will force the www on you!

Jubei
08-17-2007, 04:43 PM
Thanks, Quarterbore. That's fixed it. =)