Title: request method not found
Last modified: April 28, 2022

---

# request method not found

 *  Resolved [importlamp](https://wordpress.org/support/users/importlamp/)
 * (@importlamp)
 * [4 years, 1 month ago](https://wordpress.org/support/topic/request-method-not-found/)
 * Hello. [@maybellyne](https://wordpress.org/support/users/maybellyne/)
 * I started SEO data optimization. There was an error:
 * Error details
 * Request URL
    [https://import-lamp.ru/wp-json/yoast/v1/indexing/prepare](https://import-lamp.ru/wp-json/yoast/v1/indexing/prepare)
 * Request method
    POST
 * Status code
    404
 * Error message
    A suitable route for the URL and request method was not found.
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Frequest-method-not-found%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

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

 *  Plugin Support [Maybellyne](https://wordpress.org/support/users/maybellyne/)
 * (@maybellyne)
 * [4 years, 1 month ago](https://wordpress.org/support/topic/request-method-not-found/#post-15599569)
 * Hello Importlamp,
 * I am sorry to learn that you could not complete the SEO data optimization analysis.
   We have seen unexpected issues where the previously optimized data is invalid
   or incomplete. We’ll start with a reset of the optimization to ensure we’ve removed
   any invalid data. Let’s cover a few important things to be aware of beforehand.
 * First, we would understand if you were hesitant to reset the optimized data. 
   We can assure you that your hard work will not be lost as the default WordPress
   tables also contain the SEO data. This process will only reset the custom Yoast
   tables with the combined data pulled from those default tables.
 * Second, we recommend creating regular backups of your site and database for your
   site’s health and safety. Backups are especially important before making substantial
   changes to your website. It provides you with a safety net if something were 
   to go wrong. Learn more about [the benefits of regular backups](https://yoast.com/help/how-to-backup-your-wordpress-site/).
 * Thirdly, we highly recommend using a staging or testing site to reduce the impact
   on your live site. Some popular web hosts offer quick setups for a staging site,
   so please contact your web host for assistance. They will probably be able to
   help you out. If your web host does not offer staging sites, the WordPress plugin
   repository offers staging plugins, or you can create your own staging site.
 * Now, back to the issue at hand. We know that resetting the data may sound intimidating,
   but our [How to reset the Yoast indexables](https://yoast.com/help/how-to-reset-yoast-indexables/)
   guide will walk you through the process step by step. We’ve also summarized the
   steps below.
 * 1. Install & activate the [Yoast Test Helper](https://wordpress.org/plugins/yoast-test-helper/)
   plugin
    2. Go to Tools > Yoast Test 3. Locate the Yoast SEO section and click
   on the ‘Reset indexables tables & migrations’, ‘Reset Prominent words calculation’,
   and ‘Reset Internal link counter’ buttons. After each click, the page will reload
   to confirm that the specific reset was successful. 4. Go to SEO > Tools, and 
   under SEO data, click the “Start SEO data optimization” button to allow Yoast
   to rescan your content.
 * Please let us know if the reported issue remains after resetting the optimized
   data.
 *  Thread Starter [importlamp](https://wordpress.org/support/users/importlamp/)
 * (@importlamp)
 * [4 years, 1 month ago](https://wordpress.org/support/topic/request-method-not-found/#post-15599622)
 * [@maybellyne](https://wordpress.org/support/users/maybellyne/)
 * Did the job according to the instructions. The problem is not solved.
 *  Plugin Support [Maybellyne](https://wordpress.org/support/users/maybellyne/)
 * (@maybellyne)
 * [4 years, 1 month ago](https://wordpress.org/support/topic/request-method-not-found/#post-15599804)
 * Thanks for the feedback.
 * 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 indexing
   them in the website database. Note that it is not a folder or file that you’ll
   find in your WordPress installation directory, so manually creating as well won’t
   even solve the problem.
 * 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
   to 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. You need to whitelist all
   the yoast.com and my.yoast.com URLs.
 * 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.
 *  Plugin Support [Michael Tiña](https://wordpress.org/support/users/mikes41720/)
 * (@mikes41720)
 * [4 years ago](https://wordpress.org/support/topic/request-method-not-found/#post-15620672)
 * Hi,
 * We’ll be closing this thread in order to keep the forum overview.
 * Thanks!

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

The topic ‘request method not found’ is closed to new replies.

 * ![](https://ps.w.org/wordpress-seo/assets/icon-256x256.gif?rev=3419908)
 * [Yoast SEO - Advanced SEO with real-time guidance and built-in AI](https://wordpress.org/plugins/wordpress-seo/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/wordpress-seo/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/wordpress-seo/)
 * [Active Topics](https://wordpress.org/support/plugin/wordpress-seo/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wordpress-seo/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wordpress-seo/reviews/)

## Tags

 * [english](https://wordpress.org/support/topic-tag/english/)

 * 4 replies
 * 3 participants
 * Last reply from: [Michael Tiña](https://wordpress.org/support/users/mikes41720/)
 * Last activity: [4 years ago](https://wordpress.org/support/topic/request-method-not-found/#post-15620672)
 * Status: resolved