WordPress Development Stack Exchange is a question and answer site for WordPress developers and administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Is it possible to have the "password protected page" feature of WordPress apply to more than one page? I have dozens of pages which I wish to protect with the same password, but I don't want people to keep having to type the password every time they open a new page. I also don't want people to require an account, all they should need is one password!

share|improve this question
I guess you could use a combination of cookies and transients. So far not sure if this is really a WP question... Interesting tough. +1 – kaiser Feb 17 '12 at 9:57
up vote 4 down vote accepted

WordPress FTW! It actually works this way out of the box. If you use the same password on multiple pages, it only has to be entered once.

share|improve this answer
is that a documented feature? – ninesided Feb 20 '12 at 22:54
Great question; I have no idea. A while back I was going to do the same thing and just tested it, figuring "hey, maybe..." and I was pleasantly surprised, so it just so happened to be documented in my head. A cursory Google search reveals nothing. I'm adding it here now, as that seems as good a place as any! – Matthew Boynes Feb 20 '12 at 23:04

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.