title: How to use data-saferedirecturl in a tag in PHP?
body: <p>I want any other server request goes through my server just like link in <em>Gmail</em> and i checked it there <code>data-saferedirecturl=""</code>.</p>
  
  <p>So how to use <code>data-saferedirecturl</code> in PHP automatcally in our website? </p>
  
  <p>Exapmple:</p>
  
  <pre><code>&lt;a href="xxxxx" target="_blank" data-saferedirecturl="https://www.mywebsite.com/url?hl=en&amp;amp;q=xxxx"&gt;Link&lt;/a&gt;
  </code></pre>