title: Masking the URL - Wordpress
body: <p>I have a question, is there a chance to write a script that will auto-mask URLs?</p>
  
  <p>In my case it looks like this:</p>
  
  <p>1) I insert the PP plug on my page,
  2) Automatically download products whose links look like: outbounddomain.pl/offer/abc</p>
  
  <p>Is there a chance to write such a script, which will automatically mask such links and convert the address to: mydomain.com/offer/abc -> when someone clicks on redirect it by redirecting 302 to the destination page.</p>