From wp-login to wp-admin 403 forbidden (5 posts)

  1. organicpop
    Posted 8 years ago #

    I'm having an issue with other editors than me logging into mt. When other editors login at wp-login.php they are redirected to /wp-admin/ with a 403 forbidden error.

    I can however login as the other users on my machine fine?

  2. organicpop
    Posted 8 years ago #

    did i say mt? i meant wordpress.

  3. organicpop
    Posted 8 years ago #

    Does anybody have some advice?

  4. ClockParadoX
    Posted 7 years ago #

    I am having this problem too.

    I want subscribers to login via the wp-login.php, and then redirect back to the blog. But for some reason, as soon as people log in, they are directed to <site>/wp-admin/

    How can we fix this?

  5. Alex Dunae
    Posted 7 years ago #

    I just ran into this and thought I'd post my resolution for posterity.

    Our client's host had a mod_security rule that matched on =http.

    Going to
    redirects you to
    triggering a 403 Forbidden status from mod_security.

    To work around it, add the following to your the top of your .htaccess.

    <IfModule mod_rewrite.c>
    RewriteEngine On
    RewriteBase /
    RewriteCond %{QUERY_STRING} ^redirect_to=http
    RewriteRule ^wp-login.php http://example.com/wp-login.php? [R=301,L]

Topic Closed

This topic has been closed to new replies.

About this Topic