There is a way to do it using JavaScript:
Code:
<SCRIPT LANGUAGE="JavaScript">
</script>
You can also do it using HTML Meta tags, but you can only do it when the page is loaded:
Code:
<META HTTP-EQUIV="Refresh" CONTENT="number of seconds; URL=The web address or page you want to redirect to">
There is also a way to do it in PHP:
Code:
header("Location: http://www.somepage.com");
exit(); //exit is critical
Here are a few more languages:
Code:
--- Visual Basic ---
Server.Transfer("http://www.somesite.com")
--- C# (.net) ---
Server.Transfer("http://www.somesite.com");
--- ASP.NET ---
Response.Redirect("http://www.somesite.com")
--- Perl ---
#/usr/bin/perl -w
use strict;
use CGI qw/:standard/;
print redirect('http://www.somesite.com');
or
#/usr/bin/perl -w
use strict;
print 'Status: 302 Moved', "\r\n", 'Location: http://www.somesite.com', "\r\n\r\n";
--- XHTML ---
<meta http-equiv="refresh" content="0; URL=http://music/songbird.mid"/>
I think that this is just about all I could find with a little bit of time and
Google... (well, some ways I knew, but I searched for them anyways)