Button to enable automatic "https"-redirection


with this post I want to suggest an button, that enables automatic https redirection in the Rewrite Rules. The button should be placed at the SSL settings of an individual website.

I think it must be relativly easy to implement and it improves the user experience. For now I have to add something like this in the Rewrite Rules, but it is not convenient for newbies:

rewriteCond %{HTTPS} !on
rewriteCond %{HTTP:X-Forwarded-Proto} !https
rewriteRule ^(.*)$ https://%{SERVER_NAME}%{REQUEST_URI} [R,L]

Thanks in advance and kind regards!


I think we can probably add a dropdown on the Rewrite Box rather than a complete entry on the interface.


I think an implementation like this would be nicer and much easier for the users. See edited Screenshot in the link:


I am thinking of giving a dropbox directly on the rewrite rules box.