|
|
#1 (permalink) |
|
Bronze Member
![]() Join Date: Jan 2005
Posts: 42
|
I am having trouble with redirecting a user to another page.
My code is as follows: Code:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> <html> <head> <title>Redirecting</title> <meta http-equiv="REFRESH" content="0;url=http://www.o-dating.co.uk"></HEAD> <BODY> Redirecting to <a href="http://www.o-dating.co.uk">www.o-dating.co.uk</a> </BODY> </HTML> thanks |
|
|
|
|
|
#3 (permalink) |
|
Silver Member
![]() |
I tried it and it works fine for me.
Could be some sort of browser issue (they exist), so best to use Javascript as a backup. Code:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html>
<head>
<title>Redirecting</title>
<meta http-equiv="refresh" content="0;url=http://www.o-dating.co.uk">
<script language="javascript">
window.location = 'http://www.o-dating.co.uk';
</script>
</head>
<body>
Redirecting to <a href="http://www.o-dating.co.uk">www.o-dating.co.uk</a>
</body>
</html>
__________________
Chroder.com - My Blog |
|
|
|
|
|
#4 (permalink) |
|
New Member
![]() Join Date: Apr 2005
Location: Sydney Australia
Posts: 6
|
Could be a server setting. Maybe a security thing.
If it's still not working for you then try this: <script type="text/javascript"> top.document.location.href = "http://something.com/page.htm"; </script> that should do it. |
|
|
|
|
|
#5 (permalink) |
|
New Member
![]() Join Date: May 2005
Posts: 17
|
Try this...im sure it will work, you can change the delay from the "content" value i have it set to redirect after 5 seconds.
<html> <head> <title></title> <meta http-equiv="REFRESH" content="5; url=http://www.google.com"> </head> <body> </body> </html> All the best |
|
|
|
![]() |
| Thread Tools | |
| Display Modes | |
|
|