Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

TYPO3 9.5 LTS - Automatic (re)generation of URL Segments?

I have deleted all Slugs in my DB in hope that they regenerates automatically - but they dont!

Is there any way to trigger the regeneration? When upgrading from TYPO3 < 9 the get initially generated - but how?

Thanks for helping :)

like image 943
Naderio Avatar asked Nov 29 '22 06:11

Naderio


1 Answers

You can go to Upgrade > Run Upgrade Wizard and mark the wizard Introduce URL parts ("slugs") to all existing pages as undone.

Afterwards you can run this wizard and have the slug field filled for all pages again. Notice that this wizard only processes pages with an empty slug field. If you want to have all existing pages processed execute an SQL query like this:

UPDATE `pages` SET `slug` = NULL;
like image 175
Mathias Brodala Avatar answered Nov 30 '22 22:11

Mathias Brodala