Showing posts with label .htacces. Show all posts
Showing posts with label .htacces. Show all posts

28 January 2012

redirect domain.com to www.domain.com using .htaccess

RewriteEngine on
RewriteCond %{HTTP_HOST} ^domain\.com
RewriteRule ^(.*)$ http://www.domain.com/$1 [R=permanent,L]