标签: php html .htaccess
我目前在.htaccess中使用此代码将所有流量路由到SSL
RewriteEngine On RewriteCond %{SERVER_PORT} 80 RewriteRule ^(.*)$ https://www.example.com/$1 [R,L]
由于这也是一个目标网页,我还希望将www.example.com/testing,www.example.com/?testing=anything,etc等网址发送回索引页{{3} }