• Resolved carloswedev

    (@carloswedev)


    Hi, i created a snippets that updates all my products focus keyword, from a table value, it is updating the post meta and wp_yoast_indexable as i need, the problem i’m facing is in the product table in wp-admin panel, the yoast classification seo and legibility for every product turned gray, only if i open the product and “update” in wordpress admin panel it turn green or red.
    Is there any way for me programmatically update that rating for every product ?

Viewing 5 replies - 1 through 5 (of 5 total)
  • Thread Starter carloswedev

    (@carloswedev)

    just to clarify my request.

    i want to update/reload the lights given by YOAST SEO in every products form woocommerce, in this page /wp-admin/edit.php?post_type=product, the commom wordpress/woocommerce table for the admin

    Plugin Support devnihil

    (@devnihil)

    @carloswedev We are sorry that you’re having trouble with the SEO analysis.

    The grey dots are for the SEO Score and they usually appear as grey when you have not selected a focus keyphrase yet. For the pages where this is occurring, did you confirm for the affected pages you have at least one focus keyword set for the page?

    As for bulk updating the pages, you might be able to accomplish that by using the bulk editor feature by selecting all the products from the products overview page, choosing ‘Edit’ from the Bulk Actions menu, clicking ‘Apply’ and then in the pop-up window clicking ‘Update’ (without making any actual changes).

    Thread Starter carloswedev

    (@carloswedev)

    Thanks for your reply @devnihil ,
    unfortunately your solutions doesn’t work, an the focus keyword field on the products i have tried, is filled as i need it to be.
    Keep on the good work, be safe!

    Jeroen Rotty

    (@jeroenrotty)

    Hey @carloswedev,

    I’m sorry to hear that didn’t work. However, please note that the relevant SEO/readability analysis only runs when you are on the post/page/product editing screen. This analysis is built in Javascript and runs while you are editing/writing your content.

    If you need to do this programmatically for hundreds of products, maybe a solution would be to programmatically go over each item in your content type of choice in a headless browser, which for instance you can do with Chrome: https://developer.chrome.com/blog/headless-chrome/ & https://github.com/puppeteer/puppeteer. Please note however that we can’t give you support on writing this, but this should help you getting started.

    Thread Starter carloswedev

    (@carloswedev)

    Thanks @devnihil and @jeroenrotty for your time!

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘SEO Classification update/reload’ is closed to new replies.