Fixed problem with URL rewriting and with taxes

Signed-off-by: Carlos <carlos@doofinder.com>