when iam searching results in search box in my local site it redirects to live site,if results found.If not it is in local site only.why its happening
Check your Configuration: System -> Configuration -> General -> Web -> Unsecure
Change all URLs to your local URL.
Do the same for "Secure".
After Change those Url Please clean your cache.