View Single Post
Old 10-19-2021, 08:49 AM  
zijlstravideo
Confirmed User
 
zijlstravideo's Avatar
 
Industry Role:
Join Date: Sep 2013
Location: The Netherlands
Posts: 805
Quote:
Originally Posted by hornyasf View Post
Is there even a benefit to having all HTML files?
Lol, I was thinking the same.
Not sure why you would use html files instead of php in the first place.

If you don't like the "looks" of the url, for example, yourdomain.com/pagepoop.php, you can easily change it to /pagepoop or even /pagepoop.html for that matter, with your .htaccess file.

You can use a html template and make like a default layout for your page(s), which you re-use for each page. For example, where you want the header menu, you use <?php include("headermenu.php"); ?>. Same for the sidebar and page content etc.
__________________
Contact: email
zijlstravideo is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote