How I lost all my images on Google Image search: the perils of default settings

Although I like to consider myself quite well versed in the art of SEO and visibility on the web, I did have a ‘slap-forehead-moment’ a few weeks back. I’d recently reinstalled Drupal (which this site runs on) to the latest version. However, what I failed to remember was that I’d created my own robots.txt and .htaccess files to allow Google Image search to pick up on the 500+ images stored on this site. When I reinstalled Drupal, by default it overwrote the .htaccess and came with its own restrictive robots.txt which hides the photo storage folder. Bang, Google obeyed and removed all the images from its Google Image search database.