📅  最后修改于: 2022-03-11 14:55:36.548000             🧑  作者: Mango
代码示例1
RewriteEngine On
RewriteCond %{HTTP_HOST} ^yourdomain.com [NC]
RewriteRule ^(.*)$ http://www.yourdomain.com/$1 [L,R=301]