You can hide a category from the table of contents, landing pages, article lists (certain categories only), and breadcrumbs. This can be useful for Sharing "draft" articles before making them publicly available, or having resources you only want to direct people to by URL.
To alter a category's restrictions:
- Open the category to edit it.
- Select the restrictions you want from the Content Restrictions menu. Different category types have different restrictions options, and the options also vary depending on whether the category is a subcategory or top level category.
- Select Save.
Content restriction options
This list describes all the possible restriction options and their behavior. The table below shows which restrictions are available to each category type.
- Exclude from search results: users cannot find the category through the knowledge base search.
- Hide from table of contents: category does not appear in the table of contents or the Contextual Help Widget (2.0) Knowledge tab
- Hide from home page: category is not listed on the homepage.
- Hide from parent category landing page: category is not listed on the parent category's landing page.
- Hide from article lists: category does not appear on the home page or the Popular, New, and Updated article lists. This does not affect the Recent Articles List.
- This setting will also remove the article from the Recommended section of Contextual Help Widget (Modern).
- Remove "Download to PDF" icon: prevent readers from downloading this category as PDF.
- Remove feedback ability: disable ratings on this category, even if they are enabled for the knowledge base overall.
- Remove comment ability: disable comments on this category, even if they are enabled for the knowledge base overall.
|Category type||Subcategory?||Available options|
Articles within restricted categories
Articles do not inherit category restrictions, and you may need to take more steps to fully hide a category and all its contents, or to hide individual articles.
- Articles inside a hidden category (one that is hidden from the table of contents, parent pages and so on), are still available in search. Refer to Exclude a category and all its content from search results for guidance on completely removing a category from search.
- If you want to hide articles inside a category, you can:
- Mark individual articles as "Hide from table of contents", "Hide from category landing page", and "Hide from article lists" (and/or "Exclude from search results"). If you're trying to hide all articles in a category, you'd need to change this setting for all articles individually.
- Create a reader group called something like Hidden and restrict the category to this reader group. This effectively hides the category and all its content from anyone who is not a member of that reader group. See How do reader groups work? for more information on working with reader groups.
Sometimes, you need to restrict content to certain groups of readers. For example, you may want some content in your knowledge base to only be available to people at your company, while wanting other sections to be public.
To restrict a category or sub-category to certain readers, refer to the instructions in the reader group documentation:
- First, create a reader group.
- Then restrict the category to the reader group. When a category or sub-category is restricted to a reader group, only readers who are part of the group can access the category.
Reader group restrictions are inherited by sub-categories and articles, meaning that if you apply a reader group to a category, the same permissions also apply to any content inside the category. This means that if you want to restrict everything inside a category, you only need to set the reader group restrictions on the category, and KnowledgeOwl automatically applies the same restrictions to the content inside the category.
Have you ever wished you could exclude an entire category's contents from search, all at once? Maybe you have a category where you include content specific to particular customers, where you provide them a URL and otherwise hide that category from search and navigation. Or, you might have a category you use for Internal Reviews, where you publish things that are in-progress to get feedback from subject matter experts, but you don't ever want your general readership to find those resources.
Search result exclusions are usually set in individual articles. They don't get passed from the category to the articles.
So, for example, if I have a category called Enterprise Resources, and it contains subcategories for each of my enterprise customers, I'd have to manually set each individual article to be excluded from search:
- Enterprise Resources
- Customer 1
- Article 1 (exclude from search)
- Article 2 (exclude from search)
- Customer 2
- Article 3 (exclude from search)
- Article 4 (exclude from search)
- Customer 1
Excluding content from search this way can be inconsistent, since it depends on your content creators to remember to check the box in each article or for you to create a reader group restriction.
In the Search Settings, you can fully exclude a single category and all of its content from search results. When you use this option, it automatically excludes from search:
- All articles directly within the category
- The main category (if it's topic display or custom content, which are indexed for search)
- All topic display or custom content subcategories
- All articles in the category's subcategories
So, in the above example, if I set my Customer 1 category to be hidden from search, Article 1 and Article 2 would be automatically hidden, even if I didn't check that option in the articles themselves.
If I set Enterprise Resources category to be hidden from search, all four articles would be hidden from search, as would any future articles created for additional customers.
Exclude a full category from search
To exclude a category and all its content from search:
- Go to Settings > Search.
- Next to Excluded category, select the gear icon:
- In the pop-up that appears, start typing the name of the category you want to exclude. You'll get an autosuggested list as you type. Click the category you want to select.
- Then select Exclude Category.
- Once you've made your selection, click Save to save your changes.
All of the content in that category is now excluded from search.