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.
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.