Htaccess redirect https to another https
snippet in htaccess
Htaccess redirect https to another https
user721
RewriteEngine On
RewriteCond %{HTTP_HOST} !^www\.domain\.com$ [NC]
RewriteRule ^ https://www.domain.com%{REQUEST_URI} [R=302,L]