Forum Moderators: phranque

Message Too Old, No Replies

Mod Rewrite Help

         

John_Creed

1:50 am on Apr 19, 2006 (gmt 0)

10+ Year Member



Right now I have [domain.com ]

And I want it to redirect to [subdomain.domain.com ]

What could I insert into my .htaccess file to do this?

jdMorgan

3:28 am on Apr 19, 2006 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



See Redirect or RedirectPermanent in Apache mod_alias [httpd.apache.org], or the more-complex mod_rewrite [httpd.apache.org].

For information on this obtuse answer, plus additional links, please see our forum charter [webmasterworld.com]

Jim

John_Creed

4:46 am on Apr 19, 2006 (gmt 0)

10+ Year Member



Yeah I know I shouldn't ask people to write my script for me but for a knowledgeable user this would take probably 10 seconds to write.