I have a .htaccess in my site www folder that has this rewrite rule:
RewriteRule ^(\w+)/?$ /$1.php
It works, if you type in http://sampardee.com/urltest - It finds urltest.php and brings it up.
However, if you type in http://sampardee.com/urltest/ it still brings urltest.php up but the CSS stops working. I have the CSS file specified in a link tag. The same results appear also when http://sampardee.com/urltest.php/ is accessed.
Is there any way I can fix this so that someone could type in http://sampardee.com/urltest/ and have urltest.php come up, but yet still display the linked CSS file?
Please help :) -Sam