Skip to content

Instantly share code, notes, and snippets.

@gr1zix
Last active September 22, 2024 20:25
Show Gist options
  • Save gr1zix/4f0c5f72e0161ffa7c57be40857f2e75 to your computer and use it in GitHub Desktop.
Save gr1zix/4f0c5f72e0161ffa7c57be40857f2e75 to your computer and use it in GitHub Desktop.
Yoast: Reset Index Tables

How to reset the Yoast indexables Source

  • Go to Add new plugin and install Yoast Test Helper
  • Next, go to Tools > Yoast Test and click on Reset Indaxable tables & migrations
  • Then go to Yoast > Tools and press Start SEO data optimization
    • If Start SEO data optimization button in not active needed add to wp-config.php file constant define( 'WP_ENVIRONMENT_TYPE', 'production' ); Source

Cases when I used it:

  • When Breadcrumbs and JSON-LD generation not added taxonomy (category) to the list;
  • When I changed the category taxonomy slug to categories and it was added to breadcrumbs and JSON-LD with domain.com/category/abc;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment