Title: error on loading
Last modified: April 10, 2021

---

# error on loading

 *  Resolved [pingpongrob](https://wordpress.org/support/users/pingpongrob/)
 * (@pingpongrob)
 * [5 years, 1 month ago](https://wordpress.org/support/topic/error-on-loading/)
 * I keep getting the notice show, and cant run optimizer.
 * Either a security plugin, custom function or rules in your .htaccess file is 
   preventing the WordPress REST API from working properly. SG Optimizer is using
   it to store its options and other functionalities so please make sure it works
   properly.
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Ferror-on-loading%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

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

 *  Plugin Author [Stoyan Georgiev](https://wordpress.org/support/users/stoyangeorgiev/)
 * (@stoyangeorgiev)
 * [5 years, 1 month ago](https://wordpress.org/support/topic/error-on-loading/#post-14306013)
 * Hey there [@pingpongrob](https://wordpress.org/support/users/pingpongrob/),
 * SG Optimizer is using the REST API, to perform various actions. The issue may
   be caused by a htacces rule which is preventing the REST API from functioning
   correctly. You can try to use a default WordPress htacces to see if that fixes
   the issue. If not, please check if any security plugin is not restricting access
   to it. If that does not help, please check your plugins to see if any of them
   is not blocking the REST API. If any of your plugins are using the REST API endpoints
   improperly, this may lead to blocking the access to it for other plugins.
 * Kind regards,
    Stoyan
 *  Thread Starter [pingpongrob](https://wordpress.org/support/users/pingpongrob/)
 * (@pingpongrob)
 * [5 years, 1 month ago](https://wordpress.org/support/topic/error-on-loading/#post-14307880)
 * I tried disabling Jetpack which runs askimit spam blocker, I dont run any other
   security products.
    Where would I even find a default wordpress htaccess file.

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

The topic ‘error on loading’ is closed to new replies.

 * ![](https://ps.w.org/sg-cachepress/assets/icon-256x256.gif?rev=2971889)
 * [Speed Optimizer - The All-In-One Performance-Boosting Plugin](https://wordpress.org/plugins/sg-cachepress/)
 * [Support Threads](https://wordpress.org/support/plugin/sg-cachepress/)
 * [Active Topics](https://wordpress.org/support/plugin/sg-cachepress/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/sg-cachepress/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/sg-cachepress/reviews/)

 * 2 replies
 * 2 participants
 * Last reply from: [pingpongrob](https://wordpress.org/support/users/pingpongrob/)
 * Last activity: [5 years, 1 month ago](https://wordpress.org/support/topic/error-on-loading/#post-14307880)
 * Status: resolved