# UniqueSlug multiple field not found

**URL:** https://discourse.getcockpit.com/t/uniqueslug-multiple-field-not-found/1269
**Category:** Support
**Created:** [March 17, 2020, 11:05am UTC](https://discourse.getcockpit.com/t/uniqueslug-multiple-field-not-found/1269 "2020-03-17T11:05:43Z")
**Posts on this page:** 5
**Page:** 1

<div class="post-metadata">

### Author: ![alessandro92](https://avatars.discourse-cdn.com/v4/letter/a/0ea827/32.png) [@alessandro92](https://discourse.getcockpit.com/u/alessandro92)
#### Post date: [March 17, 2020, 11:05am UTC](https://discourse.getcockpit.com/t/uniqueslug-multiple-field-not-found/1269/1 "2020-03-17T11:05:43Z")

</div>

Hello to all,  
i am trying to have a slug with multiple fields.

When I save my entry the slug is generated only with the first field “client” ignoring the field “project-name”

Am I wrong?  
I am new with cockpit.

Thanks for the support

 ![Annotazione 2020-03-17 120147](https://canada1.discourse-cdn.com/flex030/uploads/getcockpit/original/1X/6e26ccc8f74aa5f2ec24e31ef042a17515d57300.png)

---

<div class="post-metadata">

### Author: ![raffaelj](https://yyz2.discourse-cdn.com/flex030/user_avatar/discourse.getcockpit.com/raffaelj/32/331_2.png) [@raffaelj](https://discourse.getcockpit.com/u/raffaelj)
#### Post date: [March 17, 2020, 11:52am UTC](https://discourse.getcockpit.com/t/uniqueslug-multiple-field-not-found/1269/2 "2020-03-17T11:52:39Z")

</div>

Hello @alessandro92,

the option to use multiple fields is a fallback. So if `client` is empty, the UniqueSlugs addon uses `project_name` as source to generate the slug. It is not designed to generate multiple (unique) slugs.

---

<div class="post-metadata">

### Author: ![alessandro92](https://avatars.discourse-cdn.com/v4/letter/a/0ea827/32.png) [@alessandro92](https://discourse.getcockpit.com/u/alessandro92)
#### Post date: [March 17, 2020, 12:04pm UTC](https://discourse.getcockpit.com/t/uniqueslug-multiple-field-not-found/1269/3 "2020-03-17T12:04:46Z")

</div>

Hi raffaelj,  
Thank you for your answer.

So it is not possible to generate a slug consisting of multiple fields?

---

<div class="post-metadata">

### Author: ![raffaelj](https://yyz2.discourse-cdn.com/flex030/user_avatar/discourse.getcockpit.com/raffaelj/32/331_2.png) [@raffaelj](https://discourse.getcockpit.com/u/raffaelj)
#### Post date: [March 17, 2020, 12:11pm UTC](https://discourse.getcockpit.com/t/uniqueslug-multiple-field-not-found/1269/4 "2020-03-17T12:11:00Z")

</div>

No, not with the UniqueSlugs addon, but it is an interesting feature request. But I don’t have the time right now to write it.

---

<div class="post-metadata">

### Author: ![pauloamgomes](https://yyz2.discourse-cdn.com/flex030/user_avatar/discourse.getcockpit.com/pauloamgomes/32/48_2.png) [@pauloamgomes](https://discourse.getcockpit.com/u/pauloamgomes)
#### Post date: [March 17, 2020, 4:22pm UTC](https://discourse.getcockpit.com/t/uniqueslug-multiple-field-not-found/1269/5 "2020-03-17T16:22:44Z")

</div>

You can maybe give a try on other slug addon - [https://github.com/pauloamgomes/CockpitCMS-BetterSlugs](https://github.com/pauloamgomes/CockpitCMS-BetterSlugs) as it provides the ability to build slugs based on dynamic information (field values, collection name, etc…)
