Answers for "force https to be on wordpress"

CSS
0

wordpress force https

<IfModule mod_rewrite.c>
RewriteEngine On
RewriteCond %{HTTPS} off
RewriteRule ^(.*)$ https://%{HTTP_HOST}%{REQUEST_URI} [L,R=301]
</IfModule>
Posted by: Guest on January-02-2021
0

how to force non www and https wordpress

# Redirect www to non-www
RewriteEngine On
RewriteCond %{HTTP_HOST} ^www.charlestonboatdetailing.com [NC]
RewriteRule ^(.*)$ https://charlestonboatdetailing.com/$1 [L,R=301]
Posted by: Guest on October-22-2020

Browse Popular Code Answers by Language