Title: Deactivate Plugins for REST API
Last modified: March 16, 2022

---

# Deactivate Plugins for REST API

 *  Resolved [CountrySide](https://wordpress.org/support/users/countrypark/)
 * (@countrypark)
 * [4 years, 2 months ago](https://wordpress.org/support/topic/deactivate-plugins-for-rest-api/)
 * Hi, is possible to use the plugin to disable apps loaded with REST API requests?

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

 *  Plugin Author [Jose Mortellaro](https://wordpress.org/support/users/giuse/)
 * (@giuse)
 * [4 years, 2 months ago](https://wordpress.org/support/topic/deactivate-plugins-for-rest-api/#post-15465843)
 * Hi [@countrypark](https://wordpress.org/support/users/countrypark/)
 * As a default it’s possible, but only with standard WordPress rest API that includes
   wp-json in the URL
 * If you need to disable plugins with non-standard rest APIs that call URLs that
   don’t include wp-json, you need to add this line in wp-config.php before the 
   comment /* That’s all, stop editing! Happy blogging. */:
 * `define( 'EOS_DP_ALLOW_POST',true );`
 * In this case, check all the actions that you can do on your website (submitting
   a form, adding a product to the cart…).
 * In both cases, you can use the settings Custom URLs => Frontend URLs
 * In the first case you can add something that looks like */wp-json/wp/v2/sample-
   parameter*.
    For non-standard REST APIs add something that matches your URLs.
 * Let me know if it’s not clear.
 *  Thread Starter [CountrySide](https://wordpress.org/support/users/countrypark/)
 * (@countrypark)
 * [4 years, 2 months ago](https://wordpress.org/support/topic/deactivate-plugins-for-rest-api/#post-15465851)
 * Hi, thanks for the info, I will forward this to the app developer.
 *  Thread Starter [CountrySide](https://wordpress.org/support/users/countrypark/)
 * (@countrypark)
 * [4 years, 2 months ago](https://wordpress.org/support/topic/deactivate-plugins-for-rest-api/#post-15465868)
 * where would the option for disabling certain plugins for REST API be in the plugin?
 *  Thread Starter [CountrySide](https://wordpress.org/support/users/countrypark/)
 * (@countrypark)
 * [4 years, 2 months ago](https://wordpress.org/support/topic/deactivate-plugins-for-rest-api/#post-15465887)
 * To clarify, I don’t want to disable plugins that use REST API, I have an app 
   that connects to the site with REST API and was wondering if it’s possible to
   disable other apps from slowing down the REST API requests by disabling those
   apps from the REST APi requests of my app.
 *  Plugin Author [Jose Mortellaro](https://wordpress.org/support/users/giuse/)
 * (@giuse)
 * [4 years, 2 months ago](https://wordpress.org/support/topic/deactivate-plugins-for-rest-api/#post-15465928)
 * Freesoul Deactivate Plugins => Settings => Custom URLs => Frontend URLs
 * If your app calls for example [http://yourdomain.com/wp-json/wp/v2/pages](http://yourdomain.com/wp-json/wp/v2/pages)
 * you go to Custom URLs => Frontend URLs, you add a row with */wp-json/wp/v2/pages*,
   and disable the plugins that you don’t want they run when the app calls [http://yourdomain.com/wp-json/wp/v2/pages](http://yourdomain.com/wp-json/wp/v2/pages)
 * [@countrypark](https://wordpress.org/support/users/countrypark/)
 *  Thread Starter [CountrySide](https://wordpress.org/support/users/countrypark/)
 * (@countrypark)
 * [4 years, 2 months ago](https://wordpress.org/support/topic/deactivate-plugins-for-rest-api/#post-15465946)
 * Hi, I’m reffering to this on this article: [https://wp-qa.com/wordpress-rest-api-slow-response-time](https://wp-qa.com/wordpress-rest-api-slow-response-time)
 * > Overview: So the issue is a limitation of WordPress as of version 4.8. WordPress
   > is designed to load plugins and themes and all of its core every REST API request.
   > Here is the reason for the slow response time.
 *  Thread Starter [CountrySide](https://wordpress.org/support/users/countrypark/)
 * (@countrypark)
 * [4 years, 2 months ago](https://wordpress.org/support/topic/deactivate-plugins-for-rest-api/#post-15465973)
 * does your last response apply to this?
 *  Plugin Author [Jose Mortellaro](https://wordpress.org/support/users/giuse/)
 * (@giuse)
 * [4 years, 2 months ago](https://wordpress.org/support/topic/deactivate-plugins-for-rest-api/#post-15507231)
 * Hi [@countrypark](https://wordpress.org/support/users/countrypark/)
    yes, it 
   does. The core of WordPress will and the theme still load. You can only disable
   the plugins.
 * I will close this thread. If you have any issues and still need help don’t hesitate
   to open it again and reply.
 *  Thread Starter [CountrySide](https://wordpress.org/support/users/countrypark/)
 * (@countrypark)
 * [4 years, 2 months ago](https://wordpress.org/support/topic/deactivate-plugins-for-rest-api/#post-15511388)
 * Thank you

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

The topic ‘Deactivate Plugins for REST API’ is closed to new replies.

 * ![](https://ps.w.org/freesoul-deactivate-plugins/assets/icon-256x256.png?rev=
   2847508)
 * [Freesoul Deactivate Plugins - Disable plugins on individual WordPress pages](https://wordpress.org/plugins/freesoul-deactivate-plugins/)
 * [Support Threads](https://wordpress.org/support/plugin/freesoul-deactivate-plugins/)
 * [Active Topics](https://wordpress.org/support/plugin/freesoul-deactivate-plugins/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/freesoul-deactivate-plugins/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/freesoul-deactivate-plugins/reviews/)

 * 9 replies
 * 2 participants
 * Last reply from: [CountrySide](https://wordpress.org/support/users/countrypark/)
 * Last activity: [4 years, 2 months ago](https://wordpress.org/support/topic/deactivate-plugins-for-rest-api/#post-15511388)
 * Status: resolved