根目录创建一个.htaccess有的话进去编辑,RewriteEngine On
RewriteCond %{SERVER_PORT} 80
RewriteRule ^(.*)$ https://www.gyl.tw/$1 [R,L]
共有 6 条评论,登录后可见