I was wondering how I could access domain.com/home from domain.com, I have asked this question before (One web page with multiple URL's using PHP) and i was told to use chdir()
and include()
but now I was wondering how I could this so that it would work with local .css files, as currently if I access "domain.com/home" when the head says "using style.css" it accesses domain.com/home/style.css as it should but however if i access domain.com it accesses domain.com/style.css as it is asking for a local file, changing all of the local file accesses is impractical as they are all drawing from a template using php includes so modifying one of them is inconvenient to do and not aesthetically pleasing in terms of code cleanliness.
If you do not fully understand what I am asking go to http://infinity-nova.com and http://infinity-nova.com/home too see the issue at hand. Is there any way to do this using htaccess? I am using an apachi server so i am able to use any url-rewriting plugins and what not that apachi has if that is necessary.