Results 1 to 1 of 1

Thread: ssi includes with multiple folders

  1. #1
    Join Date
    Jul 2005
    Posts
    223
    Thanks
    12
    Thanked 0 Times in 0 Posts

    Question ssi includes with multiple folders

    im not sure which category this would fall under so ill post it here.

    well i have noticed the only way to use ssi includes is if the actual file im referring to is in the same folder as the page i want it on

    so instead of using one file across all the sites, i would also have to drop that file in the folder i want as well.

    is it possible to use ssi includes with multiple folders, using just one file in the main directory, as opposed to dropping the file in each individual folder?

    EDIT

    Since this is the first thing that comes up when searching for "ssi includes with multiple folders" on google, and i found the solution to it, ill post it here. (or maybe its just first in google for me, i dont know)

    instead of using

    <!--#include file="blabla.html" -->

    use

    <!--#include virtual="/blabla.html" -->

    simple enough
    Last edited by Johnnymushio; 04-24-2011 at 09:08 AM.
    My Web Site
    Japan Town

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •