Simple Index Page Redirection

The following html code, if saved to an html file, will result in the redirection of any visitors to the directory within which it resides (unless your server defaults to a different file type/extension).


HTML Redirection Code

Replace “” with, your desired destination URL. Adjust the body text as necessary.



<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta http-equiv="refresh" content="1; url=" />
<script>window.location.href = ""</script>
<title>Page Redirection</title>
<p>If you are not redirected automatically, please follow this <a href="">link</a>.</p>


If this article was helpful please take a moment to like us on Facebook, share this on your social media or buy us a cup of coffee.