Internet, Networking, & Security Around the Web The Allinanchor Command for Google By Marziah Karch Writer Marziah Karch is a former writer for Lifewire who also excels at Serious Game Design and develops online help systems, manuals, and interactive training modules. our editorial process Marziah Karch Updated June 24, 2019 Oleksiy Maksymenko/Getty Images Around the Web How to Get a VPN Tweet Share Email Allinanchor is Google syntax to search only the anchor text of Web pages. Results are listed based on the text used in the backlinks or outside links pointing to the page. Allinanchor is a variation of inanchor searches. In Allinanchor: searches, all the words following the colon must be in the anchor text. Allinanchor searches can't easily be combined with other Google syntax. About Inanchor Searches Google lets you restrict your searches to only the text used to link to other Web pages. This text is known as links, link anchors, or anchor text. The anchor text in the previous sentence was "anchor text." The Google syntax for searching anchor text is inanchor:. To search for Web pages that other pages have linked to using the word "gadget," you'd type: Note that there's no space between the colon and the keyword. Google only searches for the first word following the colon by default. You can get around that. You can use quotes to include exact phrases, you can use plus sign for each additional word you'd like to include, or, as previously discussed, you can use the syntax allinanchor: to include all the words following the colon. The allinanchor tag makes it hard to combine it with other syntax, however. Anchor text plays an important role in determining the ranking of pages in Google search results, so savvy web designers pay attention to how they use anchor text. Sometimes with humorous results. Because anchor text plays such an important role in PageRank, it also played an important role in Google bombs. How it Works Google's search engine tends to think that the words used in the link to a particular source reflect some of the content of the source. If many people link to an article using a particular phrase, such as "smart donut recipes," Google would assume that "smart donut recipes" is related to the content of the page, even if that particular phrase isn't used within the page itself. Because this was abused so much in the past, Google has instigated tactics to fight Google bombs created in order to intentionally override normal search results. For example, a classic Google bomb created a link from the phrase "miserable failure" to the biography of George W. Bush, the (then current) president of the United States. The Bush White House tried to counter the measure by reorganizing the website, but this really would have just meant that all presidents would be linked to "miserable failure." Currently, the anchor text is also weighted against the content of the page. So a page having nothing to do with "miserable failure" will no longer be a top hit in the search results. That's fine, but it doesn't work in all situations. Rick Santorum, a politician and occasional presidential candidate, was linked to a not safe for work Google bomb using the phrase "Santorum." The link goes to a website called "Spreading Santorum" and defines the word "Santorum" as something disgusting. Don't Google it if you don't want to know. Because the website it links to actually contains the phrase used in the anchor text, the Google bomb stands. The Google bomb was created in 2003 as a protest to Rick Santorum's stances by Dan Savage, a gay rights activist. Although it has been over a decade, the Google bomb usually still has "Spreading Santorum" ranked higher than Santorum's campaign website.