correct url, when url re_write is enabled