Fix compatibility with the 404 Simple Redirect plugin