Now I want to put 301 redirection on this site and want to take mydomain.com/index.asp?id=1 to a different file and mydomain.com/index.asp?id=2 a different file..Is it possible? Or I can just have this on a complete file where index.asp will be redirected to one URL only.
Oh that should be easy then. There is an ASP command, something like Response.Header that you can use to send the redirect. The code goes before the <html> tag of each page that you don't want people to access the content on any longer. Make sure that the response really is 301 and NOT 302 when you do it. Google for ASP 301 redirect for the 2 lines of code you need. Use WebBug to check the header.