Simple redirect, if you go to URL "REDIRECT FROM", you will be redirected to "REDIRECT TO".
For example, if I move domain name, I could put in the homepage of my old domain (e.g. www.google.com) this to redirect to my new one, hawkee:
When a user goes to www.google.com, they are redirected to www.hawkee.com
Very simple I know, I just needed it recently, and it's reasonably useful.
Usage Instructions:
Replace:
REDIRECT FROM (to the URL to be redirected from)
REDIRECT TO (to the URL to be redirected to)
and then place in
<script type="text/javascript">
var p=location.href;
var s="REDIRECT FROM";
if (p==s) {
window.location = "REDIRECT TO";
}
</script>
mine does not wok.... i have it on http://patx44.webs.com/svn/ but when i got to it it does not redirect to http://patx44.webs.com as it should anyhelp?