Model your taxonomies the right way
If you already know what taxonomies you want in your project, it's time to give them life. This way you can tag your content items and assets, and boost your productivity.
Dive deeper into taxonomies
If you're completely new to taxonomies, go through our crash course on taxonomies where you'll learn about what a taxonomy is, what it's useful for, and how you can start using it.
Table of contents
- Need to find your assets and content items by tags? Use built-in taxonomy groups.
- Do your content creators need to manage the tags? Use linked content items.
Choose the taxonomy approach that works for you
You can create taxonomies in Kontent.ai using either the built-in taxonomies or linked items. The approach to choose depends on your requirements.
|Requirement||Built-in taxonomies||Linked items|
|Build a sitemap||✅||✅|
|Control who can edit the terms without access to content model||❌||✅|
|Enhance terms with contextual details like scope and definition||❌||✅|
|Find assets and content items by a term||✅||❌|
|Limit the number of terms to a range||✅||✅|
|Limit the number of terms to exactly one||✅||✅|
|Tag assets with a term||✅||❌|
|Tag content items with a term||✅||✅|
|Set the taxonomy terms as non-localizable||✅||✅|
|Use flat hierarchy (terms on the same level)||✅||✅|
|Use nested hierarchy (terms on different levels)||✅||❌|
Built-in taxonomies for flexibility and findability
The built-in taxonomy groups are the most intuitive and easiest approach to implement taxonomies in Kontent.ai. The benefits? You can tag items and assets, find the items and assets by your tags, and create complex nested taxonomies.
It takes three things: taxonomy group, taxonomy element in your content types, and tagging you content items.
1. Create a taxonomy group
- In Content model, select the Taxonomies tab.
- Create a taxonomy group for your taxonomy.
- Add taxonomy terms.
- Click Save changes.
Time to use that taxonomy group in an element.
2. Add a taxonomy element to content types
To enable tagging of content items, add a taxonomy element to any of your content types. We recommend you limit the element to a specific number of terms for added validation.
Add content groups to keep focus
- For a better authoring experience, put the taxonomy element in a content group.
- To restrict certain users from tagging, limit the content group to a specific user role.
To enable tagging of assets, add a taxonomy element to the asset type. Asset tagging requires advanced asset management.
3. Tag items and assets
With asset elements in place, start tagging your content. Check out how to tag content items and tag assets.
Linked items for permissions and added context
If you need to add extra contextual details to your taxonomies and let content creators update them, you need to implement your taxonomy using linked items.
It takes a few things: a content type that defines your taxonomy, content items based on the type that define the taxonomy terms, and linked items elements in the items you want to tag.
Let's take a look at an example of a taxonomy for tagging educational content.
1. Create a content type for the taxonomy
- In Content model, click Create new.
- In Content type name, type a name such as Humanities.
- (Optional) Add guidelines elements to explain the taxonomy and tell content creators how to use it correctly.
- (Optional) Add a rich text element so that content creators can include information about taxonomy definition and scope.
- Click Save changes.
Time to create content items based on the new content type. These items will define your taxonomy terms.
2. Create content items for taxonomy terms
- In Content & assets, click Create new in the upper right corner.
- Select a content type such as Humanities created earlier.
- Click Create.
- In Content item name, type a name of the item such as Philosophy.
- (Optional) Add details about the term you just defined.
- Repeat steps 1 to 5 as needed.
3. Add linked items element for linking the terms
Make a list of the types of content you want to tag. Then follow these steps for each type:
- In Content model, open a content type such as Article.
- Add a linked items element.
- Give the element a name such as Subject.
- Limit the element to the types of content used for tagging such as Humanities.
- (Optional) If you want to limit the number of terms to select, limit the number of allowed linked items.
- Click Save changes.
Now you can start tagging your articles. Open each content item and link the item with the appropriate term in the Subject element.
- Use the ø Not in filter to quickly find and filter untagged content. Be consistent with your content tagging.
- Use taxonomies to create releases and publish the right content at the right time.
- Set up role permissions to define what users can do in your project. You can restrict the taxonomies to specific roles.
- Use a taxonomy to build a sitemap for better SEO.