I made a dynamic folder this way:
RewriteRule ^user/(.+)$ index.php?user=$1 [QSA]
I want the browser to look in the root folder for images. Currently it looks for them in example.com/user
I made a dynamic folder this way:
RewriteRule ^user/(.+)$ index.php?user=$1 [QSA]
I want the browser to look in the root folder for images. Currently it looks for them in example.com/user
Could you please try following, its looking for if a uri is NOT ending with
pngformat then redirect it to yourindex.phpfile, in case you have more formats like.jpgetc then change following regex from!\.png$TO!(\.png|\.jpg)/?$.