How can I access an URL, no matter from which subpage

How can I insert an URL to the page “imprint.php” which is accessible from every page with the " <—"?

imprint.php
projectlist.php <---
    projectpage.php <---
    subprojects-list.php <---
         projectpage.php <---
    projectpage.php <---

Hey,

you can get the URL of the page with the follwing code

<?=  page('imprint')->url() ?>
1 Like

Thanks, works perfectly!