Skip to:
Content
Pages
Categories
Search
Top
Bottom

How to force login screen before accessing site?


  • jruffellsmith
    Participant

    @jruffellsmith

    Hi,

    I am very new to Buddypress and despite looking at a bunch of forums I cannot find out how to force users to login before they see the site?

    Thanks.

Viewing 3 replies - 1 through 3 (of 3 total)

  • Paul Bursnall
    Participant

    @style960


    Henry Wright
    Moderator

    @henrywright

    Try searching for bp_core_redirect here in the forums. The topic has come up many times in the past. You just add your redirect function to your theme’s functions.php file, making sure you’ve hooked it to the init action


    Paul Bursnall
    Participant

    @style960

    @jruffellsmith Something to consider though – if you send users directly to the wp-login screen before they can see any of the site, how are you going to provide an explanation on the nature of the site itself? You can customize the wp-login screen but it’s not really suited to the addition of anything more than a small amount of text.

    The plugin I recommended will let you to block everything save for the page(s) you declare.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘How to force login screen before accessing site?’ is closed to new replies.
Skip to toolbar