• Resolved ThatGuyEditing

    (@trex2303)


    A few days ago everything was working just fine. Now all of a sudden I get 403 forbidden errors when trying to pretty much do anything.

    Edit Menu:
    You don’t have permission to access /wp-admin/nav-menus.php on this server.

    Edit Permalinks:
    You don’t have permission to access /wp-admin/options-permalink.php on this server.

    Upload new media:
    HTTP Error

    I have tried editing php.ini (php-fpm 7.2), which didn’t work.
    I have tried editing .htaccess, which didn’t work.
    I tried turning off the firewall, which didn’t work.

    I can upload and edit via FTP just fine (of course).

    Also to note, this isn’t just on 1 wordpress site on my server, this is all of them. (Maybe a server issue?) But just as I said already, a few days ago everything was working just fine. Nothing has been updated, edited, changed since then.

    What else can I do to figure out / fix this issue?

Viewing 6 replies - 1 through 6 (of 6 total)
  • Dion

    (@diondesigns)

    Try adding the following line to the .htaccess file in the WordPress root directory:

    Require all granted
    

    If that does not solve the problem, then it’s a server issue, and you should probably ask your question on a more appropriate forum, such as StackExchange.

    If your server is using Exim for sending email, it may have been hacked due to CVE-2019-10149.

    Thread Starter ThatGuyEditing

    (@trex2303)

    No, nothing hacked here.

    Require all granted didn’t work. One WP site is using WP version 5.2.2 another is using 5.1.1, in which both are on php-fpm 7.2. I don’t know of that has anything to do with it or not (with my luck, probably not)

    I have the EXACT same problem! this is so frustrating.

    Dion

    (@diondesigns)

    This appears to be a server issue. Even if you didn’t change anything, your host could have done so, or perhaps an automatic update of something like cPanel could have broken your site.

    I suggest that you contact your hosting company.

    Thread Starter ThatGuyEditing

    (@trex2303)

    I don’t have cPanel, but I did figure out the issue. It had to do with mod_security.

    And my hosting company is “me” lol. I run my own server.

    Dion

    (@diondesigns)

    Yup, a background mod_security rules update could easily cause this problem! It would also explain why other people have been reporting the same problem over the past few days.

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