Skip to content Skip to footer navigation
🏰 Statamic Summit 2027 Feb 16–19 Talks, workshops, and three nights in a German castle. Get Tickets

Slug Fieldtype

A text field that has the ability to automatically "slugify" the value of any other string field to create-your-very-own-lowercase-without-spaces string of your own. This is primarily used to create a entry URL slugs based on the title field of that same entry.

Screenshot of Slug Screenshot of Slug
The Slug Fieldtype in action!

Options

from

string

Target field to automatically create a slug from. Default: title

generate

boolean

Whether to generate the slug automatically. Default: true