Answers for "https to http"

PHP
0

htaccess redirect https to http

RewriteEngine On
RewriteCond %{HTTPS} on
RewriteRule (.*) http://%{HTTP_HOST}%{REQUEST_URI} [R=301,L]
Posted by: Guest on July-22-2020
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

Browse Popular Code Answers by Language