Forum Moderators: phranque

Message Too Old, No Replies

calling main domain content into subdomain

Rewrite Rule for sub and root domain

         

agriz

5:50 pm on Mar 1, 2009 (gmt 0)

10+ Year Member



Hi,

I will explain what i need...

If any user type

[sub1.domain.com...] -> It should not redirect. But just get the content form [domain.com...]

[sub2.domain.com...] -> It should not redirect. But just get the content form [domain.com...]

[subn.domain.com...] -> It should not redirect. But just get the content form [domain.com...]

How can i right such a htaccess code?

Any help is appreciated

Thanks

g1smd

10:32 am on Mar 2, 2009 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member Top Contributors Of The Month



I've seen this answered in this forum a few times in the past. There's lots of example code to be had from refining this search: [google.com...]