The Arcive of vBulletin Modifications Site. |
|
|
#1
|
|||
|
|||
|
Does any one now a code so that when I on my website it will if the url doesn't have "www" in front of it, it will redirect to the url with "www"?
|
|
#2
|
|||
|
|||
|
Put this in you .htaccess
replace yoursite.com with.. yep. you know the drill Code:
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
RewriteCond %{HTTP_HOST} !^www\.yoursite\.com [NC]
RewriteRule ^(.*)$ http://www.yoursite.com/$1 [L,R=301]
</IfModule>
|
|
#3
|
|||
|
|||
|
thank you!
|
![]() |
|
|
| X vBulletin 3.8.12 by vBS Debug Information | |
|---|---|
|
|
More Information |
|
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|