If I search for e.g. "Something Awesome," I'd like the results to only include pages with "something" and "awesome" in the actual page title itself (they may also be in the page content, but must be in the title)

The site in question is a password-protected private Site on a Google Apps account, so none of the pages are included in the general Google index (and therefore a CSE wouldn't work).

1 Answer 1


Try intitle: operator.

The query intitle:term restricts results to documents containing term in the title. For instance, [ flu shot intitle:help ] will return documents that mention the word “help” in their titles, and mention the words “flu” and “shot” anywhere in the document (title or not).

Note: There must be no space between the intitle: and the following word.

Putting intitle: in front of every word in your query is equivalent to putting allintitle: at the front of your query, e.g., [ intitle:google intitle:search ] is the same as [ allintitle: google search ].

In your case, you can use the following query:

[ intitle:something intitle:awesome -something -awesome ]

This makes sure your terms appear in the title but not in the page itself.

  • This works with general google search (at google.com) but isn't returning any results with Googles Sites search built into Google Sites.
    – Benj
    Jul 25, 2011 at 20:06
  • If your site is not indexed by Google, I don't think it is quite possible. Jul 25, 2011 at 20:12
  • I'm afraid that's the case, then. It needs to be a private site, so it can't be in the Google index. Oh well...
    – Benj
    Jul 25, 2011 at 20:21

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.