JavaScript redirect


JavaScript redirect, place the following code between the head tags of your HTML page (replacing the URL with the URL that you want to redirect to).

<script type="text/javascript">
<!--
window.location = "http://www.yourdomain.com/index.html"
//-->
</script>

  • 38 Users Found This Useful
Was this answer helpful?

Related Articles

HTML REDIRECT SCRIPT

html redirect, place the following code between the head tags of your HTML page (replacing the...

PHP redirect script

In a php page paste this code.(change domain.com to your domain name)<?phpheader("Location:...