Friday, April 2, 2010

.htaccess : Require the www

Options +FollowSymLinks
RewriteEngine On
RewriteBase /
RewriteCond %{HTTP_HOST} !^www\.askapache\.com$ [NC]
RewriteRule ^(.*)$ http://www.askapache.com/$1 [R=301,L]

0 Comments:

Post a Comment

Subscribe to Post Comments [Atom]

<< Home