Sunday, October 4, 2015

How To Turn On HTTPS For Your Blog

| No comment
How To Turn On HTTPS For Your Blog. Recently, Google already supports HTTPS on blogger platforms, but after setting HTTPS availability, blogspot URL is not automatically an HTTPS when first accessed. But when there are visitors who commented, then its URL will change to HTTPS. As i copy from google support that there are three main benefits if we use https.

How To Turn On HTTPS For Your Blog
How To Turn On HTTPS For Your Blog [images:pixabay.com]

There are three main benefits to using HTTPS over HTTP to access your blog:

1. It helps check that your visitors open the correct website and aren’t being redirected to a malicious site.
2. It helps detect if an attacker tries to change any data sent from Blogger to the visitor.
3. It adds security measures that make it harder for other people to listen to your visitors’ conversations, track their activities, or steal their information.
    When you enable HTTPS, visitors can access the encrypted version of your blog by typing https://<your-blog>.blogspot.com.

    To automatically change blogspot URL into HTTPS, we could use a javascript function, we just replace the code http to https then this script will change http to https. Please save the script below just above the code </head>

    <script type='text/javascript'>
    function check_secure() {
    var secssl = /^https/i;
    var blog = document.location.hostname;
    var slug = document.location.pathname;
    var subs = window.location.search;
    if (!window.location.origin.match(secssl)) {
    window.location ="https://" + blog + slug + subs;
    }
    }
    check_secure();
    </script>

    But when it's redirected to HTTPS and your blogspot display turns into error, please follow the steps below to fix it:

    1. Please go to the Edit HTML of your blog.
    2. Click inside the box Edit HTML.
    3. Then do or tap on the keyboard SHIFT + CTRL + R
    4. Enter the http: // in the box that appears at the top right corner of the edit box HTML, and then press enter.
    5. Then enter the code // in the box that appears next, press enter.
    6. Finished, please save edit HTML.

    The above is to change once all the antecedents URL http: // to only // to be accessed with HTTP or HTTPS.

    You all done!, and goodluck.
    Tags : ,

    No comments:

    Post a Comment

    Follow by Email

    Well, the way they make shows is, they make one show. That show's called a pilot. Then they show that show to the people who make shows, and on the strength of that one show they decide if they're going to make more shows.

    Like you, I used to think the world was this great place where everybody lived by the same standards I did, then some kid with a nail showed me I was living in his world, a world where chaos rules not order, a world where righteousness is not rewarded. That's Cesar's world, and if you're not willing to play by his rules, then you're gonna have to pay the price.

    You think water moves fast? You should see ice. It moves like it has a mind. Like it knows it killed the world once and got a taste for murder. After the avalanche, it took us a week to climb out. Now, I don't know exactly when we turned on each other, but I know that seven of us survived the slide... and only five made it out. Now we took an oath, that I'm breaking now. We said we'd say it was the snow that killed the other two, but it wasn't. Nature is lethal but it doesn't hold a candle to man.

    You see? It's curious. Ted did figure it out - time travel. And when we get back, we gonna tell everyone. How it's possible, how it's done, what the dangers are. But then why fifty years in the future when the spacecraft encounters a black hole does the computer call it an 'unknown entry event'? Why don't they know? If they don't know, that means we never told anyone. And if we never told anyone it means we never made it back. Hence we die down here. Just as a matter of deductive logic.