Title: Setting specific pages to (no)index programatically
Last modified: December 5, 2024

---

# Setting specific pages to (no)index programatically

 *  [dave.ooo](https://wordpress.org/support/users/crossy/)
 * (@crossy)
 * [1 year, 6 months ago](https://wordpress.org/support/topic/setting-specific-pages-to-noindex-programatically/)
 * Hi there,
   I’m trying to programatically add noindex to some CTP single pages 
   based on an ACF field value. This way I don’t have to rely on a random editor
   having to select the correct settings.I noticed this topic: [https://wordpress.org/support/topic/when-does-the_seo_framework_robots_meta_array-run/](https://wordpress.org/support/topic/when-does-the_seo_framework_robots_meta_array-run/)–
   is there anything else we can use to accomplish this?Best,Dave

The topic ‘Setting specific pages to (no)index programatically’ is closed to new
replies.

 * ![](https://ps.w.org/autodescription/assets/icon.svg?rev=3000376)
 * [The SEO Framework – Fast, Automated, Effortless.](https://wordpress.org/plugins/autodescription/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/autodescription/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/autodescription/)
 * [Active Topics](https://wordpress.org/support/plugin/autodescription/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/autodescription/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/autodescription/reviews/)

## Tags

 * [noindex](https://wordpress.org/support/topic-tag/noindex/)

 * 0 replies
 * 1 participant
 * Last reply from: [dave.ooo](https://wordpress.org/support/users/crossy/)
 * Last activity: [1 year, 6 months ago](https://wordpress.org/support/topic/setting-specific-pages-to-noindex-programatically/)
 * Status: not resolved