gtridez Posted July 13, 2007 Share Posted July 13, 2007 hey...i'm doing a mod rewrite for a client site and i'm trying to rewrite this url --> http://guyanayellowpages.gy/categories.php?cat=Accommodation to --> http://guyanayellowpages.gy/categories/Accommodation the mod rewrite code i'm using is this -- > Options +FollowSymLinks RewriteEngine on RewriteBase / RewriteRule ^categories/([^/]*)$ /subCategories.php?cat=$1 [L] however if you click on the link http://guyanayellowpages.gy/categories/Accommodation you will see that i have a problem when it comes to image and style sheet files loading... any help on how to fix this would be appreciated. Quote Link to comment Share on other sites More sharing options...
trq Posted July 13, 2007 Share Posted July 13, 2007 This is more a problem with how your images and stylesheets are freferenced within the code, not a mod_rewrite issue. Can we see some code for displaying an image? Quote Link to comment Share on other sites More sharing options...
gtridez Posted July 13, 2007 Author Share Posted July 13, 2007 hey... thanks... after further research after i made this post i realised that i need to make my images and stylesheets relative to my site root. something i had over looked in my web development practices...sadly.. basically makin graphics/thisimage.jpg to /graphics/thisimage.jpg to anyone having this same issue. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.