it’s my first time I am asking a Question here.
I have a problem with mod_rewrite.
I have the following filesystem structure:
Now I tried to redirect my php Page to an html file via mod_rewrite.
It works fine, my .htaccess looks like that:
RewriteEngine on RewriteBase /site_new/ RewriteRule ^(.*)/(.*).html$ hallendetails.php?id=$1&halle=$2 [L]
The orignial url is:
The “new” url then is:
Now all my CSS, JS and Image files are broken.
They are included like that:
But after redirecting they are searched in
I think I need a RewriteCond, but I don’t know how to write it. I tried lots of ways, but I don’t get it.