Incorrect Roots?

Hello,

I am having some difficulty with URLs in .htaccess. I have setup a rewrite rule that will convert domain.com/index.php?title=whatever to simply be domain.com/page/whatever. However, since my theme.css file is linked by “./theme.css”, when I go to the newly generated URL, the page thinks it is looking for “/page/theme.css” instead of the theme file on the root of the directory. This also applies to images that are called by “/images/whatever.png”. It thinks it is looking for “/pages/images/whatever.png” instead of looking from “/images/whatever.png” on the root directory. How could I fix this?

I realize that I could simply place a duplicate images folder and theme file inside of a pages folder within the root of my website, but that would become an extreme pain when I have users submit their own avatars and whatnot. Any ideas?

Options +FollowSymLinks
RewriteEngine On
RewriteBase /Bloody/

RewriteRule ^page/([^.]+)$ index.php?title=$1

Thanks,
Eric

Actually, disregard this entire thread. I got it.