Site Kit cannot access the WordPress REST API. Please ensure it is enabled…

[ad_1]

Thanks for reaching out @jubz. I’d be happy to assist and check for any cause of a non-functioning WordPress REST API. In order to do so, please share your Site Health information and I can check your plugin environment while performing some checks on your site.

I’m not sure how I would setup this on my wordpress site due to it

Site Kit does require a wording REST API to function, as do many other plugins. Once we can review your Site Health information we can advise on this further. Typically a security plugin or other feature may be impacting how your WordPress REST API functions.

Let me know if you have any questions with the above.

Thread Starter
jubz

(@jubz)

Thank you for your quick response. It was already solved, It was in index.php, I did some PHP condition and I removed thar one causing the error. Now it was already fixed!

Nice troubleshooting @jubz. Appreciate you sharing your findings, in particular should other users encounter the same error.

If you run into any further errors or if you have any Site Kit related queries, be sure to get in touch.

 

This site will teach you how to build a WordPress website for beginners. We will cover everything from installing WordPress to adding pages, posts, and images to your site. You will learn how to customize your site with themes and plugins, as well as how to market your site online.

Buy WordPress Transfer