As I am a plunker at this please help me in terms I can get w/o bugging you to much…
I am having troubles with directory changes let me explain best I can.
Ok make it a short directry structure (unix), lets say it is as such (shortened)
maindir (all web files index etc here)
cgi-bin
images
includes
recipes <-- the problem one.
Ok under recipes I have a bunch of files for wine recipes. All in .php format, all images and everyting work fine, page loads fine all is cool. NOT. The problem I have is these files under recipes all have files linked in them FROM includes as in leftsidemenu.php, rightsidemenu.php, header.php etc…
In the leftsidemenu.php for example are links to the other pages under maindir. They all show up BUT the linkage is wrong. Example under maindir lets say the is a file aboutus.php that would be ex: http://www.oursite.com/aboutus.php cool. Now when I open up any file under recipe for ex: say redwine.php it comes up, all looks good except the linkage back to aboutus.php. It reads: http://www.oursite.com/recipe/aboutus.php. That aboutus.php shows now to be in the recipe dir instead of the maindir. I read/tried/read/tried and cannot find how I can correct it.
Please help in Stupid Person Terms… have not much hair left to pull… :’(