Hi
I've got the following stuff in my htaccess
Options -Indexes
RewriteEngine On
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule ^(.*)$ index.php?pid=$1 [QSA,L]
this idea is that it rewrites an incoming url like this
http://www.mysite.com/p/title_of_the_page
and returns this
http://www.mysite.com/index.php?pid=p/title_of_the_page
which I then process to get the required page
that all works fine except that the images in the pages are no longer showing because their urls are being rewritten too, so a link like
src="images/my-wonderful-image.jpg"
is being rewritten as
http://www.mysite.com/p/images/my-wonderful-image.jpg
and the images are not being found
has anyone got any idea what I need to do to remedy this and only rewrite urls containing "/p/" ?
thanks