How to re-direct one domain to other?

Discussion in 'Google' started by thenikhil, Jun 8, 2011.

  1. #1
    I want to do 301 redirect from one domain to other but problem is I have lost the user ID & password of second domain. I need to do redirect urgently because both of the site having same content and architecture. Otherwise it will effect ranking of my first site. Is there any way to do successful 301 redirect. If NO can anyone suggest how can we minimize the effect of second domain over first one?
     
    thenikhil, Jun 8, 2011 IP
  2. bogs

    bogs Active Member

    Messages:
    2,142
    Likes Received:
    16
    Best Answers:
    0
    Trophy Points:
    80
    #2
    maybe try to contact the host of the domain they might retrieve it..
     
    bogs, Jun 8, 2011 IP
  3. affilorama

    affilorama Active Member

    Messages:
    1,896
    Likes Received:
    20
    Best Answers:
    0
    Trophy Points:
    80
    #3
    That's right. Have you tried contacting your second domain's registrar/host to retrieve the password for your account? They should have a record of that.
     
    affilorama, Jun 8, 2011 IP
  4. vishalgmistry

    vishalgmistry Active Member

    Messages:
    18
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    51
    #4
    only people who can help you is your domain registrar.
    contact them asap. good luck.( believe me you need it lol)
     
    vishalgmistry, Jun 8, 2011 IP
  5. thenikhil

    thenikhil Member

    Messages:
    58
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    36
    #5
    Thanks friends..
    But problem is much more complex for me.. There are some issues due to which the concern person is not ready to provide access of the second site for now. We are doing work in order to get it but till then I want some alternative simply because I do not want to loose my ranking due to all this. Any suggestions?
     
    thenikhil, Jun 9, 2011 IP
  6. brad12

    brad12 Peon

    Messages:
    103
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #6
    Go to your .htaccess file and put redirection code. It will redirect...You can find the the redirection code on codeproject.com.
     
    brad12, Jun 9, 2011 IP
  7. Mithuasha

    Mithuasha Banned

    Messages:
    1,056
    Likes Received:
    5
    Best Answers:
    0
    Trophy Points:
    0
    #7
    Yeah, follow that instruction.
     
    Mithuasha, Jun 9, 2011 IP
  8. Atco-maart

    Atco-maart Peon

    Messages:
    435
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #8
    Htaccess file is best option to redirect your domain in another domain...
     
    Atco-maart, Jun 9, 2011 IP
  9. jyhqp

    jyhqp Peon

    Messages:
    105
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #9
    shielding one of your site in .htaccess file before you complete your 301 work.
     
    jyhqp, Jun 9, 2011 IP
  10. john203

    john203 Peon

    Messages:
    13
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #10
    like others said use .htaccess to 301 redirect the domain in desired direction.
     
    john203, Jun 9, 2011 IP
  11. Vicky from DNP

    Vicky from DNP Peon Affiliate Manager

    Messages:
    209
    Likes Received:
    2
    Best Answers:
    0
    Trophy Points:
    0
    #11
    If all the issue is the password, then the only option you have is contacting your host. The 301 will work fine.
     
    Vicky from DNP, Jun 9, 2011 IP
  12. Codd

    Codd Member

    Messages:
    145
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    28
    #12
    Codd, Jun 9, 2011 IP
  13. linc

    linc Member

    Messages:
    355
    Likes Received:
    3
    Best Answers:
    0
    Trophy Points:
    28
    #13
    You do it in hosting control panel directly if you have such control, if you're not sure how to do it, your hosting provider will be able to assist more.
     
    linc, Jun 10, 2011 IP
  14. thenikhil

    thenikhil Member

    Messages:
    58
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    36
    #14
    Thanks friends.... Actually I tried using ".htaccess" but its not working let me trying using php code once. Thanks Codd, for the same but please tell me one more thing where should I place this php code in "head" or "body" of home page?
     
    thenikhil, Jun 10, 2011 IP
  15. thenikhil

    thenikhil Member

    Messages:
    58
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    36
    #15
    Can you please elaborate?
     
    thenikhil, Jun 10, 2011 IP
  16. Codd

    Codd Member

    Messages:
    145
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    28
    #16
    Create a index.php file and add the php code in it. Do not put anything else besides the php code, not even blank lines. They can cause errors.
     
    Codd, Jun 10, 2011 IP