EDIT: Fixed it myself, however the only question I have now is why do my post pages have a .html extension? The PHP on the page loads, even though it says the page is html?
I have enabled prettyURL's in config.php by changing '0' to '1', generated the htaccess and placed in .htaccess on the server, however, pages cannot be found, such as portfolio.php ends up becoming portfolio/portfolio.php and gives a 404, however /portfolio/ loads it, how can i stop it from locating to /portfolio/portfolio.php ? Another issue is that the different posts load as .html pages instead of php pages, why is this? In this case this stops PHP from working on these pages such as footer.php.
Another problem is that when I'm on /portfolio/ and I click "Home", it tries to load /portfolio/index.php rather than index.php, how can I stop this?
Thank you.
I have enabled prettyURL's in config.php by changing '0' to '1', generated the htaccess and placed in .htaccess on the server, however, pages cannot be found, such as portfolio.php ends up becoming portfolio/portfolio.php and gives a 404, however /portfolio/ loads it, how can i stop it from locating to /portfolio/portfolio.php ? Another issue is that the different posts load as .html pages instead of php pages, why is this? In this case this stops PHP from working on these pages such as footer.php.
Another problem is that when I'm on /portfolio/ and I click "Home", it tries to load /portfolio/index.php rather than index.php, how can I stop this?
Thank you.