Closed monbauza closed 5 years ago
Please inform the customer of conversation # 475729 when this conversation has been closed.
Bug confirmed. Seems like the normal keyphrase gets saved as a single instance with which quotes do not break. The related keyphrases get saved in the database as json arrays and break on double quotes:
Description of the problem
In this post, we explain that Yoast SEO filters function words by default and that you can force an exact match result by adding your focus keyphrase in quotes, i.e. "The Who". This works fine with the (main) focus keyphrase, however, when the quotes are used in related keyphrases, the error below appears in the browser's console. After saving the post, the related keyphrases are no longer shown in the Yoast metabox.
Note: Once the problem occurs, the WordPress database needs to be edited to fix it (in particular, the
_yoast_wpseo_focuskeywords
field in thewp_postmeta
table)How can we reproduce this behavior?
Technical info