标签: apache mod-rewrite
我有一个htaccess文件:
RewriteEngine On Redirect 301 /a https://website.com/b RewriteCond %{HTTPS_HOST} ^www\.website\.com/$ [NC] RewriteRule ^(.*)$ https://website.com/$1 [R=301,L]
我的/a -> /b重定向有效,但www。到非www。重定向未应用。我该如何正确设置?
/a -> /b