Answers for "normal http to https"

1

HTTP to HTTPS

# .htaccess
# WordPress Website von http zu https umziehen
# Move WordPress website from http to https
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteCond %{HTTPS} !=on
RewriteRule ^ https://%{HTTP_HOST}%{REQUEST_URI} [L,R=301]
</IfModule>
Posted by: Guest on February-16-2021
0

http to https

RewriteEngine On
 RewriteCond %{HTTPS} !=on
 RewriteRule ^.*$ https://%{SERVER_NAME}%{REQUEST_URI} [R,L]
Posted by: Guest on November-26-2021

Browse Popular Code Answers by Language