Hosting Geared For
your CMSMS needs
Hosting Starting at $15
- • Hosted Mail
- • Personal Control Panel
- • CMSMS 1.8.1 tested
- • Lightly packed servers
- • Intrusion Detection
- • URL monitored
- • Custom solutions available
CP Blogs
.htaccess trick to insert www
Posted by: Jeremy Bass
on May 3, 2009
Category:
Basics, .htaccess, Apache server, CMS Made Simple
Summary:
Here is one way to force a www in the url.
Ad Space
Here is one way to force a www in the url.
# force www IN URL RewriteCond %{HTTP_HOST} !^www\. [NC] RewriteRule ^(.*)$ http://www.%{HTTP_HOST}/$1 [R=301,L] # END force www IN URL Ad Space














Get Social With It
[+]Add A Comment
[+]