Hello all,
Mod rewrite is messing up my paths.
For example:
www.mysite.com/fruits/1 = www.mysite.com?fruits=1
However, say I had an image at www.mysite.com/images/apple.gif
When I use the rewritten link above, my scripts looking for apple.gif will fail because it will look for them at:
www.mysite.com/fruits/images/apple.gif
instead of
www.mysite.com/images/apple.gif
![]()
How should this problem be resolved?
Here is my http.access:
<IfModule mod_rewrite.c>
RewriteEngine on
RewriteRule fruit/([0-9]+) index.php?fruit=$1
</IfModule>