Forums

wp-login.php and wp-admin (4 posts)

  1. dinzan
    Member
    Posted 1 year ago #

    Okay, will explain the issue in steps.

    1 go to your blog
    2 login at blog.com/wp-login.php
    3 go to /wp-admin ie, the admin page .. make sure it works ..
    4 go to /wp-login.php again ... it still shows login prompt right ?

    Isn't it supposed to take you to wp-admin page, when you are logged in ?

  2. moshu
    Member
    Posted 1 year ago #

    I don'nt know what is it supposed to do, but it doesn't take you to the admin if you specifically type the wp-login.php in your address bar.

  3. ClockParadoX
    Member
    Posted 8 months ago #

    How do I work around this behavior?

    Right now, when users login via the wp-login.php, they are redirected to the /wp-admin/ profile page. I really want to avoid this and have people go back to the blog instead.

    Thoughts?

  4. charlieperrins
    Member
    Posted 8 months ago #

    Hey

    I'm looking at the same problem.

    Have a look at the form on the wp-login.php page. There's a hidden field called 'redirect_to' - just change that to the homepage of your blog and you're sorted.

    Of course - then you've got to work out what happens when they log out - haven't got to that part yet!

Topic Closed

This topic has been closed to new replies.

About this Topic