Hi - This is related to a support thread that was closed ....
https://toolset.com/forums/topic/unwanted-taxonomy-pages/
The solution provided in that thread worked for a while, but it does not seem to any more. As an example, in the taxonomy "surfaces" that I created with Toolset, I have the Rewrite option turned off. I also have the "query_var" option turned off. However, the archive still exists and it still exists in the XML map. The archive can be seen here hidden link I have uploaded screenshots of the Toolset Taxonomy Settings and a screenshot of the stitemap. Please help.
Thank you in advance,
Mark
Hello,
For the Screenshot:
https://toolset.com/wp-content/uploads/2020/01/1447453-2020_01_08_15_37_07.jpg
The sitemap_xml is created with another plugin: yoast SEO,
If it is, please follow their document to exclude the custom taxonomy "surfaces" From Yoast SEO Sitemap:
hidden link
Taxonomies
Filter: wpseo_sitemap_exclude_taxonomy
To disable the custom taxonomy archive page, there isn't such kind of built-in feature within Types plugin, it needs custom codes. you can setup yourself with a little custom code, for example here:
hidden link
Thank you.
Is there also a way to to excluded CPTs from the internal WordPress Search?
You can edit your custom post type, and enable the option "exclude_from_search", more help:
https://codex.wordpress.org/Function_Reference/register_post_type#exclude_from_search