[3.x]: Rebuild all slugs using entry title #11179
Answered
by
brandonkelly
development-lameco
asked this question in
Q&A
-
Is there a way to rebuild/regenerate all slugs using the entry title? |
Beta Was this translation helpful? Give feedback.
Answered by
brandonkelly
May 10, 2022
Replies: 1 comment 1 reply
-
Yes, you can do this with the resave console command: php craft resave/entries --set slug --to :empty: (When the slugs are set to an empty value, they will automatically get regenerated based on the title.) |
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
development-lameco
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Yes, you can do this with the resave console command:
(When the slugs are set to an empty value, they will automatically get regenerated based on the title.)