.Htaccess 301控制www前缀展示

总是展示www前缀

Options +FollowSymLinks
RewriteEngine On
RewriteBase /
RewriteCond %{HTTP_HOST} !^www\.puresmile\.com\.cn$ [NC]
RewriteRule ^(.*)$ https://www.dustit.me/$1 [R=301,L]

总是隐藏WWW前缀

Options +FollowSymLinks
RewriteEngine On
RewriteBase /
RewriteCond %{HTTP_HOST} !^askapache\.com$ [NC]
RewriteRule ^(.*)$ http://askapache.com/$1 [R=301,L]