Another alternative is to have your generator create an nginx config with the redirects. (W3 Total Cache for Wordpress does something like this)
Another alternative is to have your generator create an nginx config with the redirects. (W3 Total Cache for Wordpress does something like this)