Forum Moderators: phranque

Message Too Old, No Replies

redirect question htaccess

         

duncan320

9:16 pm on Apr 23, 2009 (gmt 0)

10+ Year Member



Hi can anyone help me with the following in the htaccess.

I have a site hosted at lets say example1.com/mysite and i wish to redirect example2.com to this, but so when people goto example2.com in there browser that site name stays there and it does not just divert them to example1, in other words hiding where the site really is hosted.

Tried a few things but no luck

Thanks

g1smd

10:31 pm on Apr 23, 2009 (gmt 0)

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



Don't do that; serving the same content at multiple URLs is a Duplicate Content nightmare.

Redirect so that only one URL is shown.

AnkitMaheshwari

4:28 am on Apr 24, 2009 (gmt 0)

10+ Year Member



As g1smd said, you should 301 redirect example2.com to example1.com to avoid showing same content on multiple domains.