Maintenance
On this page
Slugs
Tourist attractions, trails, towns and categories carry a slug: the URL segment of detail pages and of list filters, see Routing. Records created in the backend or by an import get their slug from their title. A slug never changes afterwards, also not when the title changes upstream, so URLs stay stable.
Records without a slug, for example those that existed before the slug columns, get one from the upgrade wizard ThueCat: Fill empty slugs of detail and filter records:
-
Update the database schema, so the slug columns exist:
vendor/bin/typo3 extension:setupCopied! -
Run the wizard, in the Install Tool under Upgrade > Upgrade Wizard, or on the console:
vendor/bin/typo3 upgrade:run thuecat_detailRecordSlugsCopied! -
Flush the caches. The wizard writes the slugs directly, without the DataHandler, so no cache is flushed per record:
vendor/bin/typo3 cache:flushCopied!
The wizard fills every empty slug, per record and language, and leaves existing slugs untouched. It covers every detail record kind, including those other packages register, see Detail record kinds.
The wizard is repeatable: it is offered again whenever a record without a slug exists, for example after a release that adds a slug column to another table.