Answers for "https redirect by htaccess"

PHP
0

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
1

htaccess redirect to html page

RedirectMatch 301 ^/blog/about /blog/about.html
Posted by: Guest on December-03-2020

Browse Popular Code Answers by Language