Support » Plugin: Yoast SEO » Yoast is overwriting Event Espresso REST API endpoints

  • Resolved sethshoultes

    (@sethshoultes)


    Our user’s are freaking out because their REST API is broken after the latest updates to Yoast SEO. For example, it seems that Yoast SEO is changing the REST API endpoints to ‘/yoast/v1/site_info’, instead of ‘/wp-json/ee/v4.8.36/site_info’.

    I installed a REST API logging plugin on my site and can see this in the logs:

    This is how the endpoint URL’s should look:

Viewing 1 replies (of 1 total)
  • Josh Feck

    (@builtbynorthby)

    It looks like you can disable the REST API features in the SEO plugin (and avoid destroza todo) by adding the following to a functions plugin:

    add_action( 'init', 'my_remove_yoast_api', 9 );
    function my_remove_yoast_api() {
      remove_action( 'init', 'wpseo_init_rest_api' );
    }
Viewing 1 replies (of 1 total)
  • The topic ‘Yoast is overwriting Event Espresso REST API endpoints’ is closed to new replies.