@l1z0b
Looking at the error code and message it seems there are some issues with the REST API settings on your server.
The Yoast plugin uses the WordPress REST API for several features, including SEO data optimization. Therefore, the pathway wp-json/yoast/v1/indexing/prepare/
is a request that our plugin makes to the REST API for scanning posts and index them in the website database. It looks like something on your site/server setups blocks them. Therefore, SEO data optimization cannot be performed.
Because we don’t know your server setup, we cannot determine exactly why the server returns a 404 for the REST API requests made by Yoast. Based on similar issues we receive from other users, this typically occurs due to a security or server setting.
Would you please check the mod_security
settings that prevent our plugin from accessing the REST API? If there are no mod_security
settings preventing access at the server, you may have a custom .htaccess rule or security plugin limiting access to the WordPress REST API. Please review any security restrictions and whitelist the Yoast plugin for accessing the feature.
If you have a Web Application Firewall (WAF), like Comodo, please verify that it is not set up to strip the parameter from the Yoast REST API requests. Some users have reported that some WAF setups are too strict to prevent Blind SQL injection attacks. Your hosting provider can easily check and help you to resolve this.
Finally, even if the optimization process makes our plugin work more efficiently, we want to assure you that not performing the optimization process will negatively affect your site’s search results. Additionally, the optimization process will run silently in the background as content on your site is created, modified, or removed.
We hope it helps and please let us know if some other question comes up, and we can be of further assistance.