Glitch SSL Certificate

Simply redirect the user to the secure version of the site, since the redirect is not automatically provided. This can be done simply by adding this too the <head> of your website.

<script>
if (location.protocol != 'https:') {
 location.href = 'https:' + window.location.href.substring(window.location.protocol.length);
}
</script>

Code was taken from StackOverflow.

2 Likes