Archive for the ‘Search Tips’ Category

February 12, 2009

Fighting Duplication: Adding more arrows to your quiver

Avoiding duplicates in the search engine index has consistently been a key concern we’ve heard from webmasters and site owners. Over the last few years, we have made significant strides in finding duplicates in our crawler and index algorithmically and provided webmasters with better tools for controlling these. Today we are announcing our support for a new HTML tag, the <link> tag, which helps reduce duplicates by documenting the preferred URL form to access each page.

When you use the <link> tag, you can indicate the canonical URL form for crawlers to use for each page of content, no matter how it was retrieved. This puts the preferred URL form with the content so that it is always available to the crawler, no matter which session id, link parameter, sort parameter, parameter order, or other source of variance is present in the URL form used to access the page.

To do this, specify a <link> tag in the <head> section of your page content:

<link rel=”canonical” href=”http://www.example.com/products” />

The above tag indicates to the crawler that the URL it is present on should be represented canonically as http://www.example.com/products. This would eliminate the following duplicates:

http://www.example.com/products?trackingid=feed
http://www.example.com/products?sessionid=hgjkeor2
http://www.example.com/products?printable=yes&trackingid=footer

A few technical details:

• The URL paths in the <link> tag can be absolute or relative, though we recommend using absolute paths to avoid any chance of errors.

• A <link> tag can only point to a canonical URL form within the same domain and not across domains. For example, a tag on http://test.example.com can point to a URL on http://www.example.com but not on http://yahoo.com or any other domain.

• The <link> tag will be treated similarly to a 301 redirect, in terms of transferring link references and other effects to the canonical form of the page.

• We will use the tag information as provided, but we’ll also use algorithmic mechanisms to avoid situations where we think the tag was not used as intended. For example, if the canonical form is non-existent, returns an error or a 404, or if the content on the source and target was substantially distinct and unique, the canonical link may be considered erroneous and deferred.

• The tag is transitive. That is, if URL A marks B as canonical, and B marks C as canonical, we’ll treat C as canonical for both A and B, though we will break infinite chains and other issues.

For several years, we have had a clear policy on handling redirects that allows you to take control of how crawlers and browsers relate between pages on your site. Another useful tool for eliminating spurious dynamic URLs and avoiding content duplication is the Rewrite Dynamic URLs feature of Site Explorer. All you need to do is authenticate your site in Site Explorer, which can now be done instantly, and then create a URL Rewriting rule. The benefit of this approach is that Yahoo! does not need to crawl your duplicate pages to discover the canonical relationships. The <link> tag provides you with another resource to use, and is also being supported by our other partners in the Sitemaps effort, Google and Microsoft.

We recommend that you structure your site with normalized URLs and minimum duplication, or use 301s if need be. If those don’t work for you, try Site Explorer and/or the <link> tag. Our support for the <link> tag will be implemented over the coming months. Let us know if you have any questions on our Site Explorer Suggestion Board.

Priyank Garg
Director Product Management
Yahoo! Search

October 25, 2007

Top Time-Saving Yahoo! Search Tips

When it comes to the Web, there’s nothing wrong with cutting a few corners. That’s why we decided to focus today’s post on some time-saving tips for your next search. Some may seem obvious; others you may already know and use. But we hope a few will help you cut through the chase. You can find a full list of shortcuts and search tips here.

1. Square Brackets, “inurl,” “originurlextension,” and Site Restriction
To get a more targeted search, try these tricks out:

  • Words within square brackets — adding square brackets to your search makes the keyword match order dependent. So typing in ‘[Jack Black]‘ will return results such as ‘jack with black’ but not ‘black jack.’
  • “inurl” — if you want to be sure that a specific term will appear in the site’s URL, use the “inurl:[query]” operator. For example: ‘inurl:iPod.’
  • Site restriction — to restrict your search to pages within a specific domain, use the “site:[domain]” operator, followed by your query. For instance: ‘Site:Apple.com iPod.’
  • “orginurlextension” — to search on specific file types, add ‘originurlextension:[file format]‘ after your search query. For example: ‘nanotechnology originurlextension:swf‘ OR ‘nanotechnology originurlextension:pdf.’

2. Package Tracking
Did you know that you can track your packages right in Yahoo! Search? Here’s How it works:

  • For UPS packages, simply type in your tracking number
  • For FedEx or the U.S. Postal Service, just add the name before the tracking number. For example: ‘FedEx [tracking number]‘ or ‘USPS [tracking number]‘

3. Definitions & Synonyms
To look up the definition of a word, try adding “define” or “definition” to your search term. For example: ‘quixotic definition,’ ‘definition of globalization‘ or ‘define ergonomics.’ Or, if you’re looking for a synonym, try adding “synonym” to your search term. For example: ‘humorous synonym.’

4. Exclude Terms, Either/Or and Exact Phrase Match
This one’s been around for a while, but a few simple operators can be a huge time-saver:

  • Exclude terms — if you want a term to be excluded from your results, use a minus sign before it. ‘Simpsons -movie‘ returns results for “The Simpsons” TV show, books, games, etc., but not the movie.
  • Either/or — by default, all of the words you use in a search are included in the results. If you want to be more flexible, try adding “OR” (note the capitalization) between two terms. For example: ‘Sony laptops OR notebooks‘ gives you results containing either “Sony laptops” or “Sony notebooks.”
  • Exact phrase match — if you want results to contain an exact phrase, put quotation marks around it: “Queen Elizabeth I”.

You can also combine these tricks for even more refined searches. Try: ‘“Sony VAIO” laptops OR notebooks.’

5. Travel
With the holidays approaching, many of us have travel on our minds. Here are a few shortcuts to get you to your destination even faster:

  • Flight tracker — search for the airline and flight number and you’ll get a shortcut to the flight’s status. Try: ‘American 83‘ or ‘Lufthansa 421.’
  • Traffic — if you’re driving instead of flying, you can search for traffic before you leave. Example: ‘traffic Los Angeles.’ Click on the shortcut and you’ll get a map with traffic alerts.
  • Maps — try searching for the exact address: ‘1600 Pennsylvania Avenue, Washington, DC.’ Don’t have the address? No problem. Add “map” before the city: ‘map San Francisco.’ You can also search for the zip code by itself: ‘20502.’

You can go here to check out more handy travel shortcuts.

Map Penn Ave

6. Yahoo! Services
If you’re looking for a Yahoo! site, simply add an exclamation point after the site name and voila! Try it out with ‘Mail!,’ ‘News!,’ ‘Sports!,’ or ‘Finance!

7. Yahoo! Open Shortcuts
Yahoo! Open Shortcuts are the ultimate time-saving search feature. Add an exclamation point to the front of certain terms to instantly navigate to a URL, search a site, recall a favorite Yahoo! search, or start an application.

  • !wiki queen elizabeth‘ takes you directly to the Wikipedia page for Queen Elizabeth.
  • !wsf‘ gives you the Yahoo! Search results for “weather San Francisco.”
  • !clist‘ takes you to Craigslist.
  • !ebay lamps‘ searches eBay for lamps.

Search for ‘!list‘ to see a bunch more. Those examples have already been set up for everyone to use, but the real power is that YOU can create your own customized shortcuts.

Have new ideas or suggestions for us? Let us know in the comments below. We’re always looking for ways to make Yahoo! Search more efficient for you.

Michael Chu
Yahoo! Search

June 20, 2007

Yahoo! Shortcuts: Illumination @ the Point of Inspiration

Staying focused on a task at hand in a world of information overload is really challenging these days. Every piece of information is an opportunity to disrupt my flow. I often find myself reading an article and asking questions like, “Where is Solihull?” or “What does ‘ARM’ stand for?” Then, I proceed on a 45 minute search to find answers, only to return asking myself again, “Where did all my time go and what was I looking for anyways?”

To solve this problem for me and a few hundred million users Reiner Kraft and his engineering team — folks who have been researching these types of problems for years — developed Yahoo! Shortcuts to make the vision of delivering relevant content and services at the point of inspiration a reality. You may have seen the post on the precursor to Yahoo! Shortcuts, Y!Q.

At the beginning of the year we worked with the Yahoo! Mail team to launch Yahoo! Shortcuts for mail. I knew we had something interesting when it passed the “wife-test” (my wife serves as a great barometer for whether a feature is actually useful). A few weekends ago we were headed into the city for a concert and my wife’s friend had forwarded her the venue address. I glanced over to find that Yahoo! Shortcuts had detected the location and provided the exact cross-streets for the venue in a map similar to the one below. There was no need for her to pull-up a new browser window, navigate to a maps site, then copy and paste the address. It was all right there for her in this mini-map without her ever leaving the email.

map-screencapture.png

solihull-second-map-final.png

It didn’t stop with Yahoo! Mail. Yahoo! Finance and parts of Yahoo! Travel also rolled out Yahoo! Shortcuts. Whether reading up on financial information or planning a vacation, the shortcuts offer added details in various online searches. And, most recently, Yahoo! News has also rolled out the shortcuts (many thanks to Rob Hall and the entire Yahoo! News team).

So, when you’re reading a story on Yahoo! News and have no idea where Solihull is (myself included), or you just want to know more about what the Federal Reserve Board does, Y! Shortcuts can provide you with the quick answers you’re looking for.

Whenever a jagged underline appears under a term, such as ‘Federal Reserve’ in the story below, simply click on it to see contextually relevant content in related news, photos, videos, web search results, maps, and more. If you know what type of content you want, just mouse over the term for a menu of options.

federal_reserve_shortcuts_screencap2.png

Yahoo! Shortcuts is about providing users with the information desired at the precise moment they want it — from instant satisfaction of a passing curiosity to the ability to gain a deeper understanding of current events.

We are just getting started with Yahoo! Shortcuts and, as always, we welcome your feedback in the comments below. Which websites would you like to see Yahoo! Shortcuts deployed to? Any ideas for what content we could include in Yahoo! Shortcuts that would make you say “Wow!”? The floor is open.

Ariel Seidman
Yahoo! Search

March 14, 2007

Let the Madness Begin in Yahoo! Search

It’s that time of the year again where office pools make their rounds in the spirit of friendly competition and folks everywhere partake in the madness of the NCAA Men’s Basketball Tournament. With sixty five teams competing within three weeks for the top slot, it’s no wonder this tournament has so many inspired nicknames. For fans (and for those of you with skin in the game), we added a new shortcut to Yahoo! Search that provides a quick and easy way to stay on top of the games. Search for March Madness and get to where you want to go in one click. Check it out:

mm_shortcut.jpg

We’ve included seed numbers, game times, and when the games are in play, real-time scores. If you prefer, you can use our existing score shortcuts to get updates on a particular team. For example, try Gators score, UCLA score and Duke score.

For those of you who are a novice in a pool, Yahoo! Sports can help you get ready for tip off. We have some more sport shortcuts in the works to add to our growing list of shortcuts, so let us know if you’ve got any ideas and thoughts for others.

Carlos Teran
Product Manager, Yahoo! Search

October 27, 2006

More Open Shortcuts!

Last winter, we released a beta of Open Shortcuts, a way to create your own custom keywords that take you directly to a site, a search, or start a task right from the search box. As Open Shortcuts increases in popularity, we’re increasing the number of Open Shortcuts per user to 60.

To catch up, Open Shortcuts fans have been creating and using lots of shortcuts. Of note, last month, Steve Rubel wrote a great post on Open Shortcuts, and even included a handy list of Open Shortcuts to share, conveniently linked to make them easy to add to your own shortcuts list.

We didn’t get around to thanking Steve at the time, so now seems good. So, here’s an Open Shortcut to Steve’s blog!

! rubel

Steve addresses an important question – how do I share my shortcuts with folks? The same conversation occurred recently on one of our internal developer lists, with people sending out their list of Open Shortcuts for people to share. So here’s a quick review of Open Shortcuts – how to use ‘em, and how to share ‘em.

Using Open Shortcuts
We created a number of shortcuts to get you started, such as navigating to Craigslist: !clist; searching on Flickr: !flickr; or starting an application such as Notepad: !note. For a quick refresher, the Open Shortcuts FAQ has a couple of questions that’ll get you started.

Creating Your Own Open Shortcuts
There are a couple ways to create more shortcuts – directly from the search box by typing !set shortcut_name URL, for example, and the other by using a form we provide. In both cases, you are prompted to confirm you’d like to set these up, and that URL can be used to share shortcuts with folks (like the new shortcut for Steve, above). We have a FAQ that explains this.

As a reminder, you can use the following keywords to view and edit shortcuts:

  • !list Lists all your personal shortcuts and defaults
  • !unset Removes shortcut_name from your list of shortcuts
  • !help Displays Open Shortcuts Help page

That’s it for now. If you’d like to share your Open Shortcuts, please consider posting them to our forum, or drop us a note below.

Thanks again, and please stay tuned for more updates coming soon!

Don Chennavasin
Yahoo! Search Product Manager

July 18, 2006

Finding Home Values in Web Search

With all the recent discussion on where home prices are heading, we saw a great opportunity to improve our home valuation product on Yahoo! Real Estate. We?ve integrated our product with Zillow.com to provide users with free instant home value estimates and comparable home valuations for millions of homes in the U.S.

We also made it very easy to get your estimated home valuation: just go to Yahoo! Search and search for ‘home values?. You can then refine your search with a Yahoo! Shortcut by entering any street address and city/state or ZIP to get the estimated value on Yahoo! Real Estate.

The home values page includes a map with your searched home, along with 10 comparables, and has a table showing each home?s Zestimate (estimated home value) and 1 week value change. We?re using Yahoo! Maps which provides satellite imagery in case you want to see what the neighborhood looks like. And we also provide a graph to show historical price trends and a link to Yahoo! Answers so you can ask questions on real estate and home values.

So go check your home?s value (or any home for that matter–your neighbor?s, your boss’ … you get the picture) and let us know what you think.

Fred Bao, Technical Yahoo!
Carlos Teran, Product Manager Yahoo! Real Estate
Yi Zhang, Engineering, Technical Yahoo!

December 19, 2005

Time Saving Search Shortcuts

I’m addicted to shortcuts. Shave 5 minutes from my commute by exiting 2 streets early and cutting through the back roads? I’m there. And with the Internet I’m always looking for ways to do things faster.

Fortunately, one of our engineers, Kannan, is equally impatient. He came up with the idea to open up Yahoo! Search Shortcuts so that anyone can create their very own shortcuts.

Open Shortcuts (beta) are custom keywords that take you directly to a site, a search, or start a task right from the search box. In Unix speak: if the search box is the command-line of the web, shortcuts are aliases.

To use an Open Shortcut, you type ! (exclamation point) followed by the name of the shortcut in the Yahoo! Search box. For example, type: !ebay lamps. This takes you directly to www.ebay.com and searches for lamps.

You can create your own shortcuts to:

  • Instantly navigate to any URL on the Internet
  • Easily recall common searches on Yahoo!
  • Quickly search favorite sites
  • Jump start frequently used Internet applications

We already developed a few Open Shortcuts to demonstrate how you might use them:

  • Navigation example, type: !my to navigate to “http://my.yahoo.com”
  • Common Searches example, type: !wsf to search “weather san francisco” on Yahoo!
  • Search example, type: !wiki rozier to search for “rozier” on Wikipedia
  • Application example, type: !mail bill@yahoo.com to compose a Y! Mail to “bill@yahoo.com”

To get started, read the instructions for creating an Open Shortcut and play around with ‘em..

If a few months from now you can’t remember what shortcuts you created, just type !list and get a list of your Open Shortcuts.

Like or dislike, let us know what you think–are they helpful? What more would you like to do with them? We’ll enhance and expand Open Shortcuts over time with your feedback.

Don Chennavasin
Product Manager, Yahoo! Search Shortcuts

Lalgudi Kannan
Technical Yahoo!

December 02, 2005

Y!Q in Firefox, and Hacks Galore

Update: The Y!Q Greasemonkey script is now compatible with both Firefox 1.0 and Firefox 1.5. Thanks to everyone for your feedback! The “official” link to the script from the Y!Q site will be updated later this week. In the meantime, simply make sure you have Greasemonkey installed, then right-click here to install the latest version of the Y!Q script.

Back in August, we announced that href="http://yq.search.yahoo.com/">Y!Q had been integrated into Yahoo! Toolbar for Internet Explorer, enabling Toolbar users to select text on any Web page and get related search results on the spot — the latest embodiment of Y!Q’s mission to enable search “at the point of inspiration.” Firefox users quickly responded, “Great, but what about us?” Well, we heard you — just install the Y!Q Greasemonkey script, and you’ll be able to perform a Y!Q search whenever — and wherever — the spirit moves you.

Also cool is the way the Y!Q Greasemonkey script came about: Jayanth, a former member of the Y!Q team who is now working on another project at Yahoo!, hatched the idea and ran with it on his own, one of many cool hacks coming from the team lately born from the vision and passion of one individual or small teams of like minded developers.

While we’re on that subject, the Term Extraction and Contextual Search Web Services (Y!Q’s close cousins over at the Yahoo! Developer Network) continue to fuel the imagination of internal and external “hackers” alike. Check out TagCloud.com (the evolution of a cool idea that we blogged about earlier this year), the Local Events Browser, a really slick, internally developed mashup that showcases a whole range of Yahoo! APIs (including the amazing new Yahoo! Maps APIs), and Matt Biddulph’s intriguing use of term extraction to identify and visualize relationships expressed in unstructured Web content.

Stay tuned for more exciting news from the Contextual Search team in the coming months. In the meantime, don’t be shy — we welcome your thoughts and suggestions for Y!Q, and would love to hear about your innovative uses of our Web Services.

Gray Norton
Product Manager, Contextual Search

October 21, 2005

Video Search To Go!

As I eagerly await the arrival of my brand-spanking-new 60gb white
Video iPod (for research
purposes only, I assure my manager), I’ve been thinking about how I
can fill my new device up with content, and I imagine many of you are
doing the same.

Since I wanted to fill my new gadget as quickly as possible with
video files found with Yahoo!
Video Search
, I realized that this would be a good time to mention
that you can use the Media
RSS
feed from our href="http://developer.yahoo.net/search/video/V1/videoSearch.html">Web
Services API to easily pull in Yahoo! Video Search results as a
video podcast with href="http://www.apple.com/itunes/">iTunes 6, and from there you
can move them to your iPod. (So you can still use this feature with
iTunes 6 even if your Video iPod hasn’t arrived yet).

Here’s what you need to do:

Step 1. Enter the video search search term you
want results for (for example, “stunts”) into our handy Media RSS feed
generator below and watch as the feed URL automagically appears.

Yahoo! Video Search RSS URL Generator

Enter search term(s):
September 20, 2005

Fewer clicks, more answers…

These days, search has become such a fact of life, that everybody I talk to takes it completely for granted.

But it seems like every week I’m reminded why its so much fun working on a search engine that is used daily by millions of people, and most importantly by friends and neighbors and that lady in the store down the street. Take, for instance, last week …

I was out for coffee at the local Starbucks when the guy ahead of us in the line had lost the piece of paper with directions to the restaurant he was meeting friends at … and I was extremely happy to show him this:

So not only did it take me just one search to get the address and phone number, but now he has the listing and directions right on his cell phone … :)

What was that? It is a new feature in our abstract generating algorithm that tries to guess the most used information about that page, and promotes it into the summaries for search results. Not only do we try to figure out the most used information on the page, but we also integrate relevant features from other parts of Yahoo!. For instance, in the example above, you can see that we have found Maps & Reviews on Yahoo! Local, and also found that Yahoo! Local can send the address and phone number to your mobile phone – so thats there too! But of course, its not always just content from Yahoo! – we also use content from the site itself if that’s more relevant – try searching for Wal-Mart or 511 or FedEx

Whaddyathink? Go ahead! Try it out. And perhaps next time you need directions for that restaurant, or suddenly crave some ice-cream (or coffee), or want a quick look to see if you won the lottery, and maybe (just maybe) see if the lottery money somehow made it into your bank account Yahoo! Search might have the answer right there for you.

Kalpana Ravinarayanan

Product Manager, Yahooo! Search