Use WordPress's redirection function so that hooks work.