i need to create a rewrite rule to redirect my page from
http://example.com
to https://example.com
.
But in the case that the client opened the page with any GET parameter, it should remain the same without any redirecting. For example:
http://example.com/index.php
should redirect tohttps://example.com/index.php
http://example.com/index.php?param1=val1
should not redirect.