Skip to content

Categories ​

/dashboard/settings/categories

Categories classify uploaded files. Each category gets its own listing page at /category/<url_key>, showing the public files in that category.

Explore required

Categories won't work when Explore is turned off. With Explore turned off, category pages return 404.

Creating categories ​

Click on Create category, fill in the category values and submit.

The number of categories can be limited with the CHEVERETO_MAX_CATEGORIES environment variable. The default 0 means no limit.

Editing categories ​

Click on a category to edit its values. Changing the URL key changes the category page URL, so links to the old URL will stop working.

Deleting categories ​

Click on Delete next to the category. Files in the deleted category are kept, but they no longer have a category.

Category values ​

Name ​

The name for the category, shown in the category selector and used as the category page title.

TypeAccepted
StringRequired, maxlength 32

URL key ​

The URL key (path component) for the category page, as in /category/<url_key>. For better SEO, use hyphens (-) instead of underscores (_).

TypeAccepted
StringRequired, maxlength 32, letters, numbers, hyphens and underscores

URL keys must be unique and are case-sensitive: Animals and animals are different keys.

Description ​

A brief description about the category. It will be used in the <meta name="description"> tag for the category page.

TypeAccepted
StringOptional, any

Stop words

When stop words are enabled (CHEVERETO_ENABLE_STOPWORDS), name, URL key and description are checked against the stop words list. A value with stop words is rejected.

Released under the Apache-2.0 License.