I am building an HTML Website and don’t want to use WordPress or a CMS like Joomla. However as the website will have a considerable amount of pages, something that will get very exhausting is making sure the header and footer is constantly up to date on all the pages. Is there a way to externally call the header and footer sections on an HTML page and have the header and footer on an external page?
Something like an iFrame but an iFrame itself worn work. It is important that it is also SEO Friendly.
Yes, a lot of options here. The simplest is to do what @RyanReese mentioned, using PHP includes. (I put together an explanation of what they are and how to use them a while back that might be helpful.)
Then you get into CMS territory. There are some really nice “flat file” CMSes around these days, like Statamic (not free) and Kirby (free) that do what you are looking for without needing a database. Slightly more geeky is the Jekyll option that @bpartch mentioned.
Yea, what @RyanReese and @ralphm said is definitely the “easiest”, but not necessarily the most scalable (I would still look into it to learn how flat file CMS’ work). In my opinion, you should go with a simple flat file CMS that has:
A dashboard - This way you’re not tied to having to log into FTP just to make a typo change. By extension, it should also have an easy to use editor.
User Role Manager - Jjjjust in case you ever need to add more users (friends/coworkers/public) that can add pages without logging into your account.
(optional) Templating Engine - So you don’t have to fuss with a server language if you don’t already know one.