Where does Yoast store noindex options?
-
I want to noindex a large list of pages on our website from search. The bulk function is not an option as these posts have already been identified and we have a list of URLs and corresponding Post IDs.
I want the system to ingest this large list of Post IDs (i.e. from CSV) and then use
wpseo_robots
addfilter to modify all of the posts it matches with to noindex in the meta robots HTML declaration. There is about 20K of them.I’m fairly sure that Yoast stores the value for setting a page to be noindex in a meta key within the wp_postmeta table. I logged into phpmyadmin and I can’t see where this is. I am expecting to see
_yoast_wpseo_robots_noindex
meta key but I am unable to see it.
Is it hidden/obscured from view in phpmyadmin?I just want to know where the noindex boolean value is stored. Because we want to be able to write a script to set the value for 20K pages to noindex the most easiest and persistent way possible. Using the already existing WP admin UI is obviously not an option. Can it be done by leveraging the
wpseo_robots
addfilter and is it persistent in the database?
- The topic ‘Where does Yoast store noindex options?’ is closed to new replies.