All Collections
How To's
Getting Started
How to redirect from HTTP TO HTTPS
How to redirect from HTTP TO HTTPS
Mahi avatar
Written by Mahi
Updated over a week ago

To create an automatic redirection from http to https, please add the following code to your site’s Head-tag:

<script language="JavaScript">

if(window.location.protocol != 'https:')

{ location.href = location.href.replace("http://", "https://"); }

</script>


How to add Code to Head of the Site:

In order to add a code to the head of your site, please click on the drop down menu icon.

When the drop down menu opens, select the 'Head Code' option.

A new window will open with a text box. Insert the code to this text box and click 'Save'.

That's it.

Did this answer your question?