I have been working with wordpress for a long time and I fully understand the template heirachy. I have some custom page templates page-about.php and page-projects.php for my about and projects pages.
These were working perfectly earlier, however for a few reasons I needed to wipe my wordpress database and start again. I didn't change any of the theme files but after re-installing wordpress I now cannot get the new site to recognise these templates if permalinks is enabled.
With permalinks off the templates are picked up on the relevant pages but as soon as I enable permalinks these pages just pick up the default page.php template.
I have never seen anything like this before.
Does anyone have any ideas?
I have already tried enabling a different template and then re-enabiling my one, uninstalling and reinstalling my template and also rebuilding the permalinks... nothing has working...