RewriteEngine OnRewriteBase /RewriteCond %{HTTP_HOST} !^www.xxx.com$ RewriteRule ^(.*)$ http://www.xxx.com/$1 [L,R=301]
用的.htaccess
但是无效 虚拟主机则没问题 是代码错了还是?
共有 4 条评论,登录后可见