by Algorithus on WordPress.org
Disallow access to the root directory via robots.txt with an option to enable or disable.

This plugin allows you to easily control whether search engines are disallowed from accessing the root directory of your WordPress site by modifying the robots.txt file. You can enable or disable this functionality from the “Reading” settings page.