You can include sites and pages in your search engine individually or in bulk. You can either type full URLs, or you can get fancy and use URL patterns (like wildcards).
Add sites to your search engine
Specifying pages to include
When listing URLs for inclusion or exclusion from your Custom Search Engine, there are several ways to specify pages, sites, and domains.
- Individual pages You can specify a single page to be included or excluded; for example, specifying www.mysite.com/mypage.html will include or exclude the mypage.html page on www.mysite.com.
- Entire sites You can specify an entire site to be included or excluded; for example, specifying www.mysite.com/* will include or exclude all the pages on www.mysite.com.
- Parts of sites You can use wildcard patterns (see URL patterns) to include or exclude certain parts of a site; for example, www.mysite.com/*about* will include or exclude only files on www.mysite.com that have the word about in their name.
- Domains You can specify an entire domain using *.mydomain.com. Note that when you first create a Custom Search Engine, if you specify mydomain.com, we will automatically convert this to *.mydomain.com/*. If this is not your desired domain, you can change it back in the control panel.
You can also include an entire site and then exclude part of it; for example you can include (www.foo.com/*) and then exclude (www.foo.com/bar*). In this case, all the pages on www.foo.com, except those that start with www.foo.com/bar.
When a result matches multiple URL patterns, the one that is used is the most specific pattern.