<p>You can use <code>{uid}</code> inside the "Entry URI Format" field.</p>

CC BY-SA 4.0
2019-04-08T10:08:16.790Z
Ha. That's comically obvious. Thanks.
Matt Fletcher
CC BY-SA 4.0
2019-04-08T09:54:38.903Z
2019-04-08T09:54:38.903Z
Mats Mikkel Rummelhoff
<p>When setting an "Entry URI Format" for a section, the values currently available to me are <code>{slug}</code> which is the title of the entry, or <code>{id}</code> which is usually a small number. I'd like to have an obfuscated hash/uuid for this path, eg <code>c54be165-fc95-4583-bef8-2e2abd2a4f37</code>. Is this possible without writing any custom code?</p>

<craft3><entries>
Use a UUID for an entry ID in a URL path
# Use a UUID for an entry ID in a URL path

(Asked by: username_0 on 2019-04-08)

When setting an "Entry URI Format" for a section, the values currently available to me are `{slug}` which is the title of the entry, or `{id}` which is usually a small number. I'd like to have an obfuscated hash/uuid for this path, eg `c54be165-fc95-4583-bef8-2e2abd2a4f37`. Is this possible without writing any custom code?

**Tags:** craft3, entries


---

## 1 answers

### Answer by username_1 on 2019-04-08. Score: 3 | Accepted answer

You can use `{uid}` inside the "Entry URI Format" field.

> **Comments:**
> **username_0**: Ha. That's comically obvious. Thanks.  

---

