Prepare for permalink redirection