# To block a directory and everything in it, follow the directory name with a forward slash. ################################################################################################### Disallow: /photos/ #To specify matching the end of a URL, use $. For instance, to block any URLs that end with .xls: ################################################################################################### Disallow: /*.doc$ Disallow: /*.pdf$ Disallow: /*.xls$ Disallow: /*.txt$ Disallow: /*.rtf$ Disallow: /*.psd$