Home / WordPress / Google Advanced Search Variables Defined

Google Advanced Search Variables Defined

GoogleYou may not have ever used it before, but Google’s Advanced Search is pretty useful. If you want to make your own Google Advanced Search you can build your own querystring utilizing these variables:


as_qSearch all words
as_epqSearch exact phrase
as_oqAt least one of the words
as_eqWithout these words
numNumber of results
as_ftFiletype (i = include, e=exclude)
as_filetypepdf, ps, doc, xls, ppt, rtf
as_qdrLast updated (m3 = 3 months, m6 = 6months, y = 1 year)
as_occtOccurs (title, body, url, links, any)
as_dtDomain (i = include, e=exclude)
as_rightsCopyrights (cc_publicdomain|cc_attribute|cc_sharealike|cc_noncommercial|cc_nonderived)
as_rqsimilar to page
lrLanguage (lang_en is English)
as_lqfind pages that link to this page
safe=active for Safe Search

A couple of examples:
Find sites that link to my site:

Find 10 Excel documents uploaded in the last 3 months about compounding interest:

You can use these to build your own custom form if you’d like.

All of these options also convert to a notation that you can simply write in a Google Search text box as well:

Find sites that link to my site:

Find Excel documents about compounding interest:
compounding interest filetype:xls

Then you can get really good and search for sites with MP3’s from Beck (from Lifehacker):
-inurl:(htm|html|php) intitle:”index of” +”last modified” +”parent directory” +description +size +(mp3) “Beck”

Get Affordable WordPress Help Now

About Douglas Karr

Douglas Karr is the founder of The Marketing Technology Blog and recognized MarTech expert. Doug is a Keynote and Marketing Public Speaker. He's the CEO of DK New Media, an agency specializing in assisting marketing technology companies with their inbound marketing - leveraging social media, blogging, search engine optimization, pay per click and public relations. He's assisted SaaS companies like Angie's List, GoDaddy, Salesforce, Webtrends, and SmartFOCUS with their digital marketing and product strategies. Douglas is also the author of Corporate Blogging for Dummies.

Check Also

Web Forms Online

How to Automate Your Marketing Workflows for Increased Productivity

Are you struggling to boost productivity across your business? If so, you’re not alone. ServiceNow …


  1. School paper
    After reading your post i have a better understanding of what Google’s Advanced Search really is.Your post have the information that is helpful and very informative. I would like you to keep up the good work.You know how to make your post understandable for most of the people.
    Thumbs up and Thanks.

Leave a Reply