WPBeginner

Beginner's Guide for WordPress

  • Blog
    • Beginners Guide
    • News
    • Opinion
    • Showcase
    • Themes
    • Tutorials
    • WordPress Plugins
  • Start Here
    • How to Start a Blog
    • Create a Website
    • Start an Online Store
    • Best Website Builder
    • Email Marketing
    • WordPress Hosting
    • Business Name Ideas
  • Deals
    • Bluehost Coupon
    • SiteGround Coupon
    • WP Engine Coupon
    • HostGator Coupon
    • Domain.com Coupon
    • Constant Contact
    • View All Deals »
  • Glossary
  • Videos
  • Products
X
☰
Beginner's Guide for WordPress / Start your WordPress Blog in minutes
Choosing the Best
WordPress Hosting
How to Easily
Install WordPress
Recommended
WordPress Plugins
View all Guides

WPBeginner» Blog» Plugins» How to Password Protect Your WordPress without User Registration

How to Password Protect Your WordPress without User Registration

Last updated on March 17th, 2017 by Editorial Staff
92 Shares
Share
Tweet
Share
Pin
Free WordPress Video Tutorials on YouTube by WPBeginner
How to Password Protect Your WordPress without User Registration

There are many tutorials out there that shows you how to password protect your website content. Many of those utilize complex membership plugins that require user registration. But what if you just want to password protect your site without user registration? Let’s say you have a demo site for client work. You may only want that specific client to see your site. In this article, we will show you a very simple way to quickly password protect your WordPress site with a single password.

Password protect your WordPress site without user registration

Video Tutorial

Subscribe to WPBeginner

If you don’t like the video or need more instructions, then continue reading.

First thing you need to do is install and activate the Password Protected plugin. For more details, see our step by step guide on how to install a WordPress plugin.

Upon activation, you need to visit Settings » Password Protected page to configure plugin settings.

Password Protected settings

You will need to check the box next to Password Protected status to enable password protection.

Next, you have option to allow administrators and logged in users. You can also allow RSS feeds but if you want to keep your site private, then you should leave it unchecked.

Now you need to enter a new password. Anyone with the password will be able to view your WordPress site so you should choose a strong password with letters, numbers, and symbols.

You can also limit access to specific IP addresses. However, if you don’t have this information, then you should leave this blank.

Don’t forget to click on the save changes button to store your settings.

Now whenever someone tries to reach your WordPress site, they will see a password screen like this:

Password protected screen

We hope this article helped you learn how to password protect a WordPress site without user registration. You may also want to see these vital tips and hacks to protect your WordPress admin area

If you liked this article, then please subscribe to our YouTube Channel for WordPress video tutorials. You can also find us on Twitter and Facebook.

92 Shares
Share
Tweet
Share
Pin
Popular on WPBeginner Right Now!
  • How to Start Your Own Podcast (Step by Step)

    How to Start Your Own Podcast (Step by Step)

  • How to Properly Move Your Blog from WordPress.com to WordPress.org

  • Checklist

    Checklist: 15 Things You MUST DO Before Changing WordPress Themes

  • How to Fix the Error Establishing a Database Connection in WordPress

    How to Fix the Error Establishing a Database Connection in WordPress

About the Editorial Staff

Editorial Staff at WPBeginner is a team of WordPress experts led by Syed Balkhi. Trusted by over 1.3 million readers worldwide.

The Ultimate WordPress Toolkit

31 Comments

Leave a Reply
  1. Mike says:
    Feb 18, 2020 at 6:02 pm

    Great articles. Thanks.

    Reply
    • WPBeginner Support says:
      Feb 19, 2020 at 8:41 am

      You’re welcome :)

      Reply
  2. tony cook says:
    Nov 19, 2018 at 7:15 am

    I’m trying to password protect just the_content() on the homepage – it works on all other pages with just the standard wordpress visibility = “Password protected” functionality but on the homepage the content is still visible. The plugin you mention will hide the whole page behind the login page, but in this instance I need to see the page template with just the_content() hidden. Even googling is not coming up with anything.

    I only way around I can think of is to auto redirect from the homepage to a duplicate homepage that is just a standard page.

    Reply
  3. Ebube says:
    Feb 28, 2018 at 2:39 pm

    please I’m trying to build an online examination site and I want each user to have a different password to view the page of the exam. How do I go about this

    Reply
    • WPBeginner Support says:
      Feb 28, 2018 at 3:49 pm

      Hi Ebube,

      You may need a WordPress LMS plugin to do that more efficiently.

      Reply
      • Ebube says:
        Mar 4, 2018 at 9:40 am

        thanks a lot it was really helpful

        Reply
  4. Alex says:
    Mar 25, 2017 at 4:49 pm

    This plugin hasn’t been updated in a year and the developer is not responding to questions/problems posted on the support forum. I was wondering if anybody else knows of another solution like this that is actively being maintained?

    Reply
  5. Anshuman says:
    Aug 19, 2015 at 1:39 pm

    What if I want it to ask password each time I close the page. Currently it is not asking for password once password has been entered.

    Please suggest.

    Reply
    • pratikk says:
      Apr 9, 2017 at 7:06 am

      your case need 2 sub answers. do you login as admin or do you enter password as user?

      Reply
  6. Benedicte says:
    Aug 10, 2015 at 11:16 am

    Hello, 2 questions:
    – I have just installed and activated this plugin, but it doesn’t seem to be working yet.. (maybe some cache issues)
    – Does the plugin allow to password protect any page that is first being clicked? (so if people click on any subpage – not only the homepage – it is being protected?)
    Thanks,

    Reply
    • pratikk says:
      Apr 9, 2017 at 7:08 am

      – did you check those boxes? ()allow admin ()allow logged in users

      – yes when i did that test, i saw that sub pages were protected as well.

      Reply
  7. Megan says:
    Feb 27, 2014 at 4:51 pm

    Naïve question: Will this work for WordPress.org and WordPress.com sites?

    Reply
    • WPBeginner Support says:
      Feb 28, 2014 at 9:59 am

      This guide is for self hosted WordPress.org sites only, please see the difference between WordPress.org vs WordPress.com

      Reply
  8. Elizabeth Johnson says:
    Feb 21, 2014 at 12:24 pm

    I want to password protect 3 sets of pages. Each of the 3 sets will have 3 pages. And each set will have its own password. I tried creating each of the pages within a set as separate pages but the passwords would only work on 1 and sometimes 2 pages.
    Can I create 3 parent pages (one for each set) and give each parent page its own password? Then can I create 2 sub pages within each parent page and not give those pages a password? Would this eliminate my problem? Would the sub pages be protected by the parent page or would they be unprotected with no password of their own?
    Thank you so much for any help. I am only moderately knowledgeable and feel I am stumbling around in the dark on this.

    Reply
  9. mel says:
    Feb 7, 2014 at 10:22 pm

    Is there any way to create a custom page with the plugin for password protection? I saw you can replace the login logo but I would like to create a custom page for sign in.

    Reply
    • WPBeginner Support says:
      Feb 9, 2014 at 10:10 pm

      You can try Theme My Login plugin.

      Reply
  10. Nigel Spence says:
    Oct 5, 2013 at 10:39 am

    I’m password protecting a monthly membership site. What happens when I have a member who as been with me for say 4 months, then I get a new member,how do I give them a different password for the same month 1 content? Won’t the new member also get 4 months worth of content???

    Please clarify, as I can not for the life of me fathom this out… :-)

    Reply
    • WPBeginner Support says:
      Oct 6, 2013 at 10:34 am

      yes and you probably need a more complex solution than this to handle memberships and subscriptions :)

      Reply
  11. Hughes says:
    Jul 11, 2013 at 10:34 am

    Thanks for the suggestion. This seems very handy and straightforward. Once installed, do you know if this will prevent content from the site to come up in search engines? And can you remove it without any weirdness later if as you say you use this for client demo purposes? In my case, I wonder if it would work for a client that wants his site private just until ready to reveal his redesign.

    Reply
    • Noumaan Yaqoob says:
      Jul 11, 2013 at 4:59 pm

      @Hughes it will partially protect your websites from search engines. To block search engines you should add this in your robots.txt file

      User-agent: *
      Disallow: /

      Reply
  12. ellie says:
    Jun 14, 2013 at 11:41 am

    would this plug in work if i just wanted to password protect a certain area/group of pages on my site? eg. most of it would be available to the public but with a password protected area for members?
    i don’t want to password protect the whole site.

    Reply
    • Editorial Staff says:
      Jun 16, 2013 at 9:36 am

      No, you would need a membership plugin for that. This plugin is mainly for totally private blogs (family blogs or company blogs).

      Reply
  13. D says:
    Feb 5, 2013 at 10:17 pm

    Excuse my ignorance but I just wanted to clarify….

    Allowing password access to a group of people (say students in a class for a given time period e.g. 3 months) can be done and then the password changed when the new term begins – to use for an entirely different set of students.

    However, if I am the owner of a wordpress website, I control content/settings etc. i.e. I remain the owner of the site. No such user (allowed in via password access) can ‘hijack’ my site so as to speak.

    Reply
    • Editorial Staff says:
      Feb 21, 2013 at 11:34 am

      Yes that is correct. You own the site entirely. The students can only view the site. They cannot change anything.

      Reply
  14. Namita says:
    Jan 28, 2013 at 2:10 am

    Hi,

    What if I want to protect multiple pages (menu/sub menus/sub-sub menus) from the clients until I give them the password? Can I still use this plugin?

    Please suggest a way to accomplish my goal if you know a way.

    Thanks!

    Reply
    • Editorial Staff says:
      Jan 28, 2013 at 7:57 am

      This would work for all pages not just the homepage. So yes, you can use this plugin.

      Reply
  15. Klaas Cuvelier says:
    Oct 8, 2012 at 10:32 am

    I’ve been using this plugin: http://wordpress.org/extend/plugins/basic-authentication/
    It pretty much does the same, but you can choose between a “predefined” password, or a WordPress login to secure your WordPress installation

    Reply
  16. Michael Hanna says:
    Oct 8, 2012 at 4:37 am

    Very interesting, we are looking at using this on our website…

    Reply
  17. Liza says:
    Oct 8, 2012 at 1:55 am

    Won’t hackers be able to find another way around this?

    Reply
    • Editorial Staff says:
      Oct 8, 2012 at 10:26 am

      This is NOT for hackers. The intended purpose of this plugin is for private blogs. For example, you adopted a kid, and you only want their biological family to see the kid’s pictures. Chances are hackers are not targeting your site because you don’t make any $$$. Another use case would be that you have a client demo area. i.e clients.yoursite.com. You can password protect the site, and change the password for every new client (granted that you are not working with numerous at the same time). Hope that clear things up.

      Reply
  18. Zachary Williamson says:
    Oct 6, 2012 at 5:22 pm

    Love it :) thanks to all the WPBeginner team for taking the time to share all this useful information with the world. :P

    Reply

Leave a Reply Cancel reply

Thanks for choosing to leave a comment. Please keep in mind that all comments are moderated according to our comment policy, and your email address will NOT be published. Please Do NOT use keywords in the name field. Let's have a personal and meaningful conversation.

Over 1,320,000+ Readers

Get fresh content from WPBeginner

Featured WordPress Plugin
Smash Balloon
Smash Balloon
Add Custom Social Media Feeds in WordPress. Learn More »
How to Start a Blog How to Start a Blog
I need help with ...
Starting a
Blog
WordPress
Performance
WordPress
Security
WordPress
SEO
WordPress
Errors
Building an
Online Store
Useful WordPress Guides
    • 7 Best WordPress Backup Plugins Compared (Pros and Cons)
    • How to Fix the Error Establishing a Database Connection in WordPress
    • Why You Need a CDN for your WordPress Blog? [Infographic]
    • 30 Legit Ways to Make Money Online Blogging with WordPress
    • Self Hosted WordPress.org vs. Free WordPress.com [Infograph]
    • Free Recording: WordPress Workshop for Beginners
    • 24 Must Have WordPress Plugins for Business Websites
    • How to Properly Move Your Blog from WordPress.com to WordPress.org
    • 5 Best Contact Form Plugins for WordPress Compared
    • Which is the Best WordPress Popup Plugin? (Comparison)
    • Best WooCommerce Hosting in 2020 (Comparison)
    • How to Fix the Internal Server Error in WordPress
    • How to Install WordPress - Complete WordPress Installation Tutorial
    • Why You Should Start Building an Email List Right Away
    • How to Properly Move WordPress to a New Domain Without Losing SEO
    • How to Choose the Best WordPress Hosting for Your Website
    • How to Choose the Best Blogging Platform (Comparison)
    • WordPress Tutorials - 200+ Step by Step WordPress Tutorials
    • 5 Best WordPress Ecommerce Plugins Compared
    • 5 Best WordPress Membership Plugins (Compared)
    • 7 Best Email Marketing Services for Small Business (2020)
    • How to Choose the Best Domain Registrar (Compared)
    • The Truth About Shared WordPress Web Hosting
    • When Do You Really Need Managed WordPress Hosting?
    • 5 Best Drag and Drop WordPress Page Builders Compared
    • How to Switch from Blogger to WordPress without Losing Google Rankings
    • How to Properly Switch From Wix to WordPress (Step by Step)
    • How to Properly Move from Weebly to WordPress (Step by Step)
    • Do You Really Need a VPS? Best WordPress VPS Hosting Compared
    • How to Properly Move from Squarespace to WordPress
    • How to Register a Domain Name (+ tip to get it for FREE)
    • HostGator Review - An Honest Look at Speed & Uptime (2020)
    • SiteGround Reviews from 4196 Users & Our Experts (2020)
    • Bluehost Review from Real Users + Performance Stats (2020)
    • How Much Does It Really Cost to Build a WordPress Website?
    • How to Create an Email Newsletter the RIGHT WAY (Step by Step)
    • Free Business Name Generator (A.I Powered)
    • How to Create a Free Business Email Address in 5 Minutes (Step by Step)
    • How to Install Google Analytics in WordPress for Beginners
    • How to Move WordPress to a New Host or Server With No Downtime
    • Why is WordPress Free? What are the Costs? What is the Catch?
    • How to Make a Website in 2020 – Step by Step Guide
Deals & Coupons (view all)
Visual Composer
Visual Composer Coupon
Get 20% OFF on Visual Composer WordPress page builder plugin.
ShowThemes
ShowThemes Coupon
Get 20% off on ShowThemes beautiful WordPress themes for event websites.
Featured In
About WPBeginner®

WPBeginner is a free WordPress resource site for Beginners. WPBeginner was founded in July 2009 by Syed Balkhi. The main goal of this site is to provide quality tips, tricks, hacks, and other WordPress resources that allows WordPress beginners to improve their site(s).
Join our team: We are Hiring!

Site Links
  • About Us
  • Contact Us
  • FTC Disclosure
  • Privacy Policy
  • Terms of Service
  • Free Blog Setup
  • Free Business Tools
Our Sites
  • OptinMonster
  • MonsterInsights
  • WPForms
  • SeedProd
  • Nameboy
  • RafflePress
  • Smash Balloon

Copyright © 2009 - 2021 WPBeginner LLC. All Rights Reserved. WPBeginner® is a registered trademark.

Managed by Awesome Motive | WordPress hosting by SiteGround | WordPress CDN by MaxCDN | WordPress Security by Sucuri.