For those struggling on how to make it work with Nginx instead Apache, use a regular Nginx template that forces /index.php for any unrecognized URL, e.g.: the default for WordPress installs on most webhosts:
For script author: you could add this to the next version. This code works for Apache as well, for both the currently provided .htaccess and a more "standard" .htaccess which forces /index.php like the WordPress' default.
For those struggling on how to make it work with Nginx instead Apache, use a regular Nginx template that forces /index.php for any unrecognized URL, e.g.: the default for WordPress installs on most webhosts:
and add to the top of index.php file (after PHP opening tag):
For script author: you could add this to the next version. This code works for Apache as well, for both the currently provided .htaccess and a more "standard" .htaccess which forces /index.php like the WordPress' default.