Forums

The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums Back End How do I password protect my entire WordPress Site?

  • This topic is empty.
Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #28838

    Hi guys,

    I was reading online and looking through the plug-ins on WordPress but I’m a little lost. I have a personal blog site that I would like password protected. I would give out the password to my family and friends but I’m not sure which plug-in or what to use?

    Thanks for your help in advance!
    Nick

    #74772
    Dominic
    Member

    You could add your friends as Users with their own username and password.

    Then check out the is_user_logged_in conditional tag — http://codex.wordpress.org/Function_Reference/is_user_logged_in — and modify your theme so that the loop only runs/ the page only shows content if that conditional returns true.

    I haven’t had much to do with the built-in Private Posts wordpress thing, but on a post-by-post basis you could set each post you publish to Visibilty: Private. Again, I haven’t played with this functionality but it would mean no plugins or theme modifications required.

    #74705
    TheDoc
    Member

    If it’s the entire site, why don’t you use a little .htaccess action? It’s not as pretty as a plugin, but certainly hassle free to set up

Viewing 3 posts - 1 through 3 (of 3 total)
  • The forum ‘Back End’ is closed to new topics and replies.