| 开发者 | rimbeplus |
|---|---|
| 更新时间 | 2026年10月18日 12:06 |
| PHP版本: | 8.0 及以上 |
| WordPress版本: | 7.1 |
| 版权: | GPLv2 or later |
| 版权网址: | 版权信息 |
wp_robots filter (5.7+), which merges every plugin's robots directives into a single tag, instead of printing a competing <meta name="robots"> of its own.pre_get_posts to remove excluded posts (and, optionally, entire excluded post types) from the public search query, and into wp_robots to add noindex for posts or post types marked for it./wp-json/wp/v2/search) is not filtered in this version — only the front-end s= search query is affected.beplus-search-visibility folder to /wp-content/plugins/.No. The post stays published and visible everywhere — homepage, archives, RSS, direct link. It's only left out of the results when someone uses your site's search.
No. Excluding a post only affects the public front-end search. Editors can still find and manage excluded posts normally from the wp-admin post list.
Yes. Go to Settings > Search Visibility and add the post type to the "Exclude entire post type from search" list.
Yes, the Search Visibility metabox works in both.
No. It adds noindex through WordPress core's wp_robots filter, which combines every plugin's robots directives into one <meta name="robots"> tag rather than each plugin printing its own — so it merges cleanly with whatever your SEO plugin outputs.
Yes, from WordPress core's built-in sitemap (/wp-sitemap.xml). If you use the sitemap from another SEO plugin such as Yoast or Rank Math, exclude the posts there too, since those plugins generate their own sitemap.
No, they're independent. Excluding from search only hides a post from your own site's search box; the post can still be indexed by Google. Noindex asks search engines not to index the post at all; it's still included in your site's own search unless you also check the search-exclude box.
post_type=any.wp_robots filter so it merges cleanly with other SEO plugins instead of competing with them.