How To Makes All http to https On Blog

Replaces All http to https On Blog

Today we share an informative & helpful article about blogger.We also known https Is secure connection for users/visitors. nowadays important that when we search or visit any site specially for (online booking.shopping,buy or any product advertisement) then must be cheked that site is secure or insecure.because if we don't checked https then can be hacked / steal your data or any money loss.
so hope we known why 'HTTPS' needto set if we create a business selling site.

REPLACE ALL HTTP TAG
REPLACE ALL HTTP TAG


Well, in the real beginning, there was an option for us to redirect our viewers to the HTTPS version only or the HTTP version only, but now that option have been changed.let's learned how to force either HTTPS or even HTTP servers on your Blogspot blog.

Lets Follow Our Below Guide????

By Using Our Blog Setting

??Open your Blogger Dashboard > Settings > Basic.

??You will have to scroll down the page a little and you will see a drop-down box, click it and then you need to be selected Yes.

??Now Save your changes.

Final Method

Open your Blogger Dashboard > Theme > (You might want to save a backup of your blog) > HTML editor.

Now copy the script provided to you and paste it under the <head> tag 


<script>
if (window.location.protocol == "http:") {
console.log("You are not connected with a secure connection.")
console.log("Reloading the page to a Secure Connection...")
window.location = document.URL.replace("http://", "https://");
}
if (window.location.protocol == "https:") {
console.log("You are connected with a secure connection.")
}

</script>

Now Save Your Template That's It 

Hope; you are like our this helpful post.then don't forget to share with your friends. If you have any doubts about anything, then feel free to comment below and also share your experience! Thanks!

Post a Comment

0 Comments