I think I found the answer to my question.
I had created files for results and Details.
Then when a page was created I navigated to where I had created the files and selected the correct file.
The file name only showed in the Page and Location Box.
Details.php
Later I did not create the empty files but navigated and named the files in the Page Name and Location box.
Then the correct full path then showed in the Page and Location Box, not just the file name
myfolder/Details.php
This seems to have solved the problem
Regards
John