These docs are for v3.2. Click to read the latest docs for v5.0.

Discussions

Ask a Question
Back to All

Is there a way to remove the "id" from Context.DetailUrl?

I'm using razor templates for a multi items module and everything works great, but the DetailUrl looks like mysite.com/blog/id/8/my-article-slug. Is there an easy way to turn this into mysite.com/blog/my-article-slug ?

In the manifest I've specified {{Seo.Slug}} but this still keeps id/ in the detail URL. I appreciate any help on this, thanks!