# Rewrite Panel URL for user convenience

**URL:** <https://forum.getkirby.com/t/rewrite-panel-url-for-user-convenience/9413>\
**Category:** Questions\
**Tags:** v2\
**Created:** [January 10, 2018, 1:14pm UTC](https://forum.getkirby.com/t/rewrite-panel-url-for-user-convenience/9413 "2018-01-10T13:14:22Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![snalld](https://dub1.discourse-cdn.com/flex017/user_avatar/forum.getkirby.com/snalld/32/4963_2.png) [@snalld](https://forum.getkirby.com/u/snalld)\
**Post date:** [January 10, 2018, 1:14pm UTC](https://forum.getkirby.com/t/rewrite-panel-url-for-user-convenience/9413/1 "2018-01-10T13:14:22Z")

</div>

I’ve got a project I’m working on where Kirby is just being used as an API an stored in a sub-folder

So currently if a user wants to access the panel the URL would look like this:

`mysite.com/api/panel/`

but for convenience I’d like to rewrite all panel urls to

`mysite.com/admin/`

I’ve got the url rewriting to work, but I get the following error when the panel loads

 ![15 am](https://europe1.discourse-cdn.com/flex017/uploads/getkirby/original/2X/0/0ee2771ad581a2d477fa58d4d7dce842578b75f9.png)

Any suggestions??

I suppose another solution (to avoid a whole lot of rewrites) would be to change the location of the panel folder itself but I’m not sure how to go about that

---

<div class="post-metadata">

**Author:** ![distantnative](https://dub1.discourse-cdn.com/flex017/user_avatar/forum.getkirby.com/distantnative/32/11319_2.png) [@distantnative](https://forum.getkirby.com/u/distantnative)\
**Post date:** [February 6, 2025, 5:30pm UTC](https://forum.getkirby.com/t/rewrite-panel-url-for-user-convenience/9413/2 "2025-02-06T17:30:14Z")

</div>

Archived on February 6, 2025, 5:30pm UTC


