Hello Friend, I have idea of 301 error , but i have no idea of 302 error. Please friends tell me what is exact this.
HOSTS file had been added to so that Google was being redirected to a malicious website. Pretty creative -- the scumbags were using it to make people solve CAPTCHAs for them so that they could do something automatically like setting up email accounts. Anyway, check c:\Windows\system32\drivers\etc\hosts (it's a text file, you can open it in Notepad). Generally speaking, you should only find one line: 127.0.0.1 localhost If you see other lines with "google" in them, delete them. Save the file and you should be good. Still, as advised above, run a malware scan. I use both Spybot Search & Destroy *and* Lavasoft Ad-Aware (they tend to find different infections, so the combination is great).
Firstly i want to tell you that 302 error is not an error, It is the HTTP status code that shows the temporarily redirection.
Firts of all 301 and 302 are not error codes but redirection http status codes: 301 - Moved Permanently - A status code of 301 tells a client that the resource they asked for has permanently moved to a new location. 302 - Moved Temporarily - A status code of 302 tells a client that the resource they asked for has temporarily moved to a new location. For more info, check this article on various http status codes and their explanation