RSS |

SEO and Social Media

SEO and Social Media Marketing Blog

One of the greatest (mostly) unknown abilities of robots.txt is wildcard pattern matching. We know how robots.txt can block files and directories from being crawled, but in the case of URLs with unique paramaters and duplicate content issues, did you know that Google and Yahoo respect wildcards (this was verified by connections at the engines – but MSN said they do not respect pattern matching “at this time”).

If you have URLs with unique parameters – for example, UTM with Google analytics, paid search tags, and so on – you can create a robots.txt entry like this:

User-agent: *
Disallow: /*utm

How cool is that? Remember, this only should be employed if you have very unique parameters. If your parameters are keyworded, and that keyword appears as other directories or page names, they will get blocked too… quite possibly to your dismay.

More from Google’s Webmaster Blog.

Popularity: 6% [?]

These icons link to social bookmarking sites where readers can share and discover new web pages.
  • Digg
  • Sphinn
  • del.icio.us
  • Facebook
  • Mixx
  • Google
  • Ma.gnolia
  • Reddit
  • StumbleUpon
  • Technorati
  • BlinkList
  • blogmarks
  • Blogsvine
  • Live
  • NewsVine
  • Slashdot
  • Spurl

Comments

There are 3 comments for this post.

  1. seojedi on April 22, 2008 9:39 pm

    Bill, you just saved me tons of hours coding conditional redirects!

  2. Premal on April 22, 2008 9:47 pm

    What is matt cutts’ email address? I assume he’s your contact, eh?

  3. Bill on April 22, 2008 9:50 pm

    No. Wrong sex. My contact is not Matt Cutts. But I did discover this on the Google Blog to help add validity.

Write a Comment

CommentLuv Enabled