Hello,
I'm not exactly sure how to ask this question, but I'll do the best I can.
On the site I am creating, I have a main css file and an index.php.
For every page that I create, they will use the same css file and layout that is in the index.php.
Is there an easier way to have each page use the same layout without putting all the code on each page, besides the content that changes?
Also, I have seen a couple sites have their content organized in folders. For example, all the about pages are in the about folder.
When you go to that address, the about page comes up. Do you think in the about folder, they have an index.php representing the about page? Or is there a better way to do this?
Lastly, I have also seen sites have an address like this.
How do you do something like that? Or would it be better to use the folder method I asked about above?
Any help would be greatly appericated!
I'm not exactly sure how to ask this question, but I'll do the best I can.
On the site I am creating, I have a main css file and an index.php.
For every page that I create, they will use the same css file and layout that is in the index.php.
Is there an easier way to have each page use the same layout without putting all the code on each page, besides the content that changes?
Also, I have seen a couple sites have their content organized in folders. For example, all the about pages are in the about folder.
When you go to that address, the about page comes up. Do you think in the about folder, they have an index.php representing the about page? Or is there a better way to do this?
Lastly, I have also seen sites have an address like this.
How do you do something like that? Or would it be better to use the folder method I asked about above?
Any help would be greatly appericated!
Comment