Go Back   PCMech Forums > Help & Discussion > Web Design / Development

Need Some Help? Type Your Keywords Here:

Closed Thread
 
LinkBack Thread Tools Search this Thread Rate Thread Display Modes
Old 05-17-2001, 08:42 AM   #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.
Digger is offline  
Old 05-17-2001, 08:46 AM   #2
SQL nutcase
 
mosquito's Avatar
 
Join Date: Sep 2000
Location: Belgium
Posts: 1,136
Send a message via AIM to mosquito
you can try this: http://javascript.internet.com/user-...-redirect.html
mosquito is offline  
Old 05-17-2001, 10:03 AM   #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
Digger is offline  
Old 05-17-2001, 10:15 AM   #4
SQL nutcase
 
mosquito's Avatar
 
Join Date: Sep 2000
Location: Belgium
Posts: 1,136
Send a message via AIM to mosquito
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>
mosquito is offline  
Old 05-17-2001, 11:08 AM   #5
Premium Member
 
Statica's Avatar
 
Join Date: Jun 1999
Posts: 9,231
Your META tag syntax was wrong .. corrected in Internet/WWW posting
Statica is offline  
Old 05-17-2001, 01:43 PM   #6
Member (12 bit)
 
Paul Victorey's Avatar
 
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.
Paul Victorey is offline  
Closed Thread

Bookmarks

Still Need Help? Type Your Keywords Here:


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is On
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT -5. The time now is 07:19 AM.
Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2012, vBulletin Solutions, Inc.
SEO by vBSEO 3.6.0 PL2