I have a simple place-holder html-file that I would want to use the header meta tag to redirect automatically. The target is a symolic link (linux) that points to a git-repo directory.
<meta http-equiv="refresh" content="0; url="universitetet/">
However this simply reloads itself. Giving absolute path does so too.
However, using the javascript solution works (and also normal links work fine).
<script language="javascript">
window.location = "universitetet/";
</script>
Get rid of the extra
"inside thecontentattribute.Side note: Always provide a plain HTML link (
<a href="universitetet/">Link</a>), in case the user has disabled meta redirection and/or JavaScript.