[Feature Request] Make an option to reset the text link counter to zero and redo analysis
It would be useful to have an easy way to reset the link counter to zero and re-do the link count again, in cases where there are changes to a site's domain, changes to articles,etc.
This can be useful in case a site's domain changes or if changes are made without using the hooks that trigger our text link counter to update, for example on imports.
Please inform the customer of conversation # 222468 when this conversation has been closed.
Let's do this, seems easy enough.
I desperately needed this so I ended up reverse engineering the code. Basically this removes the cached information from the database and so YOAST offers to count things again.
I did a backup of my database before playing around with this, so please do the same!
In the queries below you need to replace PREFIX with your database prefix.
-- RESET INTERNAL LINKING
DELETE FROM `PREFIX_postmeta` WHERE meta_key = '_yst_prominent_words_version';
-- RESET TEXT LINK COUNTER
TRUNCATE TABLE `PREFIX_yoast_seo_links`;
TRUNCATE TABLE `PREFIX_yoast_seo_meta`;
Please inform the customer of conversation # 356140 when this conversation has been closed.
Please inform the customer of conversation # 412453 when this conversation has been closed.
Please inform the customer of conversation # 571437 when this conversation has been closed.
I desperately needed this so I ended up reverse engineering the code. Basically this removes the cached information from the database and so YOAST offers to count things again.
I did a backup of my database before playing around with this, so please do the same!
In the queries below you need to replace PREFIX with your database prefix.
-- RESET INTERNAL LINKING DELETE FROM `PREFIX_postmeta` WHERE meta_key = '_yst_prominent_words_version'; -- RESET TEXT LINK COUNTER TRUNCATE TABLE `PREFIX_yoast_seo_links`; TRUNCATE TABLE `PREFIX_yoast_seo_meta`;
Thanks, this is very useful info.
This functionality has been built in to the Yoast Test Helper Plugin. Closing this issue.