maybe the question was already ask but I didn’t find a topic for it.
I mixed my kirby installation with a static site that already exist before.
The Kirby installation is in a subfolder called cms.
When I link to a main page created with Kirby the url looks fine examplecom/mykirbypage.
On one page, part of Kirby child-pages are shown and liked to the relative pages with <?= $page->url() ?>.
In the generated link is alway the the cms directory name visible examplecom/cms/mykirbypage/kirbysubpage.
How can I remove the /cms/?
When I write the url manually in the address bar without the cms examplecom/mykirbypage/kirbysubpage the pages works fine too.
I hope you understand the question.