How do you block robots in htaccess?

Blocking robots in your .htaccess file. To start, you’ll need to download your .htaccess file via FTP and take a copy of it in case you need to restore it later. The snippets below will show you how to block bots using either the IP address or the User-Agent string.
For More Information Please Refer:

You May Also Like to Read: