Hello Deepak,
I’m sorry you couldn’t complete the SEO data optimization. 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. We know that resetting the data may sound intimidating, but our How to reset the Yoast indexables guide will walk you through the process step by step. We’ve also summarized the steps below.
- Install & activate the Yoast Test Helper plugin
- Go to Tools > Yoast Test
- 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.
- 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
Deepak
(@d88pak)
Hi,
I followed the instructions. However, it stops with the same blank error message I have previously mentioned.
If you can suggest any other options to try out, please let me know
Thanks!
Please try the suggestions again. As soon as you get the error, while you’re on the SEO Data Optimization screen, please check if there are Javascript errors on your browser’s console? You may follow the steps here – https://yoast.com/help/how-to-find-javascript-errors-with-your-browsers-console/
Thread Starter
Deepak
(@d88pak)
Hi @maybellyne ,
I followed your instructions and watch the concole. I am getting Gateway Timeout
Following are the messages
POST https://www.mysite.com/wp-json/yoast/v1/link-indexing/posts 504 (Gateway Timeout) /wp-content/plugins/wordpress-seo/js/dist/indexation.js?ver=06817d20ccce29675844
[email protected]?ver=06817d2…:8
[email protected]?ver=06817d2…:8
await in doIndexing (async)
[email protected]?ver=06817d2…:8
If these message makes sense, please help me
Seems like something is running at server end for too long
Thanks!
-
This reply was modified 1 year, 11 months ago by
Deepak.
Thanks for sharing the console errors; it’s helpful. The SEO data optimization feature uses the WordPress REST API to scan posts/pages for the right internal links to show. Your server returned a 500 error when accessing the REST API.
Please contact your web host to review your server setup to determine why the REST API returns the error. There may be a server setting or module that needs to be adjusted such as mod_security. If you are using security plugins they can block access to /wp-json/yoast/ file pathway. You may need to contact them or your host provider and whitelist that URL. Once the server no longer returns the error, we would expect the SEO Data feature to load and work correctly.
In addition, you may also need to adjust cache settings of your site to remove /wp-json/yoast from the caching. If you are not sure how to do that please contact your host provider and/or caching plugin authors.
Thread Starter
Deepak
(@d88pak)
Hi @maybellyne,
There is nothing that blocks the API as far as I am concerned.
If I reset from Yoast helper, It restarts the SEO data optimization from beginning. It gets stuck on one point.
When I tried to continue from there, I get the following message on the console
admin.php?page=wpseo_tools:105 Refused to create a worker from 'blob:https://www.mysite.com/76a0163c-be38-4ca9-8ddf-69fa72ff7915' because it violates the following Content Security Policy directive: "default-src * data: 'unsafe-eval' 'unsafe-inline'". Note that 'worker-src' was not explicitly set, so 'default-src' is used as a fallback. Note that '*' matches only URLs with network schemes ('http', 'https', 'ws', 'wss'), or URLs whose scheme matches self's scheme. The scheme 'blob:' must be added explicitly.
(anonymous) @ admin.php?page=wpseo_tools:105
Could this be other issue?
Thanks!
Thread Starter
Deepak
(@d88pak)
Sorry, the earlier console error may not be related.
I noticed that it stops with 404 on this URL
https://www.mysite.com/wp-admin/true?plugin_version=22.8&site=https%3A%2F%2Fwww.mysite.com
What could be causing this?
Thanks!
-
This reply was modified 1 year, 11 months ago by
Deepak.
We’d have to investigate further on this as it could be something specific to your setup, but we are unable to do so over these public forums. You might want to consider Yoast SEO Premium for personal premium support so we can take a closer look at this.