Add JavaScript-based redirection for old URLs.