Problem with routes and mod-rewrite (if not absolute i don't get CSS, JS or images)
Posted
by
Toni Michel Caubet
on Stack Overflow
See other posts from Stack Overflow
or by Toni Michel Caubet
Published on 2011-02-05T23:21:37Z
Indexed on
2011/02/05
23:26 UTC
Read the original article
Hit count: 211
hi there!
i updated the code from my website to a 'better' veersion i think,
it works fine but when i try to implement the friendly URL and load it, works, but with no CSS, Javascript or images, but if i corret the routes for the css to http://website/css/style.css (instead of ./css/style.css) it i do see the CSS properly loaded,
any idea why?
Example: http://keepyourlinks.com/link1.php?id=25 VS http://keepyourlinks.com/keep/25/series-yonkis
(i updated the route of the CSS, but the Javascript is missing an the images asweell)
I really would like not to have to correct al routes :(
© Stack Overflow or respective owner