Adding yoast meta to Woocommerce product via API
-
Goodmorning,
i’m creating an integration software between the company’s management software and my e-commerce based on Woocommerce.I’m using this metadata on each product to add my yoast keyword and description:
“meta_data”: [
{ “key”: “_yoast_wpseo_primary_product_cat”, “value”: ” },
{ “key”: “_yoast_wpseo_focuskw”, “value”: my_kw },
{ “key”: “_yoast_wpseo_metadesc”, “value”: my_metadesc},
{ “key”: “_yoast_wpseo_linkdex”, “value”: ‘linkdex’ },
{ “key”: “_yoast_wpseo_content_score”, “value”: ‘score’ },
{ “key”: “_yoast_wpseo_estimated-reading-time-minutes”, “value”: ‘time’ },`It seems work, but on the products page, the red/yellow/green light of SEO score is off(gray),but when i try to edit the product i could find the right keyword and description later saving the products also the score light work.
I would like to know if also without the SEO score my product are optimized as well with keyword and description, or otherwise how to make it work
Hope i’ve been clear, if not please tell me, thanks in advance!
- The topic ‘Adding yoast meta to Woocommerce product via API’ is closed to new replies.