Move redirect to the right place