Title: 403 error when saving post or draft.
Last modified: August 21, 2016

---

# 403 error when saving post or draft.

 *  Resolved [Zaek](https://wordpress.org/support/users/zaek/)
 * (@zaek)
 * [12 years, 7 months ago](https://wordpress.org/support/topic/403-error-when-saving-post-or-draft/)
 * I have a new issue when trying to save a post’s draft, or publish it new I get
   the 403 error page, and it fails completely.
 * I found this solution here: [http://wordpress.org/support/topic/strange-403-or-404-forbidden-errors-with-wordpress](http://wordpress.org/support/topic/strange-403-or-404-forbidden-errors-with-wordpress)
 * <IfModule mod_security.c>
    SecFilterEngine Off SecFilterScanPOST Off </IfModule
   >
 * But I am unsure where to post this code in BulletProof’s custom code editor.
 * update: I tried putting it here: CUSTOM CODE TOP PHP/PHP.INI HANDLER/CACHE CODE:
   Add php.ini handler and/or plugin cache code here
 * And It did the 403 page immediately after I hit save root custom code, so that
   must be wrong.
 * [http://wordpress.org/plugins/bulletproof-security/](http://wordpress.org/plugins/bulletproof-security/)

Viewing 11 replies - 1 through 11 (of 11 total)

 *  Plugin Author [AITpro](https://wordpress.org/support/users/aitpro/)
 * (@aitpro)
 * [12 years, 7 months ago](https://wordpress.org/support/topic/403-error-when-saving-post-or-draft/#post-4160275)
 * I don’t think mod_security is the cause of the problem, but of course it could
   be.
    Do these general troubleshooting tests Try putting BPS in Default Mode and
   test. Try deleting the wp-admin .htaccess file and test.
 * Also post any errors that are related to saving a draft or publishing a post 
   from the BPS Security Log.
    Since you have Better WP Security installed you will
   also need to troubleshoot that plugin.
 *  Plugin Author [AITpro](https://wordpress.org/support/users/aitpro/)
 * (@aitpro)
 * [12 years, 7 months ago](https://wordpress.org/support/topic/403-error-when-saving-post-or-draft/#post-4160348)
 * Also this very common problem could be the cause of this problem:
    [http://wordpress.org/support/topic/plugin-bulletproof-security-broken-cpanel-hotlink-tool-404-errors-unable-to-edit-htaccess-files?replies=9](http://wordpress.org/support/topic/plugin-bulletproof-security-broken-cpanel-hotlink-tool-404-errors-unable-to-edit-htaccess-files?replies=9)
 *  Plugin Author [AITpro](https://wordpress.org/support/users/aitpro/)
 * (@aitpro)
 * [12 years, 7 months ago](https://wordpress.org/support/topic/403-error-when-saving-post-or-draft/#post-4160383)
 * Did this answer your question? If so, please resolve this thread. If not, please
   post a status update.
 *  Plugin Author [AITpro](https://wordpress.org/support/users/aitpro/)
 * (@aitpro)
 * [12 years, 7 months ago](https://wordpress.org/support/topic/403-error-when-saving-post-or-draft/#post-4160390)
 * Did this answer your question? If so, please resolve this thread. If not, please
   post a status update.
 *  Plugin Author [AITpro](https://wordpress.org/support/users/aitpro/)
 * (@aitpro)
 * [12 years, 7 months ago](https://wordpress.org/support/topic/403-error-when-saving-post-or-draft/#post-4160398)
 * Another possibility is that this is a non-WordPress call to post.php. ie a plugin
   or theme is simulating an RFI hacking attempt against your website in the way
   that the plugin or theme code is calling post.php. For these cases see the Forum
   link below for the solution.
 * [http://forum.ait-pro.com/forums/topic/excessive-403-errors-from-my-own-login-why/#post-6812](http://forum.ait-pro.com/forums/topic/excessive-403-errors-from-my-own-login-why/#post-6812)
 *  Plugin Author [AITpro](https://wordpress.org/support/users/aitpro/)
 * (@aitpro)
 * [12 years, 7 months ago](https://wordpress.org/support/topic/403-error-when-saving-post-or-draft/#post-4160410)
 * Did this answer your question? If so, please resolve this thread. If not, please
   post a status update.
 *  Plugin Author [AITpro](https://wordpress.org/support/users/aitpro/)
 * (@aitpro)
 * [12 years, 7 months ago](https://wordpress.org/support/topic/403-error-when-saving-post-or-draft/#post-4160416)
 * Resolving. Thread appears to be abandoned.
 *  Thread Starter [Zaek](https://wordpress.org/support/users/zaek/)
 * (@zaek)
 * [12 years, 6 months ago](https://wordpress.org/support/topic/403-error-when-saving-post-or-draft/#post-4160447)
 * So sorry, I honestly dont recall how I fixed it. I only get the 403 error now
   when I try to use “embedly” plugin. I read that it could be a problem with -cloudflare-.
   Not sure if cloudflare is problematic here or not.
 *  Plugin Author [AITpro](https://wordpress.org/support/users/aitpro/)
 * (@aitpro)
 * [12 years, 6 months ago](https://wordpress.org/support/topic/403-error-when-saving-post-or-draft/#post-4160448)
 * Post the error related to this plugin from your BPS Security Log file. Probably
   just need to add a skip/bypass rule to take care of that issue.
 *  Thread Starter [Zaek](https://wordpress.org/support/users/zaek/)
 * (@zaek)
 * [12 years, 6 months ago](https://wordpress.org/support/topic/403-error-when-saving-post-or-draft/#post-4160449)
 * This is what I got:
 * One site gets past the preview, but does this when I try to save or publish:
 * >>>>>>>>>>> 403 GET or Other Request Error Logged – November 9, 2013 – 11:41 
   pm <<<<<<<<<<<
    REMOTE_ADDR: Host Name: SERVER_PROTOCOL: HTTP/1.1 HTTP_CLIENT_IP:
   HTTP_FORWARDED: HTTP_X_FORWARDED_FOR: HTTP_X_CLUSTER_CLIENT_IP: REQUEST_METHOD:
   GET HTTP_REFERER: [http://website/wp-admin/post.php?post=12&action=edit](http://website/wp-admin/post.php?post=12&action=edit)
   REQUEST_URI: /wp-admin/post.php QUERY_STRING: HTTP_USER_AGENT: Mozilla/5.0 (Windows
   NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/30.0.1599.101 Safari/
   537.36
 * AND the other site wont preview the url with the embedly plugin, so cant even
   embed it into post to try and save/publish. That site does not leave an error
   in the log file.
 * Video demo of what happens shown here:
    [http://www.youtube.com/watch?v=QpQ05EEBddc](http://www.youtube.com/watch?v=QpQ05EEBddc)
 *  Plugin Author [AITpro](https://wordpress.org/support/users/aitpro/)
 * (@aitpro)
 * [12 years, 6 months ago](https://wordpress.org/support/topic/403-error-when-saving-post-or-draft/#post-4160450)
 * Add this skip/bypass rule below to this BPS wp-admin Custom Code text box: **
   CUSTOM CODE WPADMIN PLUGIN FIXES: Add ONLY WPADMIN personal plugin fixes code
   here **
 *     ```
       # post.php skip/bypass rule
       RewriteCond %{REQUEST_URI} (post\.php) [NC]
       RewriteRule . - [S=2]
       ```
   
 * Click the Save wp-admin Custom Code button.
    Go to the Security Modes page and
   activate wp-admin BulletProof Mode again. You do not need to activate Root folder
   BulletProof Mode again.

Viewing 11 replies - 1 through 11 (of 11 total)

The topic ‘403 error when saving post or draft.’ is closed to new replies.

 * ![](https://ps.w.org/bulletproof-security/assets/icon-128x128.png?rev=1731938)
 * [BulletProof Security](https://wordpress.org/plugins/bulletproof-security/)
 * [Support Threads](https://wordpress.org/support/plugin/bulletproof-security/)
 * [Active Topics](https://wordpress.org/support/plugin/bulletproof-security/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/bulletproof-security/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/bulletproof-security/reviews/)

## Tags

 * [403 error](https://wordpress.org/support/topic-tag/403-error/)

 * 11 replies
 * 2 participants
 * Last reply from: [AITpro](https://wordpress.org/support/users/aitpro/)
 * Last activity: [12 years, 6 months ago](https://wordpress.org/support/topic/403-error-when-saving-post-or-draft/#post-4160450)
 * Status: resolved