Редирект javascript
<script type="text/javascript">if (document.location.protocol!="https:") document.location.href="https://"+location.host+location.pathname;</script>
<script type="text/javascript">if (document.location.protocol!="https:") document.location.href="https://"+location.host+location.pathname;</script>