I am trying to implement WordPress into quite a large site with a complex page structure and struggling to get normal pages to work (not created through the admin)
When I link to them, nothing happens, well because...
The desired url - www.website.com/dir1/dir2/dir3/page.php
The actual url- www.website.com/wp-content/themes/themename/dir1/dir2/dir3/page.php
The problem with linking to the latter is that it breaks the WordPress functions
I don't want to have to give every page a template, then add it through the admin, it is too much work. I only need 2 pages to contain dynamic content.
I need the files to be inside the theme folder or the wordpress functions will not work.
I also need to keep the folder structure (obviously), but creating new pages using template folders will lose this structure.
Am I being silly? I am really confused.