I have a rewriterule setup so that my PHP links look like normal simple HTML, the code is in the .htaccess
RewriteEngine On
RewriteCond %{REQUEST_URI} !(index\.php|media|forums|layout|includes|news)
RewriteRule ^(.*)\.html$ index.php?id=site/$1
I also have an image script which if you goto http://www.ffextreme.com/ff8/images.html, that page includes the script. The links to next page and the other pages are dependant on a variable being set. Before I changed this to simple html links, it was easy I just added &page=10 or whatever to the URL. Now I can't do that.
So I thought of making it so its like http://www.ffextreme.com/ff8/images/2.html for page 2, I can get my script to recognize that, the only problem is that my original rewriterule looks for that actual file, and gives a 404.
How do I make it so if I have a link like this, using the images as a folder, the rewriterule doesnt look for the images/2.html file, it still goes to images.html ?