Forum Moderators: phranque

Message Too Old, No Replies

using .htaccess to redirect domain1.com to domain2.com/domain1/

how can this be done?

         

nopf

8:52 pm on Apr 21, 2004 (gmt 0)

10+ Year Member



Alias /domain1.com /domain1

Doesn't work if placed in the root of domain2.com. That was my first guess. My hosting company says they don't support .htaccess but that this is the way to do. Damn cryptic frustrations they are!

I am on an Apache/DirectAdmin server. DirectAdmin's domain forwarding service doesn't support forwarding to a subfolder.

Help?

nopf

8:55 pm on Apr 21, 2004 (gmt 0)

10+ Year Member



hm... that didn't sound right.

they do allow .htaccess but they don't support it in that they won't write the .htaccess for me.

nopf

7:55 pm on Apr 23, 2004 (gmt 0)

10+ Year Member



bump!

jdMorgan

8:06 pm on Apr 23, 2004 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



nopf,

Welcome to WebmasterWorld [webmasterworld.com]!

> they won't write the .htaccess for me.

Ahh, but neither can we... Please see our charter [webmasterworld.com].
I suggest a search of WebmasterWorld for "subdomain subdirectory rewriterule"
Or you can start here: Introduction to mod_rewrite [webmasterworld.com]

Jim