Custom domain Hyperlink leading to glitch domain

My custom domain is

If I click on one of the hyperlinks it leads to

instead of

Any reason why? This is the snippet of my code below

html <input class="MyButton" type="button" value="Moderator" onclick="window.location.href=''" />

You specified /mod.html in your input field.


Remove the .html and it’s fixed.