How to protect your blogger post or page with the password

how to protect your blogger post or page with the password
how to protect your blogger post or page with the password
Password Protected web page is the simplest possible in WordPress Blog but what about Blogger? Can we guard sure page through adding a password or not? This academic will assist you to create a password covered web page on a blogger blog. Learn the way to make your Blogger Static Page blanketed by means of the password defined via yourselves. And How to Set Up a Password Protected Page?

Password Protected page is best viable in WordPress Blog however what approximately Blogger? Can we protect a certain web page by way of including a password or not?

I changed into trying to guard my several pages for limiting the visitors to go to but in Blogger platform hasn’t such things to shield it. Because Blogger doesn’t have Plugins for shielding any unique web page. Either you have to add a password on the whole Blog or you have to make the Blog private. So our important goal gained’t serve.

In WordPress Blog, we've got visible Blog proprietor used Password Protected web page for handing over special content to their VIP subscriber. Suppose you have written an eBook and now you need to supply this eBook to your weblog's subscriber-simplest.

In this case, you won’t able to limit get right of entry to to all traffic on Blogger. In this case, Password Protected web page works like allure. Because without password your Blog’s subscriber gained’t capable of get get entry to on content’s page.

So Password Protected option is necessary. You can increase your Blog subscriber as well as your exclusive content will be protected from public access. To add password on specific Blogger page please follow the below steps-



Step 1: Log in to your Blogger Account and Go to your Blogger Dashboard

Step 2: Click on - Pages - New Page - Blank Page

Step 3: Now choose HTML view instead of Compose view and copy the below script and paste it on the page.


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

Customization

Alter BloggerSpice with page password.
Replace PAGE URL HERE with your page URL where you want to set a password.

Step 4: Finally hit the publish button.

For testing the password-protected page visit that page and see it is the required password to get access.


In this trick, I have used simple JavaScript and just you have to set a password and you can change the password according to your own. And remember about changing page URL. You should change the URL for applying the password. Thank you.

Post a Comment

Post a Comment (0)

Previous Post Next Post