Fixed URL redirection in production environment