Options +FollowSymlinks
RewriteEngine on
RewriteBase /sitename/
RewriteRule news/([0-9]+)/?$ news.php?id=$1
I'm using the above .htaccess rules, but when I goto ' http://172.16.0.117/sitename/news/12/ ' The page and it's contents load fine, but all my images and css files have not loaded.
They are located in the folder(s) 'images' and 'css' respectively. (Within the 'sitename' folder). I am currently linking to ' /css/styles.css ' in my source code.
What is going wrong? I'm sure it's probably something easy, but like I said I have read the whole thread and some other threads on mod-rewrite and cannot seem to fix the problem. A little bit of a push in the correct direction would be appreciated!! Thanks
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.