转自:http://www.51testing.com/html/71/410671-822699.html
“site”表示搜索结果局限于某个具体网站或者网站频道,如“sina.com.cn”、“edu.sina.com.cn”,或者是某个域名,如“com.cn”、“com”等等。如果是要排除某网站或者域名范围内的页面,只需用“-网站/域名”。
示例:搜索中文教育科研网站(edu.cn)上所有包含“金庸”的页面。
搜索:“金庸 site:edu.cn”
结果:已搜索有关金庸 site:edu.cn的中文(简体)网页。共约有2,680项查询结果,这是第1-10项。搜索用时0.31秒。
示例:搜索包含“金庸”和“古龙”的中文新浪网站页面,
搜索:“金庸古龙 site:sina.com.cn”
结果:已在sina.com.cn搜索有关金庸古龙的中文(简体)网页。共约有869项查询结果,这是第1-10项。搜索用时0.34秒。
注意:site后的冒号为英文字符,而且,冒号后不能有空格,否则,“site:”将被作为一个搜索的关键字。此外,网站域名不能有“http”以及“www”前缀,也不能有任何“/”的目录后缀
“link”语法返回所有链接到某个URL地址的网页。
示例:搜索所有含指向 百度“http://www.baidu.com”链接的网页。
搜索:“link:www.baidu.com”
结果:搜索有链接到www.baidu.com的网页。共约有5项查询结果。搜索用时0.23秒。
注意:“link”不能与其他语法相混合操作,所以“link:”后面即使有空格,也将被GOOGLE忽略。
inurl语法返回的网页链接中包含第一个关键字,后面的关键字则出现在链接中或者网页文档中。有很多网站把某一类具有相同属性的资源名称显示在目录名称或者网页名称中,比如“MP3”、“GALLARY”等,于是,就可以用INURL语法找到这些相关资源链接,然后,用第二个关键词确定是否有某项具体资料。INURL语法和基本搜索语法的最大区别在于,前者通常能提供非常精确的专题资料。
示例:查找米高积逊 迈克尔。
搜索:“inurl 米高积逊 迈克尔”
结果:已搜索有关inurl 米高积逊 迈克尔的中文(简体)网页。共约有10项查询结果,这是第1-10项。搜索用时0.01秒。
示例:查找微软网站上关于windows2000的安全课题资料。
搜索:“inurl:security windows2000 site:microsoft.com”
结果:已在microsoft.com内搜索有关 inurl:security windows2000的网页。共约有198项查询结果,这是第1-10项。搜索用时0.37秒。
注意:“inurl:”后面不能有空格,GOOGLE也不对URL符号如“/”进行搜索。
allintitle和intitle的用法类似于上面的allinurl和inurl,只是后者对URL进行查询,而前者对网页的标题栏进行查询。网页标题,就是HTML标记语言title中之间的部分。网页设计的一个原则就是要把主页的关键内容用简洁的语言表示在网页标题中。因此,只查询标题栏,通常也可以找到高相关率的专题页面。
示例:查找米高积逊的照片。
搜索:“intitle:米高积逊写真”
结果:已搜索有关intitle:米高积逊写真的中文(简体)网页。共约有284项查询结果,这是第1-10项。搜索用时0.03秒。
GOOGLE的罕用高级搜索语法:related
related用来搜索结构内容方面相似的网页。例:搜索所有与中文新浪网主页相似的页面(如网易首页,搜狐首页,中华网首页等)
“related:www.sina.com.cn/index.shtml”。
英文版 标题里其他的几个小技巧
转自:http://www.ahfx.net/weblog/31
Google Keywords like:
Allinanchor
Allintitle
Allintext
Site
Link
can give you a greater understanding of how to get better placement in Google.
Each of these keywords can help you understand better where you can focus your efforts to increase your ranking in Google. Here is a breakdown of each keyword.
Allinanchor - returns the pages/sites that have those specific keywords in anchor tags pointing towards those pages. For example: allinanchor:compelling visual content will return only documents that have a link to them that contains compelling visual content in the anchor text.
Allintitle - If you start a query with allintitle:, Google will restrict the results to those with all of the query words in the title. For instance, allintitle:google search will return only documents that have both “google” and “search” in the title. Note there can be no space between the allintitle: and the following word.
Allintext - If you start a query with allintext:, Google will restrict the results to those with all of the query words in the body of the page. For instance, allintext:website design will return only documents that have both “website” and “design” in the body of the page. Note there can be no space between the allintext: and the following word.
Site - If you include site: in your query, Google will restrict the results to those websites in the given domain. For instance, site:www.ahfx.net will find all pages indexed by Google for that domain. web design site:www.ahfx.net will find pages about web design within the ahfx.net url. Note there can be no space between the “site:” and the domain.
Link - The query link: will list webpages that have links to the specified webpage. For instance, link:www.ahfx.net will list webpages that have links pointing to the AHFX.net homepage. Note there can be no space between the “link:” and the web page url.
These are just a few of the Google Keywords or “operators”. Google has its own information on the Google operators, but it doesn’t list all of the important ones. Most of the time allinanchor will help show you where your page should end up if you have optimized the page well. Although it doesn’t always happen (because you might have 25 links from pages with a PageRank of 3 while a competitor has 3 links from pages with a PR of 7 and you can be higher in the allinanchor but lower in the actual rankings), this is a good indicator if your backlink keywords are helping move you up or down the rankings. Idealy your rank should move towards your allinanchor ranking.
These are just a few of the places you can check to see how your stack up against the competition. Keeping an eye on these rankings will give you a better understanding of whether you need more inbound links, or just need to optimize the pages you already have.