Automatic redirect to another URL

K

Kevin Spencer

This could be done with JavaScript and/or a META refresh tag.

JavaScript (EXAMPLE):

<script type="text/javascript"><!--
document.location = "http://www.theirweb.com/MFA";
// --></script>

META Refresh (EXAMPLE):
<META HTTP-EQUIV=Refresh CONTENT="1; URL=http://www.theirweb.com/MFA">

In the META tag, the CONTENT attribute is the number of seconds to delay.
The URL is the URL to redirect to.

If you use JavaScript, there will be no delay. However, some people don't
have JavaScript turned on. So, it might be best to use both.

--
HTH,
Kevin Spencer
..Net Developer
Microsoft MVP
I get paid good money to
solve puzzles for a living
 
B

Bob Richardson

B

Bob Richardson

It's working correctly now. I had an extra quotation mark :(

Thank you very much for your help.
 
K

Kevin Spencer

Looks to me like the target page is redirecting back to that one.

--
HTH,
Kevin Spencer
..Net Developer
Microsoft MVP
I get paid good money to
solve puzzles for a living
 
K

Kevin Spencer

Aha! I missed that. Good eyes, Bob!

--
HTH,
Kevin Spencer
..Net Developer
Microsoft MVP
I get paid good money to
solve puzzles for a living
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top