|
|||||||
![]() |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
#1 |
|
Member (6 bit)
Join Date: Feb 2001
Posts: 43
|
How to redirect to new url
Hi,
How do I automatically redirect people from my old web address to my new web address. I have tried inserting the following into the page but all it does is keep loading up the same page. meta http-equiv="Refresh" content="1"; URL=http://mysite.com/index.htm" I have missed out the < and > in the java because it started looping this thread!!??) What am I doing wrong?? thanks Last edited by Digger; 05-17-2001 at 08:45 AM. |
|
|
|
|
#2 |
|
SQL nutcase
|
you can try this: http://javascript.internet.com/user-...-redirect.html
|
|
|
|
|
#3 |
|
Member (6 bit)
Join Date: Feb 2001
Posts: 43
|
Hmmm.....a little too complicated, for what I need I think.
Just want a simple redirection from old site to new site! Thanks |
|
|
|
|
#4 |
|
SQL nutcase
|
Insert this in your page (simplified code from the link I posted). Replace "default.asp" with the link you want to refer to.
Code:
<html>
<script>
<!--
window.location.replace("default.asp")
-->
</script>
</html>
|
|
|
|
|
#5 |
|
Premium Member
Join Date: Jun 1999
Posts: 9,231
|
Your META tag syntax was wrong .. corrected in Internet/WWW posting
|
|
|
|
|
#6 |
|
Member (12 bit)
Join Date: Mar 1999
Location: MN or WI
Posts: 3,017
|
Hehe, you had the right forum the first time =]
Closing this thread, refer all replies to the Internet/WWW thread.
__________________
Paul M. Victorey ------------------ I am not responsible for any problems that may arise as a result of following my advice. This includes, but is not limited to, computer failure, loss of data, nuclear war, famine, boils, no clean laundry, your daughter running off with a biker gang, or armageddon. Take my advice at your own risk. |
|
|
![]() |
| Bookmarks |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|