• Is it simple to require a user to authenticate before viewing the site? I’d like any unauthenticated users to be tossed to the login screen if possible.
    Assuming that’s possible, how would I go about changing the page that gets displayed from the curent to something else? Right now it looks like when I login it brings me right to post.php, I’d like that to change to just the index.php if possible.
    Thanks in advance for the help!

Viewing 6 replies - 1 through 6 (of 6 total)
  • By users, do you mean a casual viewer ?
    If that is what you mean, and you do not want casual viewers to be able to view your page, you will need to have a .htaccess file and passwords set up. This is not part of the WP set up, but is fairly easily added.
    With the next part, you can have 2 bookmark links – one to post.php, and the other to index.php. Click the one you want ?

    Thread Starter chad

    (@chad)

    The htaccess thing would work, but I don’t want users to have to login twice to post new entries.
    I guess I don’t understand the second part of your reply. I’m wondering how to change the page that you get directed to immediately after logging into Worldpress. For my installation I get directed to the post.php page right after hitting login. I’d like to be able to have people login but get directed to the index.php page instead.

    Digging this up but it seems to be along the lines of what I’m trying to do.

    I have a system I designed as part of an intranet. As a discussion system, I’ve installed WordPress. The external system logs a user in. I want WP to check to find out if the user is logged in and if not, kick them back to the external login page. If they are logged in, allow them to view the wordpress install. Ideas?

    Hai-

    Well there are alot of ways to do this. If you have an exsisting membership session we can discuss that, I am also working on a system that will tie directly into wordpress and let me manage and signup users that way, has anyone else already done this?

    Kevin

    Bump! I’m trying to do the same here … for an intrAnet use.

    Any ideas?

    If all you want is to require visitors to be registered users in order to view any part of the site, there’s a great plugin to do that:

    https://dev.wp-plugins.org/browser/registered-only/

    It’s nifty — the plugin consists of about two lines of actual code, and works just as one would hope. This is more in answer to the original poster’s question than the intranet followups, of course — for those you’ll most likely need custom code.

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘require authentication?’ is closed to new replies.