I am having some difficulty with the mod_rewrites I think. I am trying to use my navigation scripts on both my custom template pages (the layout.phtml) as well as in my protected content. I will give a simple explanation of what I need to do. Custom layout.phtml page /amember/application/default/themes/mytheme/layout.phtml include '/amember/myfolder/menu.php' - this doesn't work Protected Folder /amember/myfolder $path=$_SERVER['DOCUMENT_ROOT'] $path .= "/amember/myfolder/menu.php" include ($path) Menu scripts /amember/myfolder/menu.php /amember/myfolder/menu.js (this uses AJAX and references the php file) When the menu scripts are included into the templates their "absolute" path is a little different than the protected content pages I think because of the mod_rewrite occurring. I don't want to try to manage two copies of the scripts (one for the themes and one for protected content). Where can I locate my php and js scripts where both my custom templates AND all my protected content can reference them using an absolute path?