Forum Moderators: phranque

Message Too Old, No Replies

redirecting multiple domains

         

vt_finn

8:41 am on Nov 25, 2009 (gmt 0)

10+ Year Member



I'm pretty new to this and I could use some help now, please.

I need to redirect three domains into the different files, like this:

www.domain1.com to www.domain1.com/index.php?file=32
www.domain2.com to www.domain1.com/index.php?file=33
www.domain3.com to www.domain1.com/index.php?file=34

Is this even possible with .htaccess? Because everytime I get one of those right the rest will fail.

I'd really appreciate if you guys could help out here.

jdMorgan

5:23 pm on Nov 25, 2009 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Please post your best-effort code as a basis for discussion, so we know where to start...

Thanks,
Jim

vt_finn

7:09 am on Nov 26, 2009 (gmt 0)

10+ Year Member



I worked this out by myself.

Thanks anyways.