Forum Moderators: open
Thanks.
There is a lot of info on these boards about SSI's. Try using the site search function from the link at the top of this page.
<!--# include virtual="menu.html" -->
in the html of the various pages of my site in place of the code for my menu (i.e. anchor elements, etc), and then the file menu.html will contain that code instead.
I tried this with two html files (e.g. index.html and menu.html) on my desk computer, but it seems to do nothing. Are things more complicated, or does the fact that it is a "server side" include mean it will only work on an appropriately configured server that hosts the site?
Thanks
SSI is very powerful and an amazing tool.
You can even ad SSI's that lead to blank .htm files so you could add ads or whatever at a later date.
I would recommend really thinking about where you want the site to go and what you might want to do with it in the future.
Adding some extra code at the beginning is easy changing thousands of pages later is a lot more work.