Registered Users Only

Have a private blog that you only want your friends or family to read? Then this plugin is for you. It will redirect all users who aren’t logged in to the login form where they are shown a user-friendly message.

This plugin also features a configuration page where you can easilly toggle allowing guests to access your feeds.

Also, unlike some other registered users only scripts, you can’t get around this one by just visiting index.php?blah=wp-login.php nor does it break wp-cron.php or anything else.



Yeah, these are ancient screenshots (wordPress 2.5) and need to be updated.

181 thoughts on “Registered Users Only

  1. Can you tell me, are there other options than either full guest access or forcing visitors to register. I am working on a site that for a friend that has multiple static pages of content, and a blog area. Can you restrict viewing to only the blog and not the other static content? The reason is I would like to make it easy for the general public to view the info contained in the blog, but only registered professionals or users have access to the other pages and content.

    If I could do that, this would be very useful. And eliminate having to set up password protected pages. I like to preserve “private” designated pages for other things.

    Thank you very much and appreciate your efforts.


  2. Hi there,
    your plugin works exactly as I was hoping, and so I’m really pleased with it. The only problem is that it seems to be loggin me out while I’m still using WordPress, resulting in lost posts and all sorts!
    Do you know anything about this behaviour, and can you offer any advice?

    many thanks,

  3. It would appear that the option to switch it off is broken. I installed the plugin, and from then on all the blogs on my multi-blog networked site were blocked, and there was no option to switch it off for individual blogs. Have you tested with the Networked Sites feature? You really should. It’s presumably possible to activate it on a site-by-site basis, but it would be better if your defaults were sensible and your “switch off” option actually worked.

  4. Forgive my stupidity but I have a very basic question – hey, I’m 60-years old and not that intelligent to begin with… Anyway, I wanted to develop a neighborhood blog/messageboard where folks have to register before posting – simply seeing the thing is fine for everyone. I also have a Classifeds plugin installed and I thought that this would kind of minimize the “crap” which might get posted to that thing. Anyway, after I installed this plugin I ticked the following:

    Allow access to your post and comment feeds (Warning: this will reveal all post contents to guests!)

    But, now, when I attempt to look at the site (not logged in as Admin) I am prompted to login – period. I really don’t understand how this works (obviously). I doon’t even know how people would join, or sign up. Does this plugin requrie that an Admin add all the users and prevent people, universally, from even seeing the blog?

    • My plugin won’t do what you’re looking for. My plugin blocks access to the site for anyone who is not logged in and prompts people who are not logged in to log in.

      That setting on the settings page controls access to the site’s RSS feeds which are meant for feed readers.

      • Actually any action from in wp-admin is slow or requires a few clicks. It seems to happen with some of the coming now plugins also. I didn’t narrow it down, but maybe a conflict of plugins or another plugin causing it. I am using Under Construction for now which seems ok. Didn’t really understand why it should be happening.

  5. Thank you for this plugin. It makes it really easy to set up a private site. I’m using it to create a blog for a (volunteer-based) adult education class I’m planning to offer in the fall and I wanted the students to have a sense of privacy to make them feel free to offer opinions.

    I have the problem that after logging in, the first screen that shows up is the dashboard – not the blog’s home page. If you have any thoughts on how to fix this, I’d appreciate hearing them. I’ve only been hacking at wordpress for a few weeks and don’t yet really know my way around readily.

    • I’ve learned more about the problem I raised. If the login screen says “Only registered and logged in users…” then the site comes up properly after logging in. Otherwise the dashboard comes up. My guess is that I misconfigured something but don’t know what.

      Tried poking through the php code for this plugin but was (unsurprisingly) not able to see what was going on.

    • When you try to view a page and aren’t logged in, it’ll redirect you to the log in form and then back to the original URL after you log in. If it doesn’t know where to redirect back to, then it takes you to the dashboard.

      • Well, thank you for that, Alex. I guess the problem must lie with where I’m headed when I encounter the login screen. I’ll try to be more careful about that.

        Thank you for the plugin and the help.

        – martin

  6. Hi!

    Thanks for this great plugin!
    I’m having a problem with the mail notification. When a user signs in, I receive the PHPadmin email notification on my admin mail box stating a new user subscribed to the blog, but the email is not sent to the subscribed user, so he can’t set login/passord and register :-(. Any clue? Thanks in advance.

  7. Pingback: 13?WordPress???????? | Meteor's Blog

  8. Pingback: ds3d ?????? | ds3d

  9. I want users to have to fill out name, address, phone number, and ID # and then request to join. Is that possible with this plugin?

  10. Pingback: 13?WordPress???????? | live

  11. Pingback: Anson's Home Page » Blog Archive » WordPress????????13?

  12. Hello – Love your plugin and it works exceptionally well. I am trying to customize the look of it though so it doesn’t have the WordPress branding. Is that possible? I want to use my logo and background color.

  13. Pingback: WordPress????????13? | My CMS

  14. Hi Alex, thanks for this plugin. One question: is there a way to also require a login to download attachments? As it stands anyone with the attachment URL can download the file. Thank you!

  15. Great plugin – exactly what I needed. However, I got a problem when I moved my site to a new server. Now I am just redirected to the old URL and I am unable to log in at the new location. Where (what php) can change the address for redirection? Or is it possible to deactive it by edit a specific php?

  16. this is a good plugin, but i see that when i enable email verification and admin verification, it ignores admin verification and go a head and sends the password to the user to login and user can login as well.

    What i want is when i enable both, it should send a mail to user to verify the email id, once user verify’s the email, it should wait for the administrator to approve.

  17. Pingback: WordPress:13????????? — ????

  18. Pingback: Links – Buddypress Plugins | TechNotes

  19. Installed the plugin and it works fine. But if you access my blog without www appears the Forbidden message… What should i do to fix it?

  20. Pingback: 13?WordPress???????? | ???????

  21. hi great plugin, but i have run into a slight problem, everything i try to do on my site redirects me to the login page. i cannot even deactivate the plugin as it directs me back to the login page?

    • Hey i think i sorted it, i think it was just a conflicting plugin, so deactivated them all and installing one by one.

      • Glad to hear you got it sorted.

        For future reference you can disable plugins by renaming their folder, or just deleting them. WordPress will gracefully disable them when it can’t load them.

  22. Hi, I’m stuck.
    Your plugin worked sweetly. However, since I’ve installed buddypress it won’t let me access the registration form from the login.php. Do you have any idea which sites i’d have to exclude to make it work again?

  23. Pingback: 13?WordPress???????? | Meteor's Blog

  24. This worked great while we were building a site…until I deactivated it. Now it’s still redirecting me to the login page on the live site, even after deleting the plugin entirely. How do I undo what it has done so that I can see my site!? Pulling my hair out over here…

  25. Hello Viper, sorry for barging in. Not even sure if you will check or reply these comments any more, but gotta try. I installed your Registered users only plugin, but it’s conflicting with a security mod the web provider got running in the shared hosting. Basically, any page I open without loggin in, counts as a failed login attempt, and the security mod blocks all http requests for 1 minute after 3 failed attempts. This means people can’t follow the normal workflow to recover password and reset it.

    Would you have any insight as to why the plugin may be flagging the oppening of these pages as failed attempts even if no login attempt is being done and / or a workaround for it?.

    Thanks in advance.

  26. Hi Alex, thanks for the registered users plugin. I have tried several content restriction plugins and yours is the first that restricted the buddypress members, groups etc. Thank you! Is there away that I can alter the plugin that will allow my homepage to show and everything beyond the homepage will be restricted?

    • You’ll need to edit the plugin’s file. Find this line in it:


      Add a new line before it and then paste this onto that line:

      if ( is_front_page() ) { return; }

      Please note that I haven’t tested this and it may not work.

  27. Hello, Dumb question here…I downloaded and activated the plugin. Set the setting to membership only and don’t know what to do next. Is there another config? Nothing has changed. Thank you! kserra

    • If you’re logged in, everything should look the same. If you’re logged out, you should get prompted to log in unless the plugin has somehow broken without anyone telling me about it (I don’t use the plugin on any of my own sites as they’re all public).

  28. Pingback: WordPress Plugins A-Z #265 Security Audit Logs, Registered Users

  29. Pingback: The Definitive List Of BuddyPress Plugins (70 Listed) - Music, Education & Technology -MusTech.NetMusic, Education & Technology -MusTech.Net

  30. Hi,

    thank you for the great plugin. I have one question though. How can I use the localization template? I changes the text, but where and under which name do I have to save the file (de-DE)?


  31. Thanks for the information we recieved from your site.BioMiracle Makeup cleansing towelettes with Coenzyme Q10 gently remove eyeliner, eyeshadow, lipstick and also mascara without causing irritation to the skin.

Leave a Reply