Creating new Perch Page results in wrong path?

  • Hi,


    It's been a long time since I looked at a straight Perch site and hence I have a feeling I'm about to embarrass myself. Again :D


    I have my master page created in /templates/pages/ and this displays in my dashboard with the following settings


    Screenshot%202021-02-24%20at%2012.16.52.png?dl=0


    When I create a new page from the Fundraising => New Subpage option, I fill the next section with the relevant details

    dashboard-2.png?dl=0

    The issue is the paths that are created upon creating a new page.


    To use the above as an example, my New Test page gets a location path of /fundraising/Users/Grant/####/####/####/####/fundraising/new-test.php and the ####/fundraising/new-test.php has


    PHP
    1. <?php include(str_replace('/', DIRECTORY_SEPARATOR, '../../../grant/####/templates/pages/fundraising.php')); ?>

    When functioning correctly the above should be


    PHP
    1. <?php include(str_replace('/', DIRECTORY_SEPARATOR, '../####/templates/pages/fundraising.php'));

    So I appear to have some kind of routing issue?