Title: couldn&#8217;t complete the optimization
Last modified: December 30, 2020

---

# couldn’t complete the optimization

 *  Resolved [malhyp9](https://wordpress.org/support/users/malhyp9/)
 * (@malhyp9)
 * [5 years, 5 months ago](https://wordpress.org/support/topic/couldnt-complete-the-optimization/)
 * HI there, under tools there is an option to optimize data, when running it we
   always get the following message, any suggestions on how to resolve this?
 * Oops, something has gone wrong and we couldn’t complete the optimization of your
   SEO data. Please click the button again to re-start the process.
 * We have the premium version and woocommerce addon.

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

 *  [Rumejan](https://wordpress.org/support/users/onlyincebu/)
 * (@onlyincebu)
 * [5 years, 5 months ago](https://wordpress.org/support/topic/couldnt-complete-the-optimization/#post-13847990)
 * Hello!
 * Can you please perform the following and see if it resolves the issue?
    1. Install & activate the [Yoast Test Helper plugin](https://wordpress.org/plugins/yoast-test-helper/)
    2. Go to your WordPress admin dashboard > Tools (sidebar) > Yoast Test
    3. Locate the Yoast SEO section and select the ‘Reset Internal link counter’, ‘
       Reset Prominent words calculation’, and ‘Reset Indexables tables & migrations’
       buttons
    4. After resetting, go to the WordPress admin dashboard > SEO (sidebar) > Tools
       section and click the ‘Start SEO data optimization’ button
 *  Thread Starter [malhyp9](https://wordpress.org/support/users/malhyp9/)
 * (@malhyp9)
 * [5 years, 5 months ago](https://wordpress.org/support/topic/couldnt-complete-the-optimization/#post-13848047)
 * Rumejan thanks for your help, that seems to have allowed me to run the optimisation
   tool, thank you.
 *  Thread Starter [malhyp9](https://wordpress.org/support/users/malhyp9/)
 * (@malhyp9)
 * [5 years, 5 months ago](https://wordpress.org/support/topic/couldnt-complete-the-optimization/#post-13848051)
 * Rumejan can I also ask, when submitting the XML sitemap to google, do we only
   submit the one main sitemap? Eg /sitemap_index.xml or do we also submit all of
   the sitemaps that are in the /sitemap_index.xml link?
 *  Thread Starter [malhyp9](https://wordpress.org/support/users/malhyp9/)
 * (@malhyp9)
 * [5 years, 5 months ago](https://wordpress.org/support/topic/couldnt-complete-the-optimization/#post-13848062)
 * also we followed your suggestion, this time it runs but gets about 40% of the
   way through and it bombs out, with the following message each time.
 * Oops, something has gone wrong and we couldn’t complete the optimization of your
   SEO data. Please click the button again to re-start the process.
 *  [Rumejan](https://wordpress.org/support/users/onlyincebu/)
 * (@onlyincebu)
 * [5 years, 5 months ago](https://wordpress.org/support/topic/couldnt-complete-the-optimization/#post-13848075)
 * Glad to know that resolved the issue. As for your other concern, please create
   a new thread for easier tracking.
 *  [Rumejan](https://wordpress.org/support/users/onlyincebu/)
 * (@onlyincebu)
 * [5 years, 5 months ago](https://wordpress.org/support/topic/couldnt-complete-the-optimization/#post-13848131)
 * Sorry, I missed your last message. Can you please check if there are Javascript
   errors on your browser’s console? Please follow the steps [here](https://yoast.com/help/how-to-find-javascript-errors-with-your-browsers-console/).
   If you found errors, please send us a screenshot.
 *  Thread Starter [malhyp9](https://wordpress.org/support/users/malhyp9/)
 * (@malhyp9)
 * [5 years, 5 months ago](https://wordpress.org/support/topic/couldnt-complete-the-optimization/#post-13848193)
 * Thanks for your help, yes found one, resolved and it works now 🙂
 *  [Rumejan](https://wordpress.org/support/users/onlyincebu/)
 * (@onlyincebu)
 * [5 years, 5 months ago](https://wordpress.org/support/topic/couldnt-complete-the-optimization/#post-13848227)
 * You’re welcome. 🙂

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

The topic ‘couldn’t complete the optimization’ 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/)

 * 8 replies
 * 2 participants
 * Last reply from: [Rumejan](https://wordpress.org/support/users/onlyincebu/)
 * Last activity: [5 years, 5 months ago](https://wordpress.org/support/topic/couldnt-complete-the-optimization/#post-13848227)
 * Status: resolved