I want to redirect all traffic to HTTPS and WWW at the same time

后端 未结 0 459
隐瞒了意图╮
隐瞒了意图╮ 2021-01-06 03:44

What I currently have is

RewriteEngine On
RewriteCond %{SERVER_PORT} 80
RewriteRule ^(.*)$ https://www.example.com/$1 [R=301,L]

This code red

相关标签:
回答
  • 消灭零回复
提交回复
热议问题