How To Makes All http to https On Blog

WebsDuniya 10:52:00 PM
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,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.


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 

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.")

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!

More From Author

Next Article
« Prev Post
Previous Article
Next Post »

Leave a comment EmoticonEmoticon