If you found meta-externalagent in your server logs or your host’s bot report, it’s Meta’s AI crawler. It’s not an attack, and on most sites it’s harmless. On one online store we host, though, it was pressing add-to-cart thousands of times a day.
This guide covers what meta-externalagent is, how it differs from Meta’s other crawlers, whether to block it, and how to stop bot traffic from slowing your site down without shutting out the bots you want. The full story of that store, with its server logs, is in Jacob’s write-up on bot traffic.
What is meta-externalagent?
Meta’s web crawler for AI. Meta says it crawls the web to train its AI models and to improve its products by indexing content directly.
That wording comes from Meta’s own web crawler documentation, which says the crawler “crawls the web for use cases such as training foundation AI models or improving products by indexing content directly.” In your logs its user agent starts like this, sometimes followed by a link to that page:
meta-externalagent/1.1The version number can change, so search your logs for the name meta-externalagent rather than the whole string. Like most crawlers, it doesn’t run your analytics script, so you usually won’t see it in Google Analytics. It only shows up in server logs and in your host’s or firewall’s bot reports.
What are Meta’s other crawlers?
Meta lists five crawlers. The key one is facebookexternalhit, which builds your link previews. Block it and shared links look broken on Facebook.
Each crawler has its own job, and you can allow or block each one separately in robots.txt. Here is what Meta says each one does:
| Crawler | What Meta says it does, and our advice |
|---|---|
| facebookexternalhit | Fetches pages shared on Facebook, Instagram or Messenger to show their title, description and thumbnail. Never block it. It’s your link previews. |
| meta-externalagent | Training foundation AI models, or improving products by indexing content directly. Your choice. Blocking it doesn’t affect previews or Google. |
| meta-webindexer | Improving Meta AI search results. Meta says allowing it “helps us cite and link to your content.” Keep it if you want Meta AI to cite you. |
| meta-externalads | Improving advertising and other business-related products. Your choice. Meta doesn’t say how blocking it affects ads. |
| meta-externalfetcher | Fetches single links when a user asks Meta’s AI to, including agentic tasks. Robots.txt may not stop it. |
Two of them don’t always follow robots.txt. Meta says meta-externalfetcher “may bypass robots.txt rules” because a person asked for the page, and that facebookexternalhit “might bypass robots.txt” when it checks a link for malware. Meta-externalagent isn’t on that list, so a robots.txt rule for it should be respected.
Should you block meta-externalagent?
Block it if you don’t want Meta’s AI trained on your content. It won’t affect Google or link previews. Slowdowns need a different fix.
If meta-externalagent only reads a few pages a day, it costs your server nothing you’d notice, and the question is whether you want your content in Meta’s AI models. Plenty of businesses are happy to be in them, and some aren’t.
The case where it matters is speed. A crawler that requests thousands of pages an hour can slow a small hosting plan to a crawl. Blocking it stops that one crawler, but the cause is usually a part of your site that creates endless URLs, like shop filters or add-to-cart links, and every other crawler can fall into the same trap. On the store below we blocked no one and still cut the bot load to a trickle.
Our default
We don’t block AI crawlers on the sites we host unless the owner asks. We fix the crawl traps instead, so the site stays fast and can still show up in AI answers.
How do you block meta-externalagent?
Add a meta-externalagent rule to robots.txt that disallows everything. Meta says it can take up to 24 hours to notice, since it caches robots.txt.
Your robots.txt file lives at yourdomain.com/robots.txt. Add this group to it:
User-agent: meta-externalagent
Disallow: /That blocks only meta-externalagent. Googlebot, Bingbot and facebookexternalhit read their own rules, so they aren’t affected. To block part of the site instead, list just those folders, for example Disallow: /shop/.
On WordPress, SEO plugins like Rank Math and Yoast have a robots.txt editor, so you don’t need server access. Check the live file in a browser afterward to make sure your change is there.
Robots.txt works on trust. Crawlers from big companies follow it, and scrapers that fake their name ignore it. If something keeps hitting your site after a robots.txt block, the next step is a firewall rule at your host or at Cloudflare. Match it on the bot’s name, never on a browser version (the store below shows why).
How do you check if meta-externalagent is hitting your site?
Search your server’s access log for meta-externalagent, then count requests per hour and the URLs it asks for. Your host can do this for you.
If you have SSH access, these two commands answer most of it. The first counts the crawler’s requests, the second lists the pages it asked for most:
grep -c "meta-externalagent" access.log
grep "meta-externalagent" access.log | awk '{print $7}' | sort | uniq -c | sort -rn | head -20Swap in GPTBot, bingbot or any other name to compare. What you’re looking for:
- Requests per hour. A few hundred a day is normal. Thousands an hour on a small site is a problem.
- The same page with endless variations. URLs like
/shop/?filter=a,b,cwith a different mix each time mean the crawler is stuck in your filters. - Cart and checkout links. Any
?add-to-cart=request from a bot is creating work for your database. - Errors. If real visitors are getting 503 or 508 errors at the same times, the bots are using up your hosting plan.
On shared hosting you may not have the raw log. Most control panels show a “Raw Access” or “Visitors” report, and a good host will pull the numbers if you ask.
What happened when meta-externalagent hit our client’s store?
Meta’s crawler made 4,701 add-to-cart requests in one day on Revive Peptides, each creating a cart. Fixing the shop’s links stopped it, without blocking Meta.
Revive Peptides is a WooCommerce store. When the owner first called us, the site kept going down on its old shared host with “508” errors, the processor stuck at 100% and the account hitting its 20-process limit. Someone had also added a bot-blocking rule that matched the version number of the current Chrome and Edge, so real shoppers on up-to-date browsers got a “Forbidden” page. We removed that line within about half an hour of the first call.
We moved the store to our servers on November 24, 2026, and the bots came with it. Here is what the access log showed over 11 hours on November 25, before the fix:
| Who | Requests in 11 hours | What it was hitting |
|---|---|---|
| GPTBot (OpenAI) | 35,292 | 99.9% filtered shop pages |
| Real browsers (people) | 10,389 | Normal pages |
| meta-externalagent (Meta) | 8,149 | Filtered pages and add-to-cart links |
| SE Ranking (SEO tool) | 3,170 | Shop pages |
The shop let visitors tick several categories at once, and every combination had its own link. Google’s documentation on faceted navigation warns that this kind of setup can create “infinite URL spaces.” The product grid also had plain add-to-cart links, so every one Meta’s crawler followed started a cart in the database. That day it made 4,701 of them, and by the time we cleaned up there were 20,641 bot cart sessions stored. The full logs and hour-by-hour numbers are in the write-up on jacobwonder.com.
We didn’t block GPTBot or Meta. We changed the store instead:
- Filter links are hidden from the page code until a shopper clicks, so crawlers don’t see thousands of combinations.
- Add-to-cart buttons in the product grid link to the product page. Shoppers still add to cart in one click.
- Filtered pages are set to noindex, disallowed in robots.txt, and bots that request one are sent to the plain category page.
- Cart, checkout and account pages are never cached, and everything else is.
- A server-side Meta Pixel cookie that was stopping every page from being cached now only runs where it’s needed.
After the fix and a cleanup, GPTBot dropped from about 3,200 requests an hour to about 80. All 2,761 add-to-cart requests Meta’s crawler made after that were redirected and created no cart. Pages load in about half a second, and the database went from 121 MB to 39 MB once the fake carts were cleared.
How do you stop bot traffic on your website?
Find which bots visit and what they request, remove the endless URLs they get stuck on, then block only the crawlers you don’t want.
This is the checklist we run when a site we host or maintain slows down under bot traffic:
- Read the logs per bot. Count requests by user agent and look at the top URLs for each one, as above.
- Turn add-to-cart links into buttons. In product grids, link to the product page or use a button that needs a click, so a crawler can’t create carts.
- Contain your filters. Noindex filtered pages, disallow the filter parameters in robots.txt, and keep the links out of the page until a visitor uses the filter.
- Check other endless pages too. Event calendars with a “next month” link that never ends, internal search results and combinable tag pages trap crawlers the same way.
- Make sure pages are cached. A cached page costs the server almost nothing, however many bots ask for it. Watch for cookies that quietly turn caching off.
- Block by bot name, never by browser version. Browsers update every few weeks, and a rule that matches a version number ends up blocking your customers.
- Use robots.txt for crawlers you don’t want. Meta-externalagent and GPTBot both honor it.
- Firewall the rest. Bots that ignore robots.txt or fake their name get blocked at Cloudflare or the server. Our post on whether Cloudflare is safe covers what it does for a small business.
- Clean up after. Delete the fake cart sessions and other junk the bots left in the database.
Online stores are hit hardest, because filters and carts create the most URLs. If you run a store in a niche like peptides, our guide to hosting for peptide websites covers what else to look for in a host.
Should you block AI crawlers in general?
Block training crawlers if you don’t want your content in AI models, but keep search crawlers so ChatGPT and Meta AI can still cite you.
OpenAI and Meta both split their crawlers by purpose. OpenAI says each setting is “independent of the others,” so you can allow OAI-SearchBot to show up in ChatGPT search while blocking GPTBot from training. It also warns that sites that block OAI-SearchBot “will not be shown in ChatGPT search answers.”
| Company | Crawler for AI training | Crawler for AI search and citations |
|---|---|---|
| OpenAI | GPTBot | OAI-SearchBot |
| Meta | meta-externalagent | meta-webindexer |
So a business that wants to stay out of training data but still be found in AI answers can block GPTBot and meta-externalagent and leave the other two alone:
User-agent: GPTBot
Disallow: /
User-agent: meta-externalagent
Disallow: /If customers already find you through ChatGPT or Meta AI, leave the search crawlers alone.
Frequently asked questions
Is meta-externalagent a bad bot?
No. It’s Meta’s own documented AI crawler and it follows robots.txt. It can still overload a site that has endless filter or cart links. Anyone can fake a bot’s name, so a firewall rule is the backup for imposters.
Will blocking meta-externalagent break Facebook link previews?
No. Link previews come from a different crawler, facebookexternalhit. Blocking meta-externalagent in robots.txt doesn’t touch it.
Does blocking meta-externalagent affect Google rankings?
No. A robots.txt group for meta-externalagent only applies to that crawler. Googlebot reads its own rules.
How long does it take Meta to respect a robots.txt change?
Up to 24 hours. Meta says its crawlers may cache your robots.txt file for that long.
What is the difference between meta-externalagent and meta-externalfetcher?
Meta-externalagent crawls the web on its own for AI training and indexing. Meta-externalfetcher fetches a single page when a user asks Meta’s AI to, and Meta says it may bypass robots.txt.
How do I stop bots from adding products to my cart?
Make the add-to-cart buttons in product grids link to the product page, or require a click, and redirect bots that request add-to-cart URLs. Then delete the fake cart sessions already in your database.
Need a hand?
Bots slowing your site down?
We’ll read your server logs, find what the bots are stuck on and fix it without shutting out Google or AI search. Our hosting with monthly maintenance is $115 a month, or our maintenance plan is $100 a month on the host you already have. Tell us about your site or call (919) 444-2005.
