Web Security
Force HTTPS on WordPress
![](https://tcert.net/wp-content/uploads/2020/03/https.png)
How to implement?
Code:
RewriteCond %{HTTPS} !=on
RewriteRule ^(.*)$ https://%{HTTP_HOST}%{REQUEST_URI} [L,R=301,NE]
How to implement?
Code:
RewriteCond %{HTTPS} !=on
RewriteRule ^(.*)$ https://%{HTTP_HOST}%{REQUEST_URI} [L,R=301,NE]