permalinks causing issues with php includes
-
Hello
I’m building my site on a subdomain.
I am using a php include to reference a html file which is in the root folder, like this:
<?php include ABSPATH.'myfile.html';?>
I’ve also tried this:
<?php include ‘myfile.html’;?>
If I am using default permalinks, it works great
If I choose any of the other permalinks settings, it only works on whichever page I have set to be the static front page. All other pages just leave a space where the included file should be.
Can anyone please help me?
Cheers x
Viewing 7 replies - 1 through 7 (of 7 total)
Viewing 7 replies - 1 through 7 (of 7 total)
- The topic ‘permalinks causing issues with php includes’ is closed to new replies.