Protect Your Blogger Blog :
Blogger has more security than other free blogging platforms. Google providing more security to their services like Gmail and Blogger with Two-Step Verification method. With Two-Step Verification method to access your Gmail or Blogger, Google sent an verification code to your mobile number which given in the Two-Step Verification method. This is one of the best method to protect your Blogger blogs. But if you don't want to give the access to see your Blogger blog from others , we have to set password to your Blogger blog.
How To Protect Your Blogger Blog With Password :
We can set password to any Blogger blog. After setting password to your Blogger blog, when some one try to open your Blogger blog, it will ask password to access your Blogger blog. To set password protect, we have to add small script code to your Blogger blog. This method is very simple and easy.
Follow below steps to protect your Blogger blog with password
Step 1 : Go to Blogger Dashboard
Step 2 : Click on Template
Step 3 : Click on Edit HTML
Step 4 : Search </body>
After finding <body> , add below code just above the </body>
<script>
var password = 'Password'
password=prompt('Please enter the password to access this blog:','');
if (password != 'Password') {
location.href='Redirect-URL-Here'}
</script>
Note : Give the password name in the place of Password in the above code.
Step 5 : Click Save template.
Now try to open your blogger, then it will ask password to access your blogger blog. Enter correct password to enter in to your blogger blog.
0 comments:
Post a Comment