WordPress.org

Forums

[resolved] Can't login to wp admin - Forbidden(??) (3 posts)

  1. jcattanach
    Member
    Posted 6 years ago #

    I went to my login page of my blog, which looked totally different from the usual and I tried to log in and I get the following error message:

    Forbidden
    You don't have permission to access /blog/wp-admin/ on this server.

    Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.

    I haven't done anything to the files. I posted a blog post on 2 days ago and it was working fine. Can anybody help me with this please.

  2. BudBoy
    Member
    Posted 6 years ago #

    I'm a newbie to WordPress (although experienced in html/css, site builds, ftp etc), and I'm really keep to get to grips with it. Unfortunately I have EXACTLY the same problem as above:

    The default site loads fine, I just cannot login to the admin, I always get:

    Forbidden
    You don't have permission to access /blog/wp-login.php on this server.

    Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.

    1. I'm using Version 2.7 and have followed the 5 minute install.
    2. I have reinstalled numerous times on two different servers and still get the same result.
    3. I have also tried resetting the password as suggested elsewhere.

    Have now run out of ideas!

    Please could someone advise as to what the problem may be and how I can correct this?

    Thank You
    BudBoy

  3. BudBoy
    Member
    Posted 6 years ago #

    Ah-ha!

    Having run out of ideas I contacted one of my hosts and asked them about this problem.

    Turns out it was due to Mod_security being enabled! This is a 'by request' function which is set for security reasons.

    Once disabled the admin worked fine!

    Hope this helps if you're having similar problems.

Topic Closed

This topic has been closed to new replies.

About this Topic