cPanel & WHM Version 94 has been released, and brings a slew of great updates. Take a look at what is included, and then upgrade today!

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

David Reagan shared this idea 4 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.

Best Answer
photo

This functionality has been added to cPanel & WHM Version 80, which you can read more about in the Version 80 release notes, and more about 80 overall on the Release Site.

Comments (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!

photo
1

This functionality has been added to cPanel & WHM Version 80, which you can read more about in the Version 80 release notes, and more about 80 overall on the Release Site.

Replies have been locked on this page!