Posted By

depiction on 06/04/11


Tagged

redirect htaccess to www 301 non-www


Versions (?)

Non-www to www Redirect - htaccess


 / Published in: Apache
 

  1. Options +FollowSymlinks
  2. RewriteEngine On
  3. RewriteCond %{HTTP_HOST} ^domain.com
  4. RewriteRule (.*) http://www.domain.com/$1 [R=301,L]

Report this snippet  

You need to login to post a comment.