Skip to main content

How do I redirect secure connections to subdomain and show same content?

Comments

1 comment

  • cPanelMichael
    Hello, You could try an entry in the .htaccess file like this:
    RewriteEngine On RewriteCond %{HTTP_HOST} ^domain\.com [NC] RewriteCond %{SERVER_PORT} 80 RewriteRule ^(.*)$ https://domain.com/$1 [R,L]
    Thank you.
    0

Please sign in to leave a comment.