Skip to content
21

WP Require Auth

If you need to make your WordPress site private, this plugin makes it possible for your users having to log in before being able to view any content on the website.

If you find this plugin useful, please make a small donation to contribute to continued development.

Installation

The easiest way to install this plugin is to go to Plugins -> Add New in your WordPress admin and search for “wp require auth”, and click the install button.

To manually install the plugin, upload it to your wp-content/plugins/ directory of your WordPress installation and activate it from the admin page.

Changelog

1.0.2

  • Being nicer to those who still run PHP 4

1.0.1

  • Fixed a problem where it was not possible to upload media using the Flash uploader

1.0.0

  • Initial release

Download

Download at WordPress.org

21 Comments Post a comment
  1. Apr 20 2010

    I tried installing the plugin and just get the following error message:

    Parse error: syntax error, unexpected T_STRING, expecting T_OLD_FUNCTION or T_FUNCTION or T_VAR or ‘}’ in /home/content/g/3/3/g33k2u/html/sites/sixxofus/wp-content/plugins/wp-require-auth/wprequireauth.php on line 24

    Any suggestions.?

    Thanks!

    Reply
    • Apr 20 2010

      Do you know which version of PHP you are running on your server? The plugin has currently only been tested with PHP 5.

      Reply
    • Apr 20 2010

      I pushed an update which should make it play nicer with sites still running PHP 4. Let me know if you still have problems after the 1.0.2 update.

      Reply
  2. rimo
    Apr 28 2010

    why there is no logout?

    Reply
    • Apr 28 2010

      This plugin relies on WordPress authentication, and to logout, click logout in the WordPress Admin Panel.

      You may also include a logout link in your template by creating a link which points to “wp-login.php?action=logout”.

      Reply
      • rimo
        May 4 2010

        thank you.
        i got it. i use wp function for logout wp_logout_url().

  3. David
    May 20 2010

    Hey – Love the plugin. I would like to know if after the login-form is filled out and submited, is it possible that the form returns you to the website page rather than the admin page?

    Reply
    • May 20 2010

      Thanks! It will return you to the page you tried to go to before having to log in.

      If you enter http://example.com/wp-admin/, it would return you to /wp-admin/ after you log in. The same goes for going to http://example.com/ for instance, which would return you to the very same URL (http://example.com/) after logging in.

      Is this not the behavior your are experiencing? If so, which version of WordPress are you running?

      Reply
  4. Jun 15 2010

    How can I get this to send to a page other than the admin page?

    Reply
    • Jun 15 2010

      You should be redirected to the same URL you entered before being redirected to the admin page. If you entered the admin url, you will end up there, but if you just enter the main url for the website, you should end up there.

      Let me know if you are still having issues after trying this out.

      Reply
      • kathie
        Jun 15 2010

        Yes, still takes me to the dashboard.I would LOVE for this to work, really need this plugin.

  5. Jun 18 2010

    I installed this plugin but after I installed it… the RSS feeders stopped working…

    Any thoughts as to why that would have happened?

    Reply
    • Jun 21 2010

      Because the feeds will become protected too. I will release an update soon which includes a settings page where you will be able to exclude certain pages (like the RSS feed) to be protected.

      Reply
  6. Jun 19 2010

    I would like to use this plugin in conjunction with the WP ipad/iphone app. The issue is that the XML-RPC feed then becomes password protected, and can’t be accessed by the app. any ideas?

    Reply
    • Jun 21 2010

      I will release an update shortly which will solve this issue. The XML-RPC interface is protected as is, and should not be protected by the plugin. Thanks for the feedback!

      Reply
  7. Neil
    Jun 26 2010

    I would like to use a plugin that allows a view of the home page of the site without registration but precludes access to the product/ecommerce pages of the site without users having applied for registration and being granted permission. Would this be possible Johnny?

    Reply
    • Jul 9 2010

      It is currently not possible I’m afraid, but there will be support for that in the next version though. Development is not progressing quickly during the summer, so I can not give an estimate on a release date, but “as soon as possible”.

      Reply
  8. MaryJo
    Jul 21 2010

    I’m wondering how soon you plan to release the update that will make the RSS feeds accessible? I love your plugin and would like to use it on a private site I need to launch in a couple weeks, but I also need the feeds to work. Thanks!

    Reply
    • S
      Jul 22 2010

      I would find this extremely useful too. Any ETA for this?

      Reply
  9. Jul 29 2010

    I’ve struggled with other solutions and was excited to see this nice, simple plug-in, but I’m having the same problem as Kathie above — when I log in using an ID and password assigned to someone at Subscriber level in WP, it still takes me to the administration page. I’d be grateful for any ideas or fixes. – Steve

    Reply

Trackbacks & Pingbacks

  1. Require login to view a Wordpress site | Johnny Chadda .se

Share your thoughts, post a comment.

(required)
(required)

Note: HTML is allowed. Your email address will never be published.

Subscribe to comments