Global header

I have this Cpanel site I am developing, included are many pages in the navigation menu. Although to change the links in the header of all those pages I have to goto each one individually

How do I make the header and footer static so its global for the whole site.
Who is Participating?
GaryConnect With a Mentor Commented:
In IIS make sure SSI is enabled

Then use
<!--#include virtual="insertthisfile.html" -->
I'm assuming php
include "/header.php";

If not php what server are you on?
Moizsaif123Author Commented:
im using basic html, cant it be done using javascript
What Kind of Coding Program is Right for You?

There are many ways to learn to code these days. From coding bootcamps like Flatiron School to online courses to totally free beginner resources. The best way to learn to code depends on many factors, but the most important one is you. See what course is best for you.

What server are you using? Apache, IIS ...?
Moizsaif123Author Commented:
i think it is IIS, because when i use this code below it gave me the response

response.write("My first ASP script!")

Open in new window

Moizsaif123Author Commented:
This is not fully resolved. I could not find the IIS cze I think the host is running apache .If you know how to setup apache on my webserver using the CPanel, I can create a ticket and tell u my credentials to help me out.
Moizsaif123Author Commented:
or we can use teamviewer to connect to my machine...any option can be good
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.