- This topic is empty.
Viewing 4 posts - 1 through 4 (of 4 total)
Viewing 4 posts - 1 through 4 (of 4 total)
- The forum ‘CSS’ is closed to new topics and replies.
The forums ran from 2008-2020 and are now closed and viewable here as an archive.
I have this site: http://guaposcapecod.com/main.html
and basically I have for each HTML page, a navigation menu. If I make a change to a link, or make a change to the list items, I have to make sure I change them on all the HTML pages.
Is there an easier way ?
Thanks!
@thesocialdiner Sure. Change your site from html to PHP and use a simple include.
Since they’re .html files, you may want to use SSI (server-side includes) to include the menu:
http://www.yourhtmlsource.com/sitemanagement/includes.html
This way you’ll only have to edit one file which you’re including. Although you’ll have to configure your server or .htaccess to parse .html server-side the way it would .shtml
http://www.htaccess-guide.com/enable-ssi-with-htaccess/
You could also have your server parse .html as .php, but that’s a whole other thing, and it doesn’t look like you’re looking for something too complicated.
Wow awesome ideas. I’ll check them all out. Thank you!!!