WordPress.org

Ready to get started?Download WordPress

Forums

Guest access to private blog (2 posts)

  1. amill016
    Member
    Posted 1 year ago #

    My website currently requires users to login to access the site. I am setting up a social network-type site where users will have the ability to write posts. I have set the user settings so that new users are "authors". However, I want people to be able to view the site and all of the content before deciding to sign up. I have created a user called "Guest", who I set as "subscriber". Is there a way to give new visitors access to the site through a common user, or is there another way to provider "read-only" access to the site. The site in question is http://www.thefreecollective.org. I am using the WP symposium suite of plugins as the social network framework.

  2. KaugKo
    Member
    Posted 1 year ago #

    you can check with is_user_logged_in(). and redirect them to homepage.

    http://codex.wordpress.org/Function_Reference/wp_redirect

    Don't forget to "not" redirect on home page. you can check with is_home() (Boolean).

Topic Closed

This topic has been closed to new replies.

About this Topic