Posted By

fyrebase on 09/22/10


Tagged

htaccess www


Versions (?)

Subdomain and WWW direction


 / Published in: Other
 

This will not redirect subdomains like mail.example.org

  1. RewriteCond %{HTTP_HOST} ^example\.org
  2. RewriteRule ^ http://www.example.org%{REQUEST_URI} [L,R=301]

Report this snippet  

You need to login to post a comment.