Answers for "301 redirect website to new domain"

PHP
1

301 redirect http to https

#For apache .htaccess
RewriteEngine On
RewriteCond %{HTTPS} off
RewriteRule (.*) https://%{HTTP_HOST}%{REQUEST_URI} [R=301,L]
Posted by: Guest on October-02-2020

Code answers related to "301 redirect website to new domain"

Browse Popular Code Answers by Language