• Howdy,

    I’ve just done a fresh install of 2.5 on a new domain on my server. I am running no plugins and the only alteration I made at the filesystem level so far was to upload the htaccess file the permalinks page requested that I upload.

    I’ve used WordPress for years and never found a problem I couldn’t resolve on my own or through the forums, but this one has me stumped as it has not been answered here – or if it has, the answer isn’t working for me. Basically, any time I edit a page the edit seems to post to the db, but afterward I get sent to a 403 error page that states:

    Error 403: Forbidden

    You don’t have permissions to access this page. This usually means one of the following:

    * this file and directory permissions make them unavailable from the Internet.
    * .htaccess contains instructions that prevent public access to this file or directory.

    Please check file and directory permissions and .htaccess configuration if you are able to do this. Otherwise, request your webmaster to grant you access.

    My first suspicion was, “Oh, this is a permissions issue.” I played around with permissions to no avail. Then I thought, “Well, this is an issue with the referrer” and I changed the domain to get rid of www and still nothing. I’ve tried a number of changes, always controlling for the single change, and I can’t figure out why it’s doing this.

    It could just be me being stupid and missing something, but I don’t have any odd settings on my server and the same code runs fine on a local XAMPP install (which is Windows-based of course). I’m guessing it’s an environmental problem, not specifically a WP problem, but after searching the support forums for an hour and trying several things, I’ll be damned if I can figure it out.

    Any help is appreciated. Thanks!

Viewing 5 replies - 1 through 5 (of 5 total)
  • Thread Starter on-on

    (@on-on)

    Ok, so after reading another thirty pages that deal with 403 errors I stumbled on the mod security issue. Not sure if my host changed this in their PHP config recently or if something else triggered it, but it had me bamboozled. I’ll quote what was quoted in the post that answered it here:

    https://www.ads-software.com/support/topic/132667?replies=30

    IF YOU DO NOT HAVE an .htaccess in your wp-admin/ directory:

    create a text file on your desktop:

    put the following inside it:

    <IfModule mod_security.c>
    SecFilterInheritance Off
    </IfModule>

    save the file. name it whatever you want

    Upload the file to your wp-admin directory.

    Rename the uploaded file to .htaccess (with the .)

    IF YOU DO HAVE an .htaccess in your wp-admin/ directory:

    Edit it, and add the following:

    <IfModule mod_security.c>
    SecFilterInheritance Off
    </IfModule>

    save the new .htaccess

    Did you find any other possible solutions? That didn’t work for me….

    Did the trick for me thanks. My server is real picky on Mod Security.

    Didn’t work for me… I actually couldn’t access my admin at all after uploading that. Any other suggestions?

    That did not work for me either. I am still able to access my admin panel after uploading that .htaccess file.

    I did not have an .htaccess file on the root, or in the wp-admin/ directory. I’m very confused how my blog worked fine one morning… and then I’m basically locked out of performing any actions (posting, editing, uploading, etc) after lunch.

    I need to get this resolved ASAP… and I’m not having much luck.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘403 Error After Editing Posts in 2.5’ is closed to new replies.