Hi,
I've been looking into mod-rewrite methods for changing extensions on my page so that they look like static html pages (with an html extension), but so far, I've found only simplistic examples when simply renaming say, index.php to index.html.
My site operates on the following system:
index.php?page=listing&id=6
Which, via an htaccess DirectoryIndex entry, and exploding PATH_INFO, I've turned into:
index/listing/6
I would like to change this to:
index/listing/6.html
Does anybody know how to do this, either via mod-rewrite or any other means?
ps: Other areas of the same script have lengthier path queries - a method that would just throw ".html" at the end of the path would be absolutely ideal, but any other solutions are great too.
Thanks in advance for any help.