The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
Automatically adding the www in the URL?
Hi,
I've searched a bit, but due to the search terms being completely generic, couldn't find anything worthy. I'm looking for a way to add the www. in my forum's URLs when it's not in (eg. when people type http://mysite.com/forum, it'd redirect them to http://www.mysite.com/forum), for the simple reason that not having it in completely screws up a few hacks I use. Anyone has a functional way to easily do this? Thanks in advance! |
#2
|
||||
|
||||
htaccess
add # force www in url RewriteEngine On RewriteCond %{HTTP_HOST} !^www\.example\.com [NC] RewriteRule ^(.*)$ http://www.example.com/$1 [R=301,L] # END force www in url |
#3
|
|||
|
|||
Quote:
Works, thank you very much |
#4
|
||||
|
||||
Very Welcome
|
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|