I use java, but am a newb twerp when writing the stuff. I had the script, but deleted it over the years. I think it was in a .shtml page. If the page can redirect without the target page showing a 302 redirect or something, that would be really great. Thanks for any help,
Hi, I can help you with such a script, but before I do that I need to know in which language you need this ASP or PHP. If any of these two then I can help as I know only these languages…. J Cheers, ~Maneet
I like using the meta tag that can redirect to another page and lets you go back a page <meta http-equiv="Refresh" content="0;URL=http://www.yourdomain.com/"> Code (markup): heres one type of javascript code I usally use for my website: <script type="text/javascript"> <!-- function Redirect() { window.location="http://www.yourdomain.com"; } setTimeout('Redirect()', 100); //--> </script> Code (markup):
Thanks for your replies. Good stuff. Good ideas for redirect, but what I am look for is when the referrer is hxxp://123.com, it will redirect to hxxp://abc.com and if the referrer is hxxp://456.com it will redirect to hxxp://def.com and if no referrer, no redirect will happen. I need this in javascript for a html page.