: Different folder and web structure Is it possible to keep a different folder structure than the web structure that users see when browsing the website? I.e. I want all my main pages to be
Is it possible to keep a different folder structure than the web structure that users see when browsing the website?
I.e. I want all my main pages to be accessed the following way: example.com/main-page-1/
Do I need to necessarily have each page in a separate folder, or can I keep all them in the same folder and define the structure somewhere else?
More posts by @Cody1181609
2 Comments
Sorted by latest first Latest Oldest Best
More dynamically, you can use a single PHP file displaying the content of your static files. You can re-write the urls to whatever you like. By this method, you can avoid general codes (e.g. header, footer, etc) to be repeated in every single file.
Terms of Use Create Support ticket Your support tickets Stock Market News! © vmapp.org2024 All Rights reserved.