fixed url redirection for existing urls