URLs rewritten to change according to server STATIC_URL and root dir