I'm trying to figure out how to force an existing dynamic URL (ex; gallery.php?page=1). To be rewritten to (ex; gallery/1.html), without simply creating a rewrite rule and then editing the HTML so the clickable a href goes to gallery/1.html, instead of gallery.php?page=1.