title: anchor <a> + Link to base URL
body: <p>If I'm on a page like</p>
  
  <p><a href="http://localhost/balibar.co/?dating=dating-articles-and-information" rel="noreferrer">http://localhost/balibar.co/?dating=dating-articles-and-information</a></p>
  
  <p>and I want to have anchor that links to the base URL being</p>
  
  <p><a href="http://localhost/balibar.co" rel="noreferrer">http://localhost/balibar.co</a></p>
  
  <p>Is there a way to do this without hard coding the URL?</p>
  
  <p>I've tried:</p>
  
  <pre><code> &lt;a href="/"&gt;&lt;/a&gt;
   &lt;a href="#"&gt;&lt;/a&gt;
  </code></pre>
  
  <p>will have a few domains use this page so I don't want to hard code the domain name if possible. </p>