Is there a way to change the slug so that it reflects its content type?

2 replies
Last updated: Oct 28, 2020
Hi all! Is there a way to change the slug so that it reflects its content type? Like a project has slug
/projects/the-title-of-the-project/
and a blog post has slug
/blog/title-of-the-article/
.
Oct 28, 2020, 10:28 AM
Thx Igor!
Oct 28, 2020, 12:35 PM

Sanity – Build the way you think, not the way your CMS thinks

Sanity is the developer-first content operating system that gives you complete control. Schema-as-code, GROQ queries, and real-time APIs mean no more workarounds or waiting for deployments. Free to start, scale as you grow.

Was this answer helpful?