.htaccess redirection help.

Discussion in 'Apache' started by coolmalliga, Aug 25, 2012.

  1. #1
    I have hosted multiple websites in my hosting. Root folder points to my primary domain and other domains are sub-folders of the primary domain. Consider 1domain.com is my primary domain and 2domain.com is my other domain and if I goto http://1domain.com/2domain.com it shows my 2domain.com content. SO I basically want to redirect http://1domain.com/2domain.com to http://2domain.com so google may not find duplicate entries. Any help would be appreciable.

    Thanks in advance.
     
    coolmalliga, Aug 25, 2012 IP
  2. Ray Baron

    Ray Baron Member

    Messages:
    148
    Likes Received:
    10
    Best Answers:
    3
    Trophy Points:
    43
    #2
    This

    looks like a server misconfiguration. Can you post the actual domains so I can see what is really happening and, perhaps, offer a solution.
     
    Ray Baron, Aug 25, 2012 IP