WordPress.org

Ready to get started?Download WordPress

Forums

WordPress Access Areas
[resolved] Login page when no access (6 posts)

  1. nirgalo
    Member
    Posted 9 months ago #

    Hi, I would need to display a login page when user tries to reach an access protected page but is not yet logged in, how can I do this? Thanks.

    http://wordpress.org/plugins/wp-access-areas/

  2. belindajohnstone
    Member
    Posted 9 months ago #

    Hi I have a question re same topic... I get a 404 when not logged in... how do I make it a login page?

    Thanks

  3. podpirate
    Member
    Plugin Author

    Posted 8 months ago #

    Hi,
    showing a 404 is the plugins default behaviour. (Besides: Same as private posts in WordPress.) I am aware of the issue, but it would require some profound code refactoring. Currently I am struggeling with bugfixes and UI-improvements, so please do not expect a solution to come too soon.
    Cheers, j.

  4. belindajohnstone
    Member
    Posted 8 months ago #

    Thanks for the response. Good luck.

  5. DigiDocs
    Member
    Posted 8 months ago #

    I have a solution for that.
    You could add a 404.php page (or modify existing) to the theme templates.

    In that file, either redirect to wp default login page or to your url to user login page or you could add a shortcode for a plugin login form.

  6. nirgalo
    Member
    Posted 8 months ago #

    @DigiDocs: right, but after user logged in, we would need to go to the page the user originally intended to go to. So there is some coding involved there with a redirection.

Reply

You must log in to post.

About this Plugin

About this Topic