A have a very strange problem.
When I do this in .htaccess:
RewriteRule ^products/([0-9])/$ http://mydomain.com/script.php?lid=$1 [R]
with the [R] flag to change the url in the user’s browser I have no problem with the php script executing as expected.
However, when I do this:
RewriteRule ^products/([0-9])/$ http://mydomain.com/script.php?lid=$1
(without the [R]) so that the user doesn’t see the rewrite, the script.php runs but only my images require absolute links (my includes still work with relative links).
All I am doing is not using the [R] flag which shouldn’t change the directory paths. With the [R] flag it works fine.
thanks in advance