# Allow PerplexityBot if you want Perplexity visibility

- Check 31.05 · AI crawler access and data policy · Critical
- Source: https://checklist-seo-geo.com/en/ai-crawler-access-data-policy/allow-perplexitybot-if-you-want-perplexity-visibility
- Allow PerplexityBot in robots.txt and at the firewall, test its HTTP response with curl and check its official IPs to stay eligible for Perplexity.
- Updated on 2026-11-25
- Licence: CC BY 4.0. Credit “Checklist SEO & GEO” with a link to https://checklist-seo-geo.com/en/ai-crawler-access-data-policy/allow-perplexitybot-if-you-want-perplexity-visibility.
- Plugin checklist-seo-geo: 1.3.1 · https://github.com/maximegaul/checklist-seo-geo

## In short

PerplexityBot is the crawler that indexes sites so they can appear, with a link, in Perplexity's results. If this visibility is part of your policy, the crawler must be allowed in robots.txt and receive a 200 response end to end: server, CDN (Content Delivery Network) and WAF (Web Application Firewall). This check is conditional: only do it if you want to be visible in Perplexity.

## Why it matters

Perplexity documents two agents:

| Agent | Role | Relationship with robots.txt |
| --- | --- | --- |
| `PerplexityBot` | surfaces and links sites in Perplexity's search results | respects the file |
| `Perplexity-User` | fetches a page in response to a user's action | generally ignores the file, since the request comes from a user |

Perplexity states that PerplexityBot is not used to collect content for training foundation models, and that Perplexity-User is used neither for web crawling nor for training. Refusing PerplexityBot is therefore not a refusal of training: it is a withdrawal from Perplexity's search.

For a site to appear in the results, Perplexity recommends allowing PerplexityBot in robots.txt and letting through requests coming from its published IP ranges. Its documentation devotes an entire section to firewall configuration, a sign that blocking at the CDN level is the most frequent case: the crawler crawls from data centers, exactly the traffic profile that anti-bot protections refuse by default.

## What it improves

- **Crawling by Perplexity**: the crawler can read and index your public pages.
- **Citations in Perplexity**: your pages become eligible for answers, which show their sources as numbered links. No practice guarantees a citation or a recommendation.
- **Referral traffic**: indirect, through clicks on cited sources.
- **What it does not change**: model training (Perplexity declares no training crawler), Perplexity-User's behavior, your visibility in other engines.

## How to check

**1. Does robots.txt allow the crawler?**

```bash
curl -s https://example.com/robots.txt | grep -i -A 5 "PerplexityBot"
```

Without a dedicated group, the crawler follows the `User-agent: *` group: this is compliant if that group does not forbid the whole site.

**2. Does the server respond with a 200 to the crawler's user agent?**

```bash
curl -s -o /dev/null -w "%{http_code}\n" \
  -A "Mozilla/5.0 (compatible; PerplexityBot/1.0; +https://perplexity.ai/perplexitybot)" \
  https://example.com/
```

Repeat the test on a deep page (product page, article), not just the home page. Compliant result: `200`, identical to the one obtained without the `-A` option. The version number may change: check the string in Perplexity's documentation.

**3. Does the real crawler get through?**

```bash
grep "PerplexityBot" /var/log/nginx/access.log | awk '{print $1, $9}' | sort | uniq -c | sort -rn | head -20
```

Compare the addresses with the official ranges:

```bash
curl -s https://www.perplexity.ai/perplexitybot.json | jq -r '.prefixes[] | .ipv4Prefix // .ipv6Prefix'
```

“PerplexityBot” requests coming from addresses outside this list are not Perplexity's. Requests coming from the list and receiving `403` or `429` confirm a block to fix. No requests at all over several weeks deserve an investigation on the CDN side.

> **Good to know:** the curl test comes from your IP address. It detects a block by crawler name, not a block by IP address or network reputation. The full method is in [test HTTP responses for each crawler](https://checklist-seo-geo.com/en/ai-crawler-access-data-policy/test-http-responses-each-crawler).

## How to implement

### Before you start

**The robots.txt rule.** If the general group allows crawling, there is nothing to add. Create a dedicated group when the `*` group is restrictive or to make the decision explicit:

```txt
User-agent: PerplexityBot
Disallow: /admin/
Disallow: /compte/
Disallow: /panier/
```

A named crawler no longer applies the `*` group: copy the relevant restrictions into its group. For where the file lives on each platform, see [configure robots.txt to match these goals](https://checklist-seo-geo.com/en/ai-crawler-access-data-policy/configure-robotstxt-match-these-goals).

**The delay.** Perplexity states that each setting is independent and that it may take up to 24 hours for its systems to reflect a change.

**IP addresses.** Two separate lists are published, one per agent:

| Agent | Official list |
| --- | --- |
| `PerplexityBot` | `https://www.perplexity.ai/perplexitybot.json` |
| `Perplexity-User` | `https://www.perplexity.ai/perplexity-user.json` |

Perplexity recommends combining user agent matching with IP address verification, matching each agent with its own list, and automating rule updates from these files.

### Apache

Versions: Apache 2.4.

Look for a rule that refuses the crawler by name:

```bash
grep -r -n -i "perplexity" /var/www/example/public/.htaccess /etc/apache2/
```

Remove `PerplexityBot` from user agent blocklists (`RewriteCond %{HTTP_USER_AGENT} …`, `SetEnvIfNoCase User-Agent …`, `BrowserMatchNoCase …`). If access to the site is restricted by IP address (staging opened to the public in stages, geographic filtering), generate the allow lines from the official list:

```bash
curl -s https://www.perplexity.ai/perplexitybot.json \
  | jq -r '.prefixes[] | "Require ip " + (.ipv4Prefix // .ipv6Prefix)'
```

Paste them into the `<RequireAny>` block that holds the restriction, next to your own addresses. With example ranges:

```apache
<Directory /var/www/example/public>
    <RequireAny>
        Require ip 203.0.113.10
        Require ip 192.0.2.0/24
        Require ip 198.51.100.0/24
    </RequireAny>
</Directory>
```

Reload with `sudo apachectl configtest && sudo systemctl reload apache2`.

### Nginx

Versions: Nginx 1.18 and later.

```bash
grep -r -n -i "perplexity" /etc/nginx/
```

Remove the crawler from `map` blocks or `if ($http_user_agent ~* …)` conditions that return 403 or 444. To exempt it from a rate limit based on its addresses:

```bash
curl -s https://www.perplexity.ai/perplexitybot.json \
  | jq -r '.prefixes[] | (.ipv4Prefix // .ipv6Prefix) + " 1;"' \
  | sudo tee /etc/nginx/snippets/perplexitybot-ips.conf
```

```nginx
# http context
geo $perplexitybot_ip {
    default 0;
    include /etc/nginx/snippets/perplexitybot-ips.conf;
}

map $perplexitybot_ip $limit_key {
    0 $binary_remote_addr;
    1 "";
}

limit_req_zone $limit_key zone=parip:10m rate=5r/s;
```

```bash
sudo nginx -t && sudo systemctl reload nginx
```

### Cloudflare

Versions: Cloudflare dashboard, all plans (Super Bot Fight Mode: Pro and above), November 2026.

First check the AI crawler policies: [`Security > Settings`](https://dash.cloudflare.com/?to=/:account/:zone/security/settings), `Bot traffic` filter, `AI Crawler and Agent access policies`, `Search` policy set to `Allow (do not block)`. Then, in [AI Crawl Control](https://dash.cloudflare.com/?to=/:account/:zone/ai), `Crawlers` tab, check that PerplexityBot is set to `Allow`.

If custom rules block or challenge bots, apply the method Perplexity documents. In [`Security > Security rules`](https://dash.cloudflare.com/?to=/:account/:zone/security/security-rules), create a custom rule with this expression, replacing the example ranges with those from the two JSON files:

```txt
(http.user_agent contains "PerplexityBot" and ip.src in {192.0.2.0/24 198.51.100.0/24})
or (http.user_agent contains "Perplexity-User" and ip.src in {203.0.113.0/24})
```

`Skip` action, choosing the protections to bypass, and place the rule above any rule that blocks or challenges. To avoid copying the ranges into the expression, save them in an [account-level IP list](https://dash.cloudflare.com/?to=/:account/configurations) and write `ip.src in $perplexitybot`.

Perplexity points it out itself: Bot Fight Mode cannot be bypassed by a custom rule. If it is on, it can still challenge the crawler; the only way out is to turn it off or switch to Super Bot Fight Mode, which accepts exceptions.

### AWS

Versions: AWS WAF with the Bot Control managed rule group, AWS CLI v2, November 2026 console.

With **AWS WAF**, the method documented by Perplexity takes three steps: create one IP set per agent, write a rule that matches each set with the corresponding `User-Agent` header, and give it the `Allow` action with a priority number lower than that of your blocking rules.

```bash
aws wafv2 create-ip-set \
  --name perplexitybot \
  --scope CLOUDFRONT \
  --region us-east-1 \
  --ip-address-version IPV4 \
  --addresses $(curl -s https://www.perplexity.ai/perplexitybot.json | jq -r '[.prefixes[].ipv4Prefix | select(. != null)] | join(" ")')
```

The rule to add to the web ACL, through the JSON editor of the [AWS WAF console](https://console.aws.amazon.com/wafv2/homev2), replacing the ARN with the one returned by the previous command:

```json
{
  "Name": "autoriser-perplexitybot",
  "Priority": 0,
  "Statement": {
    "AndStatement": {
      "Statements": [
        {
          "IPSetReferenceStatement": {
            "ARN": "arn:aws:wafv2:us-east-1:123456789012:global/ipset/perplexitybot/a1b2c3d4-5678-90ab-cdef-EXAMPLE11111"
          }
        },
        {
          "ByteMatchStatement": {
            "SearchString": "PerplexityBot",
            "FieldToMatch": { "SingleHeader": { "Name": "user-agent" } },
            "TextTransformations": [{ "Priority": 0, "Type": "NONE" }],
            "PositionalConstraint": "CONTAINS"
          }
        }
      ]
    }
  },
  "Action": { "Allow": {} },
  "VisibilityConfig": {
    "SampledRequestsEnabled": true,
    "CloudWatchMetricsEnabled": true,
    "MetricName": "autoriser-perplexitybot"
  }
}
```

The `Allow` action ends evaluation: the request no longer goes through the following rules, Bot Control included. That is why the rule must require both the address and the name.

### Shared hosting

Apply the `.htaccess` part of the Apache section. If the curl test fails while no rule appears in your files, the host's anti-bot protection is to blame: see [check automatic blocking and CAPTCHAs](https://checklist-seo-geo.com/en/ai-crawler-access-data-policy/check-automatic-blocking-captchas).

### WordPress

Versions: WordPress 6.7 to 7.1, security plugins in their November 2026 versions.

Check your SEO plugin's robots.txt editor, then the security plugins: blocks by user agent pattern, rate limiting applied to crawlers, prefilled “bad bot” lists. In the plugin's traffic log, filter on “PerplexityBot” to see whether requests are blocked and by which rule.

### Shopify

Versions: Shopify, all plans, November 2026.

Only robots.txt is in your hands (`robots.txt.liquid` template): check that no group refuses PerplexityBot. On Wix, Squarespace and Webflow, check the robots.txt editor or the AI crawler blocking toggle, which may include PerplexityBot without distinguishing search from training.

## Common mistakes

- **Blocking PerplexityBot to refuse training**: according to Perplexity, this crawler does not train any foundation model. You lose visibility and get nothing in return.
- **Relying on robots.txt to stop Perplexity-User**: this agent generally ignores the file. A firm refusal is done at the firewall, based on its own IP list.
- **Using a single IP list for both agents**: each agent has its own ranges.
- **Leaving Bot Fight Mode on while believing you have bypassed it**: a `Skip` rule has no effect on it.
- **Allowing by name alone**: an exception without an address check opens the door to any script that claims to be PerplexityBot.
- **Testing only the home page**: firewall rules often target specific directories.
- **Expecting an automatic citation**: allowing the crawler makes the page eligible, nothing more.

## Frequently asked questions

### Is PerplexityBot used to train AI models?

No, according to Perplexity, PerplexityBot is not used to collect content for training foundation models. It surfaces and links sites in Perplexity's search results. Blocking it to refuse training therefore gains you nothing: you only lose visibility in Perplexity, which, for that matter, declares no training crawler at all.

### Does Perplexity respect robots.txt?

PerplexityBot respects robots.txt, according to Perplexity's documentation. Perplexity-User, which fetches a page at a user's request, generally ignores the file, since the request comes from a person. To firmly refuse this agent, you have to go through the firewall, using its own list of IP addresses, separate from PerplexityBot's.

### Why does Cloudflare still challenge PerplexityBot despite an exception rule?

Cloudflare's Bot Fight Mode cannot be bypassed by a custom rule, as Perplexity points out itself. If it is on, it can challenge PerplexityBot even with a well-placed `Skip` rule. The only way out is to turn it off or switch to Super Bot Fight Mode, which accepts exceptions. Also check the `Search` AI crawler policy and the action applied in AI Crawl Control.

### How long does Perplexity take to apply a change?

Perplexity states that it may take up to 24 hours for its systems to reflect a change, each setting being independent. After allowing PerplexityBot in robots.txt or at the firewall, wait that long, then check in your logs that requests coming from its official ranges do receive 200 responses.

## Resources

- [Perplexity: crawlers, user agent strings, IP ranges and WAF configuration](https://docs.perplexity.ai/docs/resources/perplexity-crawlers)
- [Perplexity: PerplexityBot IP ranges (JSON)](https://www.perplexity.ai/perplexitybot.json)
- [Perplexity: Perplexity-User IP ranges (JSON)](https://www.perplexity.ai/perplexity-user.json)
- [Cloudflare: Skip action options](https://developers.cloudflare.com/waf/custom-rules/skip/options/)
- [AWS WAF: IP sets](https://docs.aws.amazon.com/waf/latest/developerguide/waf-ip-set-managing.html)

Next steps: [allow OAI-SearchBot](https://checklist-seo-geo.com/en/ai-crawler-access-data-policy/allow-oai-searchbot-if-you-want-chatgpt-visibility), [allow Claude-SearchBot](https://checklist-seo-geo.com/en/ai-crawler-access-data-policy/allow-claude-searchbot-if-you-want-claude-visibility) and [verify crawler identity against official IP ranges](https://checklist-seo-geo.com/en/ai-crawler-access-data-policy/verify-crawler-identity-against-official-ip-ranges-if-possible).
