Use Panel as frontend (make it available at root URL)

Has anybody experience with using the Panel as frontend of a website? I’m thinking about developing an internal app that manages some data… all I need is the panel, no frontend or API. So for ease-of-use it would be great if the panel was available at the root URL instead of having to add /panel all the time.

Edit: It is not enough to set the panel.slug option to an empty string or /. :grinning:

What if you simply redirect to the panel url with a catch-all route? You would still have panel in the resulting url, but hey…

True, thank you! Probably the easiest solution. I’ll keep that in mind.

I wondered if there is a quick fix by adjusting the .htaccess file (but for doing that I don’t know enough about how the .htaccess file and Kirby work together).

For https://lab.getkirby.com/ we simply have only one default.php template file with

<?php go('/panel') ?>

(or in our case /public as we renamed the Panel URL path)

2 Likes