Forum Moderators: buckworks & webwork

Message Too Old, No Replies

Redirecting from another domain

         

jackofalltrades

1:38 pm on Dec 24, 2002 (gmt 0)



Hi all

I recently bought the .info, .org and .net for my .com. I asked my hosting company to redirect them all to the .com.

On checking, it seems that they arent redirecting. Instead the content for the .com appears on the others (ie users still see my site, but arent being forwarded to the .com).

Is this normal practice?

Cheers for the help - havent dealt with any of this before.

JOAT :)

Shakil

1:41 pm on Dec 24, 2002 (gmt 0)



joat,

duplicate content problems could arise.

you need to spcifically ask them to "redirect"

Shak

jackofalltrades

1:46 pm on Dec 24, 2002 (gmt 0)



Cheers

Will do! :)

JOAT

jdMorgan

3:25 pm on Dec 24, 2002 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



JOAT,

An alternative that leaves you with more control is to do the redirection yourself. Assuming that the DNS for all of your TLDs points to your one server account, check the HTTP_HOST variable (or equivalent in non-Apache systems) and do a 301 permanent redirect to your "official" TLD if needed. I have done this for several years with no ill effects, and it allows you to "instantly" change your mind and redirect to a subdomain if you wish, without having to contact or depend on anyone else.

It takes two lines of code in .htaccess if you have mod_rewrite. Several example posts can be found here on WebmasterWorld.

Jim