Answers for "htaccess redirect to https\"

PHP
7

redirect http to https htaccess

#htaccess

RewriteEngine On
RewriteCond %{HTTPS} !=on
RewriteRule ^(.*)$ https://%{HTTP_HOST}%{REQUEST_URI} [L,R=301,NE]
Posted by: Guest on August-27-2020
0

.htaccess Redirects

Redirect /old_dir/ http://www.yourdomain.com/new_dir/index.html
Posted by: Guest on December-03-2021

Code answers related to "htaccess redirect to https\"

Browse Popular Code Answers by Language