Hi everyone ? first post here. I’m hoping you guys could help me out:
I’m building a website and this is how I’ve done it:
Each page is located in a folder i.e /page1/ and in that folder is index.php (i’ve done this to hide the page file name which most websites seem to do these days)
Index.php assembles the webpage using a ton of includes:
include ‘../meta.php’;
include ‘../header.php’;
include ‘./content.php’;
include ‘../footer.php’;
meta is the title and metatags for the page
header is the menu and graphical flash interface
content is the content layout
footer is the footer
Is this bad practice? and will it affect the search engine optomization?