statamic / ideas

💡Discussions on ideas and feature requests for Statamic
https://statamic.dev
31 stars 1 forks source link

Disable routing for taxonomies #1145

Closed bogaertmi closed 1 week ago

bogaertmi commented 6 months ago

Would it be possible to expose an option to disable the taxonomy routes. Preferable with the option to still keep slugs, for usage with eg. indexing for search.

To be able to hide the “visit url” & “live preview” buttons in the taxonomy term in the CMS.

Currently have to overload the Statamic/Taxonomies/LocalizedTerm.php class for the function "route" to achieve this.

Thanks!

ryanmitchell commented 5 months ago

Seems like this could be easily done if/when https://github.com/statamic/cms/pull/8627 merges, then similar to collections when there are no routes these buttons disappear?

duncanmcclean commented 1 week ago

Closed by #10789, which'll be included in the next release.