RewriteEngine on
RewriteCond %{http_host} ^haoaixue.com [NC]
RewriteRule ^(.*)$ http://www.haoaixue.com/$1 [L,R=301]
