0

When Google searching:

Is there a way to specify what to search in website titles vs. website bodies?

  • Include or exclude certain things in the title.
  • Include or exclude certain things in the body.

Is there a way to do that?


Here's a hypothetical scenario:

I want to find things that are similar to x, but not the same as x. There are probably websites that have lists of things that are similar to x. Or at least websites that indirectly mention x, which might be helpful.

If I google the word x, I'll just get pages that are 100% about x, which isn't what I want. And when I google the category that I'm thinking of, I get crappy/generic results.

I'd rather google for pages where y is in the title of the webpage (and possibly exclude x from the title), but also search where the page body contains x. (If the page contains x, then I'll know the website is good.)

1

1 Answer 1

2

Based on Google Search Operators: The Complete List (42 Advanced Operators), to find a word in the title, you use the operator intitle.

intitle:

Find pages with a certain word (or words) in the title. For this example, any results containing the word “apple” in the URL will be returned.

Example: inurl:apple

To find two or more words in the title, you use allintitle.

allintitle:

Similar to “intitle,” but only results containing all of the specified words in the title tag will be returned.

Example: allinurl:apple iphone

To find a word in a page body, you use intext.

intext:

Find pages containing a certain word (or words) somewhere in the content. For this example, any results containing the word “apple” in the page content will be returned.

Example: intext:apple

To find two or more words in a page body, you use allintext.

allintext:

Similar to “intext,” but only results containing all of the specified words somewhere on the page will be returned.

Example: allintext:apple iphone

3
  • Thanks! I Can't seem to find a way to exclude a word from the title, but include the word in body. intitle:-maxvar intext:maxvar
    – User1973
    Commented Jul 5, 2021 at 22:52
  • @User1973 Try: -intitle:maxvar intext:maxvar Commented Jul 6, 2021 at 11:34
  • Yes. That solved it. Thanks very much for your help.
    – User1973
    Commented Jul 6, 2021 at 12:45

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.