[thelist] multiple ssi in one page

pandy pandion at gmx.net
Wed Mar 2 09:31:55 CST 2005


ww wrote:
>Thanks...this worked!
>
>I have to put a duplicate ssi file in each folder since i use lots of 
>folders to keep content organized (since i can't use ../ or full paths) 
>but editing 5 menu files is better than editing 500 html pages!

No, you don't have to do that as long as you use root relative paths. Let's 
say you put all your included files in a folder directly in your document 
root (www, public_html or whatever it's called) and let's say that folder 
is named includes. Then this will be work from any html document anywhere 
on your site.

<!--#include virtual="/includes/file.inc" -->

Cheers,
pandy



More information about the thelist mailing list