Create a login or password protection page for Blogger website?

Hello buddys, welcome to the Mironiyar blogger tutorial. Today I will show you how to you create password protection webpage or post .

Create a login or password protection page for website?

Create a login or password protection page for Blogger website?

The question that may arise in the minds of many is what do we do with password protected web pages and what is our benefit by password protected pages or posts.The answer to this question is that a number of Visitors will be able to use all the pages or posts that have been permitted through password protected pages.Visitors who know the password of that page or post will be able to see that page or post.There are many sites in the world of websites where there are some special pages where you have to pay to enter.We can create such web pages or posts by password protecting our pages or posts.

Create a login or password protection page for Blogger website? in 3 Steps

If you want to setup in the right way, you have to follow the method shown in the following 3 steps. Excluding any part of 3 steps can cause problems. Therefore the setup will remain unfinished.

Step 1 : Copy the Complete Code from the Code box below

Step 2 : After copying the code completed in the first step, the second step will be opened on the website's deskboard. Then go to the page option and open the new pages.

Can you password protect Blogger?

If you have a compose view of the new page opened in the last step, you have to do html view. Then you have to copy and paste the completed code.

Are there private blogs?

Step 3 : Go to the end of the pasted code and change the link of the website painted blue to give the link of your own website.Moreover, at the beginning of the code, you have to give the password of your choice by removing the red color Mironiyar.Then in the middle of the code in the green Mironiyar written space to enter the password given first.Finally the page needs to be published.

Create a login or password protection page for Blogger website?: Code

<script type="text/javascript"> 

/* Password Protection Script by www.mironiyar.com*/

var password = 'Mironiyar'

password=prompt('Please enter the password to enter this post/page:','');

if (password != 'Mironiyar') {

location.href='Past your website URL';

}

</script>

The Final Words

Now you can enter the password protected page to see if everything is OK.Whether all is well with the password and without the password.If there is any problem, please comment.

2 Comments

Hay, Please do not enter any spam link in the Comment Box...

Post a Comment
Previous Post Next Post