Do you need to apply passwords to protect your WordPress site from non-users? Sometimes we don’t want to make everything on your site public, and that’s just fine! A password allows you to restrict access to either your whole site or just specific parts of your website. In this article, you’ll learn how to create a password-protected WordPress website.

How to Create a Password Protected WordPress Website?

How to Create a Password Protected WordPress Website

The Force Login plugin is simple, straightforward, and very easy to use. The plugin name reflects exactly what it does when active. So, firstly, it hides your WordPress website from public viewing by requiring visitors to log in first.

While plugin usage and setup are as easy as flipping a switch, it still comes with several great features that you can use to your advantage. Some of the main features include:

  1. Firstly, login will redirect visitors back to the URL they tried to visit. But now is a password protected website.
  2. Compatible with WordPress multisite installation.
  3. Secondly, the ability to restrict REST API to authenticated users.
  4. Developer API (Extensive hooks and filters).
  5. Highly customizable (Set specific URL).
  6. Page and post-filter exceptions.
  7. Finally, WPML and translation ready.

Basically, you can force login and block content in several ways to protect your website with a password. Let’s take a look at how to get the plugin installed and activated.

Another Free Plugin

If you want to password protect your entire WordPress site, you’ll need a third-party plugin to get things done. To password protect your entire WordPress site, we recommend the free Password Protected plugin from Ben Huson, highly rated and available at WordPress.org. To use it, install and activate the plugin like you would any other WordPress plugin. Then, head to Settings. In addition, password Protected. All you need to do is configure the following page to password protect WordPress: Here’s what everything means.

  1. Protected Permissions: If you check one of these boxes, visitors with those permissions will not need to enter a password. They’ll see your site like normal.
  2. New Password: Enter the password you want to use for your site.
  3. Allow IP Address: If you enter an IP address here, anyone visiting your site from that IP address will not need to enter a password.
  4. Password Protected website: When on, your site has a password.

Forcing a user to login to view your WordPress website is as easy as installing and activating the plugin above. Once it is running, your site visitors will automatically be forced to login before they can view any pages on your website.




Share This Post

Leave a Reply

Your email address will not be published. Required fields are marked *

Name *