Forum Moderators: coopster

Message Too Old, No Replies

domain webpage redirection question

         

thelectronichild

10:35 pm on Sep 13, 2005 (gmt 0)

10+ Year Member



Ok here goes...

I have my main domain setup and I will call it domain.com - I have several other domain names registered in which I will call domain1-10 - when someone makes a request lets say on domain1.com I need the user to be directed to domain.com/domain1 - If a user makes a request on domain4.com they should be redirected to domain.com/domain4 -

Any and all help are greatly appreciated and thank you in advance

jatar_k

1:22 am on Sep 14, 2005 (gmt 0)

WebmasterWorld Administrator 10+ Year Member



Welcome to WebmasterWorld thelectronichild,

what method were you thinking?
is each one have its own web space? if so you could use any type of redirect

apache/meta/php header call

thelectronichild

3:38 pm on Sep 14, 2005 (gmt 0)

10+ Year Member



yea I am the new kid on the block so thanks for the welcome!

each domain has its own directory under the parent domain - how could I set it up for each inbound domain to forward to the correct sub directory?

thelectronichild

4:10 pm on Sep 20, 2005 (gmt 0)

10+ Year Member



I actually figured out what I needed to do, quite simple really - to redirect pages simply use this -

<meta http-equiv="refresh" content="0;url=http://yourdomain.com/subdomain/index.htm">

where you see the "0" is the time it waits to redirect, I wanted mine to redirect automatically so I set it to 0 but if you would like it to wait longer just bump up the redirect time -