I put this is my .htaccess file:
RewriteRule sitemap.html.* index.php?function=sitemap [L]
RewriteRule ^edit?$ admin
RewriteCond $1 !=admin/
RewriteRule ^([^.]+)$ index.php?page=$1 [L]
The problem is that if someone uses this for a URL:
They are taken to
But all images are broken because it is looking for the images in a directory that does NOT exsist (foo/bar/zoo)
AND if someone uses this for a URL:
they are taken to index.php?function=sitemap (which is correct) but ALL images are broken.
How can solve this?