We launched a new/revamped website recently on our same www.domain.com address.

We had the new website previously located on a test.domain.com url and then finally switched over to put the test (new site) onto the live domain.

First i noticed big traffic to the site for one day and then everything plummeted.
I am not an SEO but have been reading forums for 6 years so know a bit about these things and was very suprised to see the drop.

Turns out ( i could ♪♪♪♪ing kill em) the people putting the website live left the noindex in the 'soon to be' new site and didnt 'noindex' the old site. The two sites were swapped in location.

We then sorted the files out but google was still indexing the old site (sitting on the test.domain url) aswell as the new one. The problem being that i believe it is impacting on the main websites search results.

Since i put the no index in the old site, the amount of pages it was indexing fell dramatically from 5000 pages to about 800, but then wasnt moving anymore.

Since then, i have actually deleted the test.domain so google knows it doesnt exist HOWEVER, it is now showing over 1,500 pages on the test.domain and still bloody caching those pages!!..

i had actually been noticing (despite the big drop in traffic).. that rankings were improving each week, but then as of yesterday (monday).. they have started to go bad again (this may be a seperate problem, i dont know)..

Can anyone shed some light?.. advise?

much appreciated. thanks.