How to use a single search box for multiple domains or websites in wordpress


Staff member
Actually I have two different domains in which second one is a sub domain for first one so I want to use a single search box for the both domains. The both websites are designed using wordpress technology.

The first site is my main site (Wordpress) and the second site (Wordpress) is like a search engine so if user wants to search anything he will search his need from my main site so I wanted to connect that first site search box to my second site (search engine).