Hey man,
simply change the way you include your css file
instead of using this
<link rel="stylesheet" href="css/style.css">
add it like this, with a leading slash
<link rel="stylesheet" href="/css/style.css">
if you use it without the leading slash, it will use the current url displayed in the browser.. if you add the leading slash, it will use the root domain
if you still have troubles with it, add this to your .htaccess before the RewriteEngine On command
RewriteRule ^css - [L,NC]
this will completely ignore the css directory from any rewrite rule
ps. tested it, it works
if you can't make it work, feel free to contact me
cheers,
z
__________________
php, html, jquery, javascript, wordpress - contact me at contact at zerovic.com
|