title: How to redirect any specific link on the page to a specific url?
body: <p>How to redirect any specific link on the page to a specific url?</p>
  
  <p>I have a webpage and it contains several links. </p>
  
  <ul>
  <li>link1.com (20 links)</li>
  <li>link2.com (15 links)</li>
  <li>link3.com (8 links)</li>
  </ul>
  
  <p>I want that whenever someone clicks on link1.com he gets redirected to www.example.com</p>
  
  <p>Please advise how I can acheieve this.</p>
  
  <p>With the below code I can do a redirect for a current page on screen. But I need to do it for every link on my website.</p>