title: How to redirect to another URL if query string match?
body: <p>I want to redirect www.domain.com/index.php?id=xx to www.anotherURL.com </p>
  
  <p>If the id=xx match then redirect the URL. Is there any PHP or JavaScript code for this? If both are not then htaccess?</p>