Our features site is undergoing a refresh! Be sure to explore the revamped site and discover our latest product roadmap launching here on Monday, March 18th.

Allow users to require http to https redirection on their site and/or addon domains

David Reagan shared this idea 7 years ago
Completed

There should be an option somewhere in the cPanel UI that will enable automatic redirection/rewriting from http to https.


It should be able to be enabled/disabled for the main site, as well as any addon or sub domains.


Currently you can do this via .htaccess or by modifying the vhosts, but a nice UI option would make it a lot simpler.

Replies (1)

photo
2

This is currently underway and will be in the next version or two. Check out the preview...

984f7c030ddbb7e65aab608a1d9df66f

Let us know if you have feedback!

photo
2

This is great. Looking very much forward to it.

It may be easier for end users to have it named "Redirect to https" though since "Secure Redirect" may not mean much to them and there is also no indicator what will actually happen when it's turned on for them to know.

photo
2

Maybe change "Secure Redirect" to "Redirect HTTP to HTTPS"?

Will the implementation take into account paths? So, http://example.org/path/to/page will be redirected to https://example.org/path/to/page and NOT just to https://example.org

photo
3

Thanks for the feedback! Since my post, we've renamed it to "Force HTTPS Redirect" and yes, the redirect will include paths. Here's an updated shot...3b782f22e37baa521acdad4c90621035

photo
1

Awesome work! Thanks!

photo
3

Can this also be managed via WHM?

Ideally we would really appreciate the ability to deploy HTTPS redirects across all of our managed accounts by default, with exceptions being made per-user. Basically the opposite of the UX being presented above.

photo
2

How about the HSTS-policy? will that be implemented in this? Because in The Netherlands we have a website internet.nl that website owners can use to test website security. This site checks hsts. A lot of Dutch customers use this website and want a 100% score.

photo
1

HSTS isn't part of the feature at this point, just the redirect. That might be something we consider in the future, though!

Replies have been locked on this page!