How can I link unlinked vertices?
here is one way to do it manually
first make sure the two unconnected meshes are close to each other



Select an edge loop from the first and second mesh where they should be connected



use the remove doubles operator and try different values of merge distance, make sure unselected option is unchecked