How to Lock Blogger Article with Password by a small code

How to Lock Blogger Article with Password by a small code

Hii friends today I am going to tell you How to Lock Blogger Article with Password by a small code. If you want to make your website some article privacy then please read this article carefully I will tell you to step by step this How to Lock Blogger Article with Password by small code.

Password protection of Article 

Ordinarily your blog on Blogger is unmistakable to the overall population, however, there are a few conditions where you'd need to confine that. For instance, on the off chance that you claim a business, you should need to restrict readership to workers as it were. 



 How to Password Protect on Blogger

In spite of the fact that Blogger doesn't offer a customary secret word security alternative, they do have "Consents" choices that are fundamentally the same as. Best Tools To Put Password on Any Blogger Post and Improve Your Security


How to Lock Blogger Article with Password by a small code


Follow these steps to lock your website by a small code.

Tips:- You can unlock this code by your submitted password.

Step 01:- Go to your Blogger Dashboard.


How to Lock Blogger Article with Password by a small code, How to Password Protect on Blogger. Normally your blog on Blogger is visible to the general public, How to Password Protect on Blogger,

Step 02:- You can create a new post or You can edit your old post.
Step 03:- Write your article and Use this code on the HTML. Paste this code on the front of your HTML you can see in this pic. 


How to Lock Blogger Article with Password by a small code


 Replace red password by your own password. And also replace the blue link by your website link.

<SCRIPT LANGUAGE="JavaScript">
var password = '12345'
password=prompt('This is password protected page, please enter password to continue.','');
if (password != '12345') {
location.href='http://www.your_website_url_here.com';
}
</SCRIPT>
Step 04:- After Paste this Code update or publish your post. 
After publish open your post.

Now  You can see in this pic your article need a password to unlock. 


How to Lock Blogger Article with Password by a small code


I hope you like this post please share this article with your best friends on social media.

Thanks for reading this article...

0/Post a Comment/Comments