Title: Cannot update Visual Composer when WP Security is enabled
Last modified: August 31, 2016

---

# Cannot update Visual Composer when WP Security is enabled

 *  Resolved [cwarrent](https://wordpress.org/support/users/cwarrent/)
 * (@cwarrent)
 * [10 years, 1 month ago](https://wordpress.org/support/topic/cannot-update-visual-composer-when-wp-security-is-enabled/)
 * Hello,
 * I’ve tried reading through a few posts and searching but cannot see anything 
   directly related at this stage.
 * Basically my theme has a bundled copy of Visual Composer and when I initiate 
   an update from the themes custom landing page, it fails and gives a 404 error(
   and thus all related VC pages won’t load correctly from the frontend).
 * I’d assume the update process is not 100% the same as the normal way updates 
   are applied and a resulting URL (quite long with many query strings) gives a 
   404 error.
 * Could it be that a few settings such as:
    – Deny Bad Query Strings – Enable Advanced
   Character String Filter
 * ..could be causing this?
 * I can test but would appreciate any pointers so I don’t get caught in a loop 
   disabling features, applying update then rolling back the site to repeat the 
   process as needed to see results if makes sense 🙂
 * [https://wordpress.org/plugins/all-in-one-wp-security-and-firewall/](https://wordpress.org/plugins/all-in-one-wp-security-and-firewall/)

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

 *  Plugin Contributor [wpsolutions](https://wordpress.org/support/users/wpsolutions/)
 * (@wpsolutions)
 * [10 years, 1 month ago](https://wordpress.org/support/topic/cannot-update-visual-composer-when-wp-security-is-enabled/#post-7316432)
 * > …when I initiate an update from the themes custom landing page, it fails and
   > gives a 404 error
 * What exactly is that “custom” landing page? Does it reside within your wordpress
   admin panel or is it external?
    Do you have the rename login feature active?
 * If it’s external, I wonder if their upgrade script assumes that they would be
   able to reach the standard “wp-admin” page because if you have rename login active
   that will not be possible of course.
 * If it’s none of the above….then yes I think you are probably correct in basing
   your suspicions that one of the firewall rules are responsible but since I’ve
   never seen this issue personally I’m not sure which might be causing the issue
   and you will need to test that.
 *  Thread Starter [cwarrent](https://wordpress.org/support/users/cwarrent/)
 * (@cwarrent)
 * [10 years, 1 month ago](https://wordpress.org/support/topic/cannot-update-visual-composer-when-wp-security-is-enabled/#post-7316463)
 * Right, to update I’ve fixed the issue.
 * Took a while to test as I had to implement, document and restore the site and
   repeat… will update below.
 * The theme (Shopkeeper) has a custom area within the WP Admin panel for updating
   bundled plugins. I’m guessing this update uses a complex query string to verify
   the purchase codes and the like for the theme and the plugin.
 * The conflict was caused by enabling:
 * FIREWALL > ADDITIONAL FIREWALL OPTIONS > DENY BAD QUERY STRINGS
 * …On disabling this the update worked fine.
 * Hope this post may help others.
 *  Plugin Contributor [wpsolutions](https://wordpress.org/support/users/wpsolutions/)
 * (@wpsolutions)
 * [10 years, 1 month ago](https://wordpress.org/support/topic/cannot-update-visual-composer-when-wp-security-is-enabled/#post-7316486)
 * Thanks for updating us and taking the time to test this.

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

The topic ‘Cannot update Visual Composer when WP Security is enabled’ is closed 
to new replies.

 * ![](https://ps.w.org/all-in-one-wp-security-and-firewall/assets/icon-256x256.
   png?rev=2798307)
 * [All-In-One Security (AIOS) – Security and Firewall](https://wordpress.org/plugins/all-in-one-wp-security-and-firewall/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/all-in-one-wp-security-and-firewall/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/all-in-one-wp-security-and-firewall/)
 * [Active Topics](https://wordpress.org/support/plugin/all-in-one-wp-security-and-firewall/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/all-in-one-wp-security-and-firewall/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/all-in-one-wp-security-and-firewall/reviews/)

## Tags

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

 * 3 replies
 * 2 participants
 * Last reply from: [wpsolutions](https://wordpress.org/support/users/wpsolutions/)
 * Last activity: [10 years, 1 month ago](https://wordpress.org/support/topic/cannot-update-visual-composer-when-wp-security-is-enabled/#post-7316486)
 * Status: resolved