How to create password protect page in blogger | How to create password protect page/post in blogger website

 

How to create password protect page/post in blogger website
How to create password protect page/post in blogger website
How to create a password protect page or post in your blogger. You may understand by looking at the title of the article, how you can set the password between the pages and posts of your blogger website - I will show it in this article.

Through this tutorial we will show you how to set password in any page or post of your blogger website. please read this article carefully for learning how to protect page and post by password on blogger website.


The topics discussed in this article:

  • How to create password protect page/post in blogger website
  • Why need Password protect web page or post?
  • Source code or html code for How to create password protect page in blogger
  • How to process for setup password protect page in blogger
  • Conclusion

How to create password protect page/post in blogger website:

If you want to password protect any page or post on your blogger website then you must use HTML code. Any website contains some very important information which should not be open to everyone. That is why there is a need to password protect different pages or posts of the website. We discuss all the details about blogger in our website. And in this article we have discussed in detail how you can password protect any page or post on your website.







Why need Password protect web page or post?:

Different blog posts or dynamic posts contain various important information that outsiders do not need to know except for authorized persons, so password protection is used in the page to keep the post or page protected.

Everything in a website is not open to everyone, that's why passwords are used in pages or posts to save some saved data.


How to process for setup password protect page in blogger:

  1. at the first go to your website dashboard panel.
  2. Then , go to new post or page
  3. Go to post or page internal side and paste your desired HTML Code to continue password protect page in blogger
  4. One thing to note is to password protect your page or post before doing anything. That means you will do all the work in your post or page. Then  paste Your desired HTML Code under the post or page. And input your desire PIN on the fixed place on HTML Code .

Source code or html code for How to create password protect page in blogger:

Copy this HTML code below:


উপরের কোড গুলোর মধ্যে  password এবং URL দিয়ে পূরণ করে যে পেইজ বা পোস্ট লক করতে হবে সেটার উপরের দিকে পেস্ট করে সেভ করতে হবে।

-----------------------------------------
<SCRIPT LANGUAGE="JavaScript">
<!-- Begin
var password = 'password'
password=prompt('Please enter the password to enter this post:','');
if (password != 'INSERT PASSWORD') {
location.href='Insert URL Here';
}
// End -->
</SCRIPT>
-----------------------------------------




<!--------------------Password Protect--------------->

<div id="passward-protected" style="background: rgba(0, 0, 0, 0.72); bottom: 0px; display: table; height: 100%; overflow: none; position: fixed; text-align: center; top: 0px; width: 100%;">
<div style="display: table-cell; vertical-align: middle;">
  <b><p style="color:#FF0000";>This Page is password protected</p></b>
<button onclick="enterpass()">Enter Password</button>
</div>
</div>


<!--paste this password form in your blogger post/page-->
<script language="JavaScript">
function enterpass(){
var password = ' '
password=prompt('This is password protected page, please enter password to continue.','');
if (password == 'sqac') {
document.getElementById('passward-protected').style.display='none';
}else{
alert('Wrong Password')
}
}
</script>

<!--------------------Password Protect--------------->


<SCRIPT>
function passWord() {
var testV = 1;
var pass1 = prompt('Please Enter Your Password','');
while (testV < 3) {
if (!pass1)
history.go(-1);
if (pass1.toLowerCase() == "12345678") {
window.open('https://pixabay.com/videos/');
break;
}
testV+=1;
var pass1 =
prompt('Access Denied - Password Incorrect, Please Try Again.','');
}
if (pass1.toLowerCase()!="password" & testV ==3)
history.go(-1);
return "";
}
</SCRIPT>
<CENTER>
<FORM>
<input type="button" value="Enter Protected Page" onClick="passWord()">
</FORM>
</CENTER>

Conclusion: 

at the last of the article we want to say that, if your are read properly this article then you can fixed your problem. And your make How to create password protect page in blogger | How to create password protect page/post in blogger website


Readmore:  How to write SEO Friendly blog post on blogger



Post a Comment

Post a Comment (0)

Previous Post Next Post