Title: Post Type &#8211; Search Engine Exclude
Last modified: August 18, 2022

---

# Post Type – Search Engine Exclude

 *  Resolved [shenom](https://wordpress.org/support/users/shenom/)
 * (@shenom)
 * [3 years, 9 months ago](https://wordpress.org/support/topic/post-type-search-engine-exclude/)
 * Hi there.
 * Is it possible to set CPTs made with ACF Extended to ‘no index’ for SE? Is one
   or a combination of these settings (Public, Exclude from search, Publicly queryable)
   made for this or do I need an SEO plugin like RankMath?
 * Thx for any hint in advance!

Viewing 3 replies - 1 through 3 (of 3 total)

 *  [Joffrey Nicoloff](https://wordpress.org/support/users/agent3w/)
 * (@agent3w)
 * [3 years, 9 months ago](https://wordpress.org/support/topic/post-type-search-engine-exclude/#post-15931223)
 * Hi,
 * you can’t with ACF Extended settings.
 * As you said, you can use a SEO plugin (I’m using SEOPress that can do this kind
   of job).
 * Or add this kind of snippet :
 *     ```
       add_action( 'wp_head', function() {
         $post_type = get_post_type();
         if ( in_array( $post_type, [ 'cpt_1', 'cpt_2' ] ) {
           echo '<meta name="robots" content="noindex">';
         }
       }, 10 );
       ```
   
 * Google suggests to add robots.txt rules : [https://developers.google.com/search/docs/advanced/crawling/block-indexing](https://developers.google.com/search/docs/advanced/crawling/block-indexing)
 *  Plugin Author [Konrad Chmielewski](https://wordpress.org/support/users/hwk-fr/)
 * (@hwk-fr)
 * [3 years, 9 months ago](https://wordpress.org/support/topic/post-type-search-engine-exclude/#post-15936178)
 * Hello,
 * Thanks for the feedback!
 * As [@agent3w](https://wordpress.org/support/users/agent3w/) commented, this feature
   is not part of either the native [WordPress Post Types](https://developer.wordpress.org/reference/functions/register_post_type/)
   feature or ACF Extended.
 * Note that the ACF Extended Post Types module is simply an UI that use the native
   [`register_post_type()`](https://developer.wordpress.org/reference/functions/register_post_type/)
   behind the scene.
 * I would recommend to check for SEO plugins such as [SEO Press](https://wordpress.org/plugins/wp-seopress/)
   or [RankMath](https://wordpress.org/plugins/seo-by-rank-math/) for more control
   over SEO settings.
 * Hope it helps!
 * Have a nice day!
 * Regards.
 *  Thread Starter [shenom](https://wordpress.org/support/users/shenom/)
 * (@shenom)
 * [3 years, 9 months ago](https://wordpress.org/support/topic/post-type-search-engine-exclude/#post-15937420)
 * Hi guys.
 * Thanks a lot for taking Your time and clarify this!
 * I will use RankMath to get this done.
 * Best / Sascha

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘Post Type – Search Engine Exclude’ is closed to new replies.

 * ![](https://ps.w.org/acf-extended/assets/icon-256x256.png?rev=2071550)
 * [Advanced Custom Fields: Extended](https://wordpress.org/plugins/acf-extended/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/acf-extended/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/acf-extended/)
 * [Active Topics](https://wordpress.org/support/plugin/acf-extended/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/acf-extended/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/acf-extended/reviews/)

 * 3 replies
 * 3 participants
 * Last reply from: [shenom](https://wordpress.org/support/users/shenom/)
 * Last activity: [3 years, 9 months ago](https://wordpress.org/support/topic/post-type-search-engine-exclude/#post-15937420)
 * Status: resolved