Skip to main content

Add HTTPS Redirect to htaccess?

Comments

2 comments

  • cPanelLauren
    Hi @keneso It looks like all this does is rewrite mysite.com and myseconddomain to [plain]http://www.mysite.co [/plain] and [plain] http://www.myseconddomain.com[/plain] which if you're adding a forced redirect to[plain] https://www.mysite.com[/plain] are no longer needed. The cPanel inserted directives will be automatically added again if there's an issue with the DCV check when AutoSSL runs again. With that being said I'd just remove that whole block in place of your new redirect. If you're concerned you can add comments to it before completely removing it to test it out.
    0
  • keneso
    Thank you. Will do as suggested.
    0

Please sign in to leave a comment.