Skip Navigation

[Resolved] Unwanted taxonomy pages

This support ticket is created 4 years, 3 months ago. There's a good chance that you are reading advice that it now obsolete.

This is the technical support forum for Toolset - a suite of plugins for developing WordPress sites without writing PHP.

Everyone can read this forum, but only Toolset clients can post in it. Toolset support works 6 days per week, 19 hours per day.

Sun Mon Tue Wed Thu Fri Sat
- 9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 -
- 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 -

Supporter timezone: Asia/Hong_Kong (GMT+08:00)

This topic contains 3 replies, has 2 voices.

Last updated by Luo Yang 4 years, 3 months ago.

Assisted by: Luo Yang.

Author
Posts
#1447453
2020-01-08_15-38-38.jpg
2020-01-08_15-37-07.jpg

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

#1448289

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

#1449311

Thank you.

Is there also a way to to excluded CPTs from the internal WordPress Search?

#1449961

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

This ticket is now closed. If you're a WPML client and need related help, please open a new support ticket.