Featured articles not using a 'slug' to create link

I have a "featured articles" slice, which automagically provides the ability to search articles and link to relevant articles.

The link that is created is not SEO friendly, in that the category is given in full, as opposed to a slug... eg: domain/History Hub/relevant-article.html, which ends up as domain/history%20hub/relevant-article.html.

Elsewhere on our Prismic pages, we match up those long-form category names, and have a match in this case to an even shorter slug of history.

How should I customize the featured articles slice, so that it can provide SEO-friendly links to relevant articles?

thanks

Hi @lgreen,

Thanks for reaching out.

I'm checking with my team and I will get back as soon as possible.

Best,
Fares

Hi,

Well, I think it is not a good idea to have a space in the URL such as

domain/History Hub/relevant-article.html

Instead, in a navigation tab to can have a page slug where words can be separated by - for example, here is how we do in our documentations:

Please let me know if you have further questions.