In order to mirror a whole website as static HTML,
I would like to convert URLs like
? in URL is being is being converted to
This will allow nginx or apache to serve these files from disk as the raw HTML we obtained and saved from
wget -- one file for each URL -- rather than as a PHP file.
Is it possible to do so via Nginx URL rewriting?
http://example.com/script.php?a=1&t=3is going to need some super fancy rewrite action