WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] Don't display site unless logged in (6 posts)

  1. impelus
    Member
    Posted 8 years ago #

    Is there any way to not display the site unless the user is logged in? Some piece of code I can put in the index.php that would work the same way the wp-admin works? I would prefer to have the site unvieweable unless the user is logged in.

  2. moshu
    Member
    Posted 8 years ago #

    Plugins? Did your try to browse over there?

  3. impelus
    Member
    Posted 8 years ago #

    I did. I looked for plugins for a long time, but never found it. I just browsed through some of the other posts on here and found the Registered-Only plugin and it solved it.

    http://carthik.net/blog/vault/2005/05/12/registered-only-plugin-reworked/

  4. moshu
    Member
    Posted 8 years ago #

    I don't know where did you look for, but on this page Plugins/Restriction the very first one says exactly waht you were asking for. Anyway, good that you found the solution.

  5. impelus
    Member
    Posted 8 years ago #

    I think the Angsuman part threw me off.

  6. dss
    Member
    Posted 8 years ago #

    I think the Angsuman part threw me off.

    Looks like a headline...

    I don't blame you one bit.

    ; )

Topic Closed

This topic has been closed to new replies.

About this Topic