# Custom Page UIDs

**URL:** https://forum.getkirby.com/t/custom-page-uids/20261
**Category:** Questions
**Tags:** v3
**Created:** [December 6, 2020, 8:08pm UTC](https://forum.getkirby.com/t/custom-page-uids/20261 "2020-12-06T20:08:34Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![derp](https://avatars.discourse-cdn.com/v4/letter/d/45deac/32.png) [@derp](https://forum.getkirby.com/u/derp)
#### Post date: [December 6, 2020, 8:08pm UTC](https://forum.getkirby.com/t/custom-page-uids/20261/1 "2020-12-06T20:08:34Z")

</div>

Hello,

two questions i couldn’t solve by searching the forum:

How can you change the page UID when changing the page title? I tried with a `page.changeTitle:after` hook and `$page->changeSlug()` but how to update the panel view after the change and not produce a “page not found” error?

Second is bigger but also related to having an accurate folder structure by creating content via the panel:  
Is there any way to append additional information to the (sub)page’s folder name, and keep it throughout the publishing workflow? Dream would be (nevermind the status):

- Ymd\_pagetemplatename\_pagetitle

Thank you a lot!  
Dennis

---

<div class="post-metadata">

### Author: ![texnixe](https://dub1.discourse-cdn.com/flex017/user_avatar/forum.getkirby.com/texnixe/32/5754_2.png) [@texnixe](https://forum.getkirby.com/u/texnixe)
#### Post date: [December 6, 2020, 8:26pm UTC](https://forum.getkirby.com/t/custom-page-uids/20261/2 "2020-12-06T20:26:27Z")

</div>

First question: This will be better in Kirby 3.5, with a changeTitle dialog that allows you to change the slug at the same time, you can already check out the pre-release here:

> **[Release 3.5.0-rc.4 · getkirby/kirby](https://github.com/getkirby/kirby/releases/tag/3.5.0-rc.4)**
>
> All the good stuff from:
> 
> https://github.com/getkirby/kirby/releases/tag/3.5.0-rc.1
> https://github.com/getkirby/kirby/releases/tag/3.5.0-rc.2
> https://github.com/getkirby/kirby/releases/tag/3.5.0-rc...

Will be release on Dec, 15th.

> [@derp](#):
>
> Is there any way to append additional information to the (sub)page’s folder name,

Adding additional information is possible via a [page model](https://getkirby.com/docs/reference/plugins/extensions/page-models) where you overwriting the `create()` method.

Note that a prepended date (with underscore) automatically changes the page status and will not become part of the URL.
