Google Chrome includes a feature that allows you to search specific websites directly from the address bar. This is useful when working with large Google Sites, such as school portals, project hubs, or curriculum websites, where using a full Google search can be slow or distracting.
This feature is set up through Chrome’s site search settings.
Where to Set It Up
In Chrome, open:
chrome://settings/searchEngines
Scroll down to Site search and select Add.
The Google Sites Search URL Format
Modern Google Sites use a structured search URL in the following format:
https://sites.google.com/search/DOMAIN/SITENAME?query=%s
Where:
DOMAINis the organisation or school domainSITENAMEis the Google Site name%sis a placeholder for the search terms
Example: Garden School Google Site
For the Garden School site vibecodingfun, the URL looks like this:
https://sites.google.com/search/gardenschool.edu.my/vibecodingfun?query=%s
This is the URL you place into the URL field when creating the site search in Chrome.
Understanding How %s Works
The %s is replaced automatically by Chrome with whatever the user types after the shortcut.
For example:
- You type in the address bar:
garden loops - Chrome replaces
%swithloops - Chrome opens:
https://sites.google.com/search/gardenschool.edu.my/vibecodingfun?query=loops
This passes the search term directly into the Google Site’s search system.
Using the Search Once It Is Set Up
After saving the site search:
- Click the Chrome address bar
- Type your shortcut (for example
garden) - Press Space or Tab
- Type your search term
- Press Enter
Chrome will search only within that Google Site.
