You would like to block a particular bot from crawling/indexing your site
Edit your store’s Robots.txt file.
- Log into your 3dcart Online Store Manager
- Using the left hand navigation menu, go to Marketing ->SEO Tools
- Locate and click on the link labeled “Edit Robots.txt File”
This page will have two distinct areas. Within the top half of the page, you will see the Robots.txt section containing your store’s regular robots.txt file. It should look like this:
# Disallow all crawlers access to certain pages.
If the robots.txt file does not look like the above, you may click on the “Restore Default Robots.txt” link along the bottom of the window to revert it to default.
Most bots are given a user-agent name that can be used in the Robots.txt file to block them from accessing the site. Provided you know the name of the bot in question, simply add the following to the Robots.txt file
# Block [name] from crawling site
- Simply replace the [name] above with the user-agent name of the offending bot.
- Click “Save” at the top right to commit your changes.
It should be noted that the robots.txt file rules are merely a guideline and don’t necessarily need to be followed by the bots. If the reason for blocking the bot is due to abuse or because the bot is crawling the site too much (and using up bandwidth), then it’s not very likely that they would follow robots.txt rules to begin with. Therefore, a better solution would be to use IP blocking to prevent the bot’s originatingIP blocking from accessing the site at all.