We are going to be using an excellent Joomla extension called googleSearch (CSE) component . Click here to go directly to the download page.
Download the extension of your respective Joomla version.
Go to Extensions >> Install/Uninstall >> Browse… >> Upload File & Install
Set Up Custom Search Engine in Google
Click here to go to the Google Custom Search Engine Configuration page directly. Click on Create a Custom Search Engine.
The first step (1. Setup up your search engine) is self-explanatory. Configure appropriately.
The only tricky part is the syntax for the “Sites to search”. In the example, I have it so that only results from www.ostraining.com and www.joomlatraining.com show up in the…