I have a website with a main category.php file.
In category.php, a few style sheets are linked to this page as well as a few php include statements;
ie. <link href="css/sheet.css" rel="stylesheet" type="text/css" />
Now... When the user selects a link from the menu it goes to category.php and loads dynamic content from the database. I have a .htaccess file that rewrites the url string to put certain links into different "virtual" directories.
For example, if a user clicks on wine > shiraz in the menu, the url string will look like; www.domain.com/wine/wine-name
if the user clicks on location > australia > perth in the menu;
This works perfectly, the main problem is that my style sheets and other php includes are now not loading into the category.php page.
Can someone direct me to the best possible solution... so i can use my php includes and link the stylesheets and everything loads regardless of how "virtual" directories the url rewrite makes.