Make a link redirect to the same page
<p>I've created a page with an article. On top of that there's a title. If people try to click this title I want them to be redirected to the same page.
Like this: <a href="https://gyazo.com/74350b4fe91c670c4101449ee1c928a4" rel="nofollow">https://gyazo.com/74350b4fe91c670c4101449ee1c928a4</a> If I click on the article it just refreshes the page.</p>

<p>I can't do this manually for every article because I'm using a script. 
The code I've written looks like this: </p>

<p><div class="snippet" data-lang="js" data-hide="false">
<div class="snippet-code">
<pre class="snippet-code-html lang-html prettyprint-override"><code>echo '&lt;a href="/"&gt; &lt;h1 class="entry-title"&gt;'.$row['postTitle'].'&lt;/h1&gt;&lt;/a&gt;';</code></pre>
</div>
</div>

As you can see I wrote </p>

<p><div class="snippet" data-lang="js" data-hide="false">
<div class="snippet-code">
<pre class="snippet-code-html lang-html prettyprint-override"><code>&lt;a href="/"&gt;</code></pre>
</div>
</div>
</p>

<p>and that's will not redirect me / refresh the page i'm viewing.</p>

<p>This is how it looks for me: <a href="https://gyazo.com/8a15ae274d8a7240b07100395460568d" rel="nofollow">https://gyazo.com/8a15ae274d8a7240b07100395460568d</a>
as you can see it does not redirect me to the same page when i click the title. </p>

<p>How can I do this?</p>