• Resolved dailyvideo

    (@dailyvideo)


    We use Siteground. Their optimizer plugin gives this error:

    Could not connect to the WordPress REST API

    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.

Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter dailyvideo

    (@dailyvideo)

    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.

    Plugin Contributor mbrsolution

    (@mbrsolution)

    Thank you for sharing your solution. I am sure this will help others running into a similar situation as you.

    If your issue is resolved, can you mark this support thread as resolved.

    Kind regards

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Siteground WordPress REST API Error’ is closed to new replies.