Support » Plugin: Yoast SEO » Does noindexing a page/post hide it from WordPress internal search?

  • Resolved oxygensmith

    (@oxygensmith)


    Hey community,

    I was wondering if noindexing pages in Yoast also hides them from WordPress’ internal search as well as from search engines. Or, is a separate plugin or technique required to do this?

    If this isn’t available in the Yoast interface, is there a hook or array variable that allows me to capture Yoast’s index/noindex setting on a page? (ie something like “$post[‘yoast_no_index’]”) ?

    I haven’t seen any discussion around the Yoast plugin related to the internal search, so I wasn’t sure if I’m just missing the setting, or it is supposed to happen automatically when you set a page or post to noindex (doesn’t seem to be the case when I try it, though).

    So I thought that someone in the community might know! Thanks in advance.

    • This topic was modified 1 year, 8 months ago by oxygensmith.
Viewing 1 replies (of 1 total)
  • Plugin Support Md Mazedul Islam Khan

    (@mazedulislamkhan)

    Setting a post or page to noindex will only exclude it from the Yoast SEO generated XML sitemap and will add the noindex robots meta to the particular post or page. This means it won’t exclude the post or page from the WordPress internal search.

    You can take a look at our development repository in here to look for the necessary hooks that you are looking for.

Viewing 1 replies (of 1 total)
  • The topic ‘Does noindexing a page/post hide it from WordPress internal search?’ is closed to new replies.