Sometimes I see websites with hundreds (if not thousands) indexed pages. Each page with a new keyword. Citypages for example. When I click on a subpage in the Google search result of such a site I go to the subpage, but within a second I get redirected to home. On home the keyword of the search result/subpage I clicked is inserted in the text.
(edited by mod per request of OP)