Google search URLs revealed or How to create your own search URL
January 30th, 2007
We all know the Google Advanced Search page that lets you refine your searches and find what you need faster. But how many of us understand the complicated URLs the search engines generates?
Well I am not saying that I’m some sort of expert but here are some information regarding the URLs generated by Google. Let’s start by looking at one such URL:
http://www.google.com/search?as_q=nintendo+wii&hl=ro&num=10&btnG=C%C4%83utare+Google&
as_epq=&as_oq=&as_eq=&lr=&as_ft=i&as_filetype=&as_qdr=all&as_occt=any&as_dt=i&as_sitesearch=
You don’t understand much and it looks quite long but it doesn’t have to be this way. Many of the variables included are not even used in the query. Here are the basics:
What you should know is that you always start with: http://www.google.com/search?. This tells Google it’s an advanced search and that there are some variables to come. Besides, remember that all the variables must be connected with ampersands (&; ex. as_q=nintendo+wii&hl=ro) and if you want to use more than one search terms just use ‘+’ (ex. nintendo+wii) between them. Speaking of variables here are the most important tags you can use:
as_oq -> This tells Google to find pages in which at least instance of nintendo OR wii is found
as_q -> This means that you look for nintendo and wii in the same page
as_epq -> Google translates this as a Google search of “nintendo wii”, searches the exact phrase ‘nintendo wii’
num -> The number of results you want displayed, it ranges from 0 to 100. If you set num to 0 you will get the ‘No match found” message
safe -> If you set this to active the Google Safe Search is on and the adult material will be filtered
as_eq -> Use this to exclude a term from your search
as_qdr -> Shows only results that have been updated in the given time interval. Possible values: y (year), m6 (6 months), m3 (3 months).
as_sitesearch -> Limits the search to a specific domain or TLD (.us; .gov; .co.uk; .ro; etc)
as_occt -> This is set by default to ‘any’ but if you change it you can search in: title, url, links
The goal of this article is not exactly for you to use from now on hand-made search URLs but yo better understand how the Google search engine works and if you please to create some URLs for yourself.
Examples:
http://www.google.com/search?as_q=nintendo&as_eq=wii&as_sitesearch=.com&
num=50&as_occt=title&as_qdr=m3 -> Note that when you create your own URL it should not be this long as you can easily get lost in all the variables used
http://www.google.com/search?as_q=nintendo+wii&as_sitesearch=.com
http://www.google.com/search?as_q=nintendo&as_eq=wii&as_sitesearch=.com
For more information regarding Google searches take a look at: Pro guide to Google searches. Part I and Pro guide to Google searches. Part II.
Featured tags: google search tipsSphere this entry»
Related Posts
- Searching tips for lazy people: Use "all-in-one" websites
- Pro guide to Google searches. Part II
- 10 things you should know before submitting your site to Google
- Pro guide to Google searches. Part I
- Search Gmail geek-style
- Google scores 61% of the search market
- 9 funny versions of Google's front page
- Gates not worried about Google in mobile software market
- Google and Belgian newspapers reach compromise
- Google changes nationality of villagers
Trackbacks
- The Source Computing Blog » Google search URL’s revealed. Learn to create your own search URL
- Google search URL’s revealed. Learn to create your own search URL « Universe_JDJ’s News Blog
- The Inveterate Observer » Blog Archive » Google search URL’s revealed. Learn to create your own search URL
- error is the mother of all inventions
- Kishor Krishnamoorthi’s Website » Blog Archive » Studying…..
- links for 2007-04-22 | After The Dot Net

















Comments
Thank you for taking the time to lay this out. I have been curious, but not enough to figure it out myself.
Great tips. Never did bother to pay attention to the URL format.
i dont see how this helps anyone. its simply easier to actually search something on google than the recreate their search formula.
An experienced user like myself didn’t bother to find this out so thanks for giving us this insight. :)
http://www.google.com/search?q=QUERY_TEXT
Done.
this is common sense man… it doesn’t you the implementation details. so fscked up!
This site is very very good. No, really how did this site get on digg twice in the past day? Wtf this isn’t that interesting….
Good little tip…but it would be good if someone could then take that info and create a firefox plug-in or website that can create the urls dynamically….then I might start to play around with them. Lazy …YES. Thanks for the tips though.
EDIT: please do not advertise
Thanks for the tip made an interesting read also
EDIT: please do not advertise
easier to just goto
http://www.google.ca/search?q=[keyword]
you can replace [keyword] with:
site:[url] - find sites from a url
intext:[text] - find specific text in sites
and so forth
google’s hidden private project
see http://devshots.com
Although analyzing Google urls doesn’t help by anything, some experts do like to know this information. Thank you for sharing!
Its way too hard to analyze the urls and expect to figure how their technology work.
I just use sesql it works out the search for me
Interesting article however i don’t think i can handle the trouble of understanding or even making my own search url.
“Interesting article however i don’t think i can handle the trouble of understanding or even making my own search url.”
^^I see where you’re coming from, but from what I’ve been hearing, It can be worth it. You should give it a shot.
Good read BTW.