I am making a site right now and I want to include the sidebar in every page. I have looked everywhere and everyone says to use the following code:
<!--#include virtual="insertthisfile.html" -->
I have done this but to no avail. I am using dreamweaver for easier uploading and managing of my files, and it shows up in dreamweaver. I would just use PHP but I dont want all of my pages to be PHP for just one code that can work in HTML..
Any ideas?
That isn't an "HTML" feature. It's Server-Side Includes. You need to make sure you have SSI active on your server and that it's set to apply to the file.
.shtml extensionIf you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With