Every public website gets visitors that are not people. Some are useful, like the crawlers that put you on Google. Others fill in your contact form with junk, or copy your pages, or poke at your login. A small site is not too small to be noticed, because the software doing it does not choose targets by size.

This article is about telling those apart, and about what a developer can and cannot honestly promise to do about them. I am a web developer, not a lawyer or a security auditor, and I only claim below what the linked sources say.

The short version

  • Bots are normal. Automated traffic is a constant background condition for any public site, not a sign you did something wrong.
  • A user-agent name proves nothing. A request that says it is Googlebot can be anyone. There is a proper way to check.
  • robots.txt is a request, not a lock. It asks well-behaved crawlers to stay away. It does not hide or protect anything.
  • A form's bot check has to happen on the server. A widget on the page that nobody verifies behind the scenes protects nothing.
  • No bot defence is perfect. Ask what is checked, what happens when it fails, and who sees the failure.

Why a small site gets bot traffic at all

OWASP, the non-profit security community, keeps a project cataloguing automated attacks on web applications. It describes them this way: "Web applications are subjected to unwanted automated usage – day in, day out." It also makes a point I find useful: often these events relate to "misuse of inherent valid functionality, rather than the attempted exploitation of unmitigated vulnerabilities."

In plain terms, a bot filling in your contact form is not breaking in. It is using the form exactly as built, just not the way you meant. That is why bots cannot be fixed by "patching" the site. The form has to be designed with the assumption that some of what arrives is not from a customer.

OWASP also notes that heavy misuse is often reported as a denial-of-service attack when the slowdown is really a side effect. So a site that gets slow is not automatically under attack, and a site under strain from bots is not automatically hacked. Those are different problems with different fixes.

"Googlebot" in your logs may not be Googlebot

If you or your developer ever read the server logs, you will see names attached to each request. Google's own documentation warns that the user-agent header Googlebot uses "is often spoofed by other crawlers," and that "it's important to verify that a problematic request actually comes from Google."

The check Google describes is a reverse DNS lookup on the request's IP address, or matching the address against Google's published list of crawler ranges. Google's verification page says this is useful if you are worried that "spammers or other troublemakers are accessing your site while claiming to be from Google."

Why does this matter to you? Because blocking the real Googlebot by mistake can make you disappear from search, and trusting the fake one lets junk through. Anyone who says "I blocked the bad bots" should be able to say how they told the difference.

robots.txt is a request, not a lock

Many owners are told to "put it in robots.txt" to keep something private. Google's guide says plainly that a robots.txt file "is not a mechanism for keeping a web page out of Google," and warns: "Don't use a robots.txt file as a means to hide your web pages." It adds that the instructions "cannot enforce crawler behavior to your site; it's up to the crawler to obey them."

Google's crawlers follow it for automatic crawls. Some Google fetchers do not: a fetch triggered by a person is described as ignoring robots.txt rules. And a rogue bot can ignore it entirely.

So if a page should not be seen, the page has to be protected, not just listed in a text file. Google's own advice is to block indexing with noindex or to password-protect the page. Things like customer lists, draft pages and order data belong behind a login, not behind a polite request.

Spam in your contact form

The common defence is a bot check such as Cloudflare Turnstile, which is meant to tell a person from a script. The detail that matters is where the check is enforced. Cloudflare's documentation says it directly: "The client-side widget alone does not protect your forms." The site must also send the token to Cloudflare's Siteverify service from the server and act on the answer.

The reason is stated just as plainly: "Tokens can be forged. An attacker can submit any string to your form endpoint without completing a challenge." A form that shows a nice widget but never verifies the result on the server looks protected and is not.

The same page notes that each token expires after five minutes and is meant for a single use. That is a reminder that this is a small piece of engineering with edge cases, not a checkbox you tick.

Two things follow for you as the owner:

  1. Failed checks can reject real people. If the check breaks, or is too strict, a genuine enquiry gets turned away without anyone noticing. A good setup makes that visible, for example by logging rejected submissions so someone can look.
  2. A bot check reduces spam, it does not abolish it. Expect some to get through, and decide in advance who deals with it.

Reading your numbers with bots in mind

Visitor counts, form submissions and even your "enquiries this month" can all be inflated by automated traffic. I have not verified exactly how every analytics product filters bots, so I will not claim it here. What I will say is that a sudden jump in visits with no extra enquiries, sales or phone calls is worth questioning before you celebrate it.

Better measures are the ones a bot cannot fake cheaply: calls, paid orders, booked appointments and enquiries that someone actually answered.

Questions to ask your developer

  • How does the site tell a person from a script on the forms, and is that checked on the server?
  • What happens to a submission that fails the check? Is it stored or thrown away?
  • Do you block anything by user-agent name, and how do you avoid blocking Google by accident?
  • Is anything private protected only by robots.txt?
  • When the site gets slow, how would you tell bots from real busy-ness?

A good answer is specific and admits the limits. "The bots are handled" is not an answer.

Where this leaves you

You do not need to fear bots, but you should not assume the site is quietly dealing with them either. If you want to talk through how your own forms and pages are protected, you can start at /hire, and I reply within one business day.