• Resolved carrieduncan

    (@carrieduncan)


    Can anyone recommend a plug-in to password protect a site?

    I’d been using WordPress Password (0.4.7 — misread the compatibility: compatible only up to WP 2.3), when it started hanging when I changed the URLs from IP address to actual name. The only other plugin I saw that would do this was AskApache, and BlueHost apparently doesn’t support its scheme.

    For now, I’m password protecting the site at the directory level through BlueHost’s cPanel (which presents a dialogue box for log-in: ugly), but the log-in form I styled for WordPress Password was so much more aesthetically pleasing, I’d like to duplicate it.

    Endorsements? Recommendations? Advice? All welcome.

Viewing 7 replies - 1 through 7 (of 7 total)
  • Thread Starter carrieduncan

    (@carrieduncan)

    Thanks, Gangleri — unfortunately, this plug in will require my client to create user accounts, which she doesn’t want to do. She simply wants a password protected site.

    Any other suggestions?

    Thread Starter carrieduncan

    (@carrieduncan)

    Thanks very much, Gangleri — I tried each of these in turn, and the actual log in page for all of these looks just like WordPress’s admin log in page (which, a couple days ago, I found 6 lines of code to put in functions.php that do just that without a plugin):

    // password protection
    function password_protected() {
    	if ( !is_user_logged_in() ) {
    		auth_redirect();
      }
    }
    
    add_action('template_redirect', 'password_protected');
    add_action('do_feed', 'password_protected');

    I read somewhere that it’s not great practice to make it clear the site is powered by WordPress, as any platform that allows the server to be written to is vulnerable to a hack. (I think that was the gist.) Don’t know if it’s actually the case, but am erring on the conservative side.

    What I’m looking for is a plugin 1) whose login page will be customizable so as to reflect look-and-feel of the site, and 2) requires only a password, but does not require that users be registered. I’d hoped there were some WP site developers out there that had experience with a plugin that did all this and was actually STABLE.

    Still, thanks for the links — I do appreciate the input.

    Well, it won’t be a secret that you use WP even when you edit the login screen, but of course there’s always plugins like this 🙂
    http://wordpress.org/extend/plugins/bm-custom-login/

    Thread Starter carrieduncan

    (@carrieduncan)

    Thanks, Gangleri — but that one (as well as “Custom Login” which also displays a scary warning when you try to delete it) seems to be another variation on “customize the WordPress Admin login page.” My client does not want to register individual users, she simply wants one password to protect the site and I want to style it for consistent look and feel.

    Still looking.

    Thread Starter carrieduncan

    (@carrieduncan)

    Just downloaded WP Password’s 0.6.1 (started with 0.4.7, see up top) — the caveats scared me away first time around (“no guarantees”), but it looks like he’s fixed it. Crossing fingers it continues to work, and marking this resolved.

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘Password protect site?’ is closed to new replies.