Click to See Complete Forum and Search --> : Redirect


janlee
10-04-2005, 08:48 PM
Hi,

My question regarding redirect URL.

1. To redirect a webpage it is necessary that page be hosted?

For example: I have www.mypage.com actually hosted by www.1and1.com, BUT now the money that's it! But as my page is visited by 10,000 user by month I cannot stop it! I decide host it in a free ASP hosting, like www.websamba.com

Well, in websamba.com I will use only a submain - I have not money - like:

www.websamba.com/mypage/index.asp

1. Well, How I redirect the www.mypage.com to www.websamba.com/mypage/index.asp

2. Can I put this redirect directive in www.websamba.com/mypage/index.asp? Certainly not!


Please, what I do or what you suggest me!

Thanks

JLee :D

bringerofnight
10-04-2005, 08:59 PM
Not really sure what you mean you could try using frames like this in HTML
<frameset rows='100%,*' frameborder='NO' border='0' framespacing='0'>
<frame name='My Page Title' src='http://www.websamba.com/mypage/index.asp?'>

Or to use meta redirection (true redirection) use
<META http-equiv="refresh" content="//Set number of second till redirection here [eg.]0;URL=http://www.websamba.com/mypage/index.asp?">

ne3ro0
10-04-2005, 09:01 PM
Option 1:

<SCRIPT LANGUAGE="JavaScript">
window.location="http://www.websamba.com/mypage/index.asp?";
</script>


put between the HEAD tags...

option 2:

or use a an HTML <META> tag in the header to redirect to another page. The <META> tag goes in the <HEAD> section of your HTML document.

<META HTTP-EQUIV="Refresh"
CONTENT="5; URL=http://www.websamba.com/mypage/index.asp?">

5 = wait till 5 seconds before it will redirect you to your desired address


good luck... hope that helps..

russell_g_1
10-05-2005, 03:34 PM
what's wrong with a simple response.redirect?

candelbc
10-06-2005, 07:45 AM
That was what I was going to say as well.. You could also redirect right from your Domain Registrar. I think it's called Domain forwarding..

I'd personally go with the response.redirect as Russell suggested...