do not redirect if directory doesn't exist