How can I redirect to another URL in a web page using JavaScript?
Since you tagged the question with javascript and html...
For a purely HTML solution, you can use a meta tag in the header to "refresh" the page, specifying a different URL:
<meta HTTP-EQUIV="REFRESH" content="0; url=http://www.yourdomain.com/somepage.html">
If you can/want to use JavaScript, you can set the location.href of the window:
<script type="text/javascript">
window.location.href = "http://www.yourdomain.com/somepage.html";
</script>