Title: REST API &#8211; SG Optimizer
Last modified: October 2, 2020

---

# REST API – SG Optimizer

 *  Resolved [sagency](https://wordpress.org/support/users/sdagency/)
 * (@sdagency)
 * [5 years, 7 months ago](https://wordpress.org/support/topic/rest-api-sg-optimizer/)
 * Siteground has a plugin called SG Optimizer. One of the features it uses we need
   is converting images to Webp.
 * When we try to run SG Optiizer it says a security plugin is blocking Rest API.
 * We went to the Miscellaneous setting and ensured that box for REST API is unchecked.
 * We also tried a basic .htaccess file and it still occurred.
 * Any idea what we can change in WP Security to make Rest API work?
 * Thanks.

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

 *  Plugin Contributor [mbrsolution](https://wordpress.org/support/users/mbrsolution/)
 * (@mbrsolution)
 * [5 years, 7 months ago](https://wordpress.org/support/topic/rest-api-sg-optimizer/#post-13486230)
 * Hi, just for testing purposes. What happens if you disable our plugin? Do you
   still receive the same message?
 * Regards
 *  Thread Starter [sagency](https://wordpress.org/support/users/sdagency/)
 * (@sdagency)
 * [5 years, 7 months ago](https://wordpress.org/support/topic/rest-api-sg-optimizer/#post-13487392)
 * Yes, tried disabling too. Same message.
 *  Plugin Contributor [mbrsolution](https://wordpress.org/support/users/mbrsolution/)
 * (@mbrsolution)
 * [5 years, 7 months ago](https://wordpress.org/support/topic/rest-api-sg-optimizer/#post-13488562)
 * Hi,
 * > Yes, tried disabling too. Same message.
 * So you are saying that disabling our plugin you still receive the same message.
   That means our plugin is not causing this conflict. Is that correct?
 * Regards
    -  This reply was modified 5 years, 7 months ago by [mbrsolution](https://wordpress.org/support/users/mbrsolution/).
 *  [dailyvideo](https://wordpress.org/support/users/dailyvideo/)
 * (@dailyvideo)
 * [5 years, 5 months ago](https://wordpress.org/support/topic/rest-api-sg-optimizer/#post-13745940)
 * We have this issue too
 *  [dailyvideo](https://wordpress.org/support/users/dailyvideo/)
 * (@dailyvideo)
 * [5 years, 5 months ago](https://wordpress.org/support/topic/rest-api-sg-optimizer/#post-13746133)
 * UPDATE: If someone else is running into this here is a clue of what might help.
 * In our situation we run a few sites on the same hosting. We use AIOWPS on this
   site, but on the main site we use Wordfence. It appears Wordfence might actually
   be the culprit. In terms of testing, if we put Wordfence on the main site in 
   Learning Mode, come back to this site and use SGOptimizer features they seem 
   to be enabled now.
 * Not sure what will happen once Learning Mode is disabled on the other site.
 * Hope it sticks and hope this saves someone else hours of frustration.
 * If you have any insights please add.
 * PS: You might ask, why do you use two different security plugins. In short, because
   Wordfence can be a nightmare to setup on SiteGround. We have followed there directions
   but always need a support rep to make changes on their site to make Wordfence
   work with their hosting. So on later sites we went back to using AIOWPS security
   which seems to setup seamlessly.

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

The topic ‘REST API – SG Optimizer’ 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

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

 * 5 replies
 * 3 participants
 * Last reply from: [dailyvideo](https://wordpress.org/support/users/dailyvideo/)
 * Last activity: [5 years, 5 months ago](https://wordpress.org/support/topic/rest-api-sg-optimizer/#post-13746133)
 * Status: resolved