I have a server side include navigation menu (html page) in a subdirectory of my web host. I can call the server side include from anywhere on the web host but the navigation links do not update to reflect the file path of the calling page.
For instance, if the SSI sits on ./includes and all the navigation link reflect this site structure, when I call the SSI from a lower level file such as ../../includes, the navigation links on the SSI will not update; it does not reflect the file path of the new calling page.
Should I run a script that captures the new file path or is there a simpler solution?
Sorry if this is convoluted and confused but I'm tearing my hair out at the moment. Thank you.
Start Free Trial