Skip to content

Slug Field

A URL segment derived from another field. Two triggers sit at the right edge of the input: a lock and a refresh.

Settings:

SettingWhat it does
Slug fromThe field the value is derived from
SeparatorWhat joins the words — - by default

Typing in the source field regenerates the slug as you go. Refresh recomputes it on demand. Lock freezes the value, so later edits to the source stop touching it — useful once a page is published and its address must not move.

Transliteration is MODX's own (resource/translit), so a slug here comes out the same as a resource alias would on the same site, with the same transliteration service and the same rules.

Only text fields can be the source

The Slug from list is filtered to fields of type Text. A textarea or a rich text field will not appear in it, even when it holds a perfectly good title.

© PageBlocks 2019-present