WordPress.org

Ready to get started?Download WordPress

Forums

Plugin Required to force login to view a site? (2 posts)

  1. jonradio
    Member
    Posted 2 years ago #

    This thread states that WordPress 3.2 introduced a way to force login to view pages and posts:
    http://wordpress.org/support/topic/plugin-protected-site-the-access-restriction-is-already-available-with-32

    But this documentation indicates that the only way is to individually change each page and post to Private Visibility:
    http://codex.wordpress.org/Content_Visibility

    Clarification would be appreciated as I've already written my own plugin to do this, and was planning to prepare it for the WordPress Repository until I saw the first post above.

  2. Pioneer Valley Web Design
    Member
    Posted 2 years ago #

    Alternatively, you could use the .htaccess to restrict who can visit your web site, but this is beyond the scope of this document.

Topic Closed

This topic has been closed to new replies.

About this Topic