How to Lock a Specific Article or Page by Password on Blogger

How to Lock custom articles on blogger? The following is a tutorial on how to easily lock articles or special pages by Password on Blogger.

Benefits of Locking Blogger Content

There are many benefits to locking the content of posting articles or pages, one of which is the following:

  1. Protect the content of a page or Post 
  2. Can be reserved for members 
  3. Provide Personal Documents Securely 
  4. There are many more...

Before create this let's see a preview

View Demo

Locking Specific Post Content on Blogger

Step 1: Open the Blogger Account Dashboard > Posts > Edit Posts in the Blogger HTML View.

Step 2: Copy the code below then Paste it right above the Post HTML code.

 <script type='text/javascript'>
var password;
var abdullahcodedpass = 'abdullahcoded';
password=prompt('Please enter the password to enter this post:','');
if (password==abdullahcodedpass) alert('Password is correct! Click OK to open this page!');
else {
location.href=' POST-PAGE-URL ';
}
</script> 
ᗩᗷᗪᑌᒪᒪᗩᕼ ᑕᗝᗪᗴᗪ
PAGE-POST-URL Fill in the URL address of your post or page that will be protected.
ᗩᗷᗪᑌᒪᒪᗩᕼ ᑕᗝᗪᗴᗪ Change the password text according to your wishes, where this is the password that will be used to log in to the page/post that you locked.

Step 3: If so, you can click Save or Update to apply the changes and after that see the results.

Locking Blogger Static Page Content

There is no special method, you can follow how to lock Blogger static pages like the tutorial above, as an example of the results you can also see the demo page at the end of this article.

Conclusion

This is all about making a Contact Form using Telegram Bot API. I hope you enjoy this article. Please do share this article. And if you are facing problem in any section or you have any question then ask us in .

Copyright ©


About the author

ȺҍժմӀӀąհ
Student | Mathematician | Tricker

Post a Comment