Asbjørn Nessasbjorn.hashnode.dev·Jul 10, 2024Generate URL slugs on existing posts in SanitySlugify existing posts using Sanity CLI. Run using sanity exec slug.js --with-user-token. The following script was used for my film diary Filmdagbok to regenerate slugs including both title and year for all posts, after they had been imported. The po...Sanity Add a thoughtful commentNo comments yetBe the first to start the conversation.