How to block search bots from accessing your site?
To block all bots from accessing your site, create a robots.txt file with the following content:
User-agent: *
Disallow: /
To block all bots from accessing a specific folder, apply the code as follows:
User-agent: *
Disallow: /folder/
Replace folder with the actual name of your folder.