RewriteEngine on rewritecond %{http_host} ^www.ys720.com [nc] rewriterule ^(.*)$ http://ys720.com/$1 [r=301,nc]