<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: webdecoy</title>
    <description>The latest articles on DEV Community by webdecoy (@webdecoy).</description>
    <link>https://dev.to/webdecoy</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F96509%2F575bf9aa-10c6-43d0-9624-7f180f9fabfe.png</url>
      <title>DEV Community: webdecoy</title>
      <link>https://dev.to/webdecoy</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/webdecoy"/>
    <language>en</language>
    <item>
      <title>Shopify Spam Customers: Find Where They Came From</title>
      <dc:creator>webdecoy</dc:creator>
      <pubDate>Fri, 04 Dec 2026 21:31:47 +0000</pubDate>
      <link>https://dev.to/webdecoy/shopify-spam-customers-find-where-they-came-from-15c1</link>
      <guid>https://dev.to/webdecoy/shopify-spam-customers-find-where-they-came-from-15c1</guid>
      <description>&lt;p&gt;If suspicious customers are appearing in Shopify without orders, find out what created the profiles before you delete them or change your account settings. Shopify can add a profile when someone joins your mailing list, signs in with a new email address, or abandons checkout. Start with one suspicious record and check it against those three places. The strongest clue is a matching event, such as a submission on one specific form, rather than an unusual name or an empty order history. See Shopify's &lt;a href="https://help.shopify.com/en/manual/customers/manage-customers" rel="noopener noreferrer"&gt;customer profile documentation&lt;/a&gt; for the ways profiles are created.&lt;/p&gt;

&lt;h2&gt;
  
  
  Start with the customer profile
&lt;/h2&gt;

&lt;p&gt;Open &lt;strong&gt;Customers&lt;/strong&gt; in Shopify admin and pick a small batch from the same period. For each profile, note when it appeared, any tags, its marketing subscription status, and whether it has orders. Record the time zone and use the same one when checking the other screens. Keep identifiers inside your store's restricted records; the notes you share outside that system can describe the pattern without customer details.&lt;/p&gt;

&lt;p&gt;Look for the same combination across several records. A shared tag among the profiles is a lead to investigate, especially if it matches a tag configured on one form. A timestamp match by itself is weaker: your newsletter and checkout can both be busy in the same hour. Leave profiles you can't trace marked as unknown.&lt;/p&gt;

&lt;h2&gt;
  
  
  Trace the record back to the right screen
&lt;/h2&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;Possible source&lt;/th&gt;
&lt;th&gt;What to compare&lt;/th&gt;
&lt;th&gt;What to do next&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;Mailing list or signup form&lt;/td&gt;
&lt;td&gt;A matching submission in the form tool, if available, or a tag specific to that form&lt;/td&gt;
&lt;td&gt;Check the exact form identified by your evidence. A footer signup and a popup may be configured separately.&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Abandoned checkout&lt;/td&gt;
&lt;td&gt;A related record under &lt;strong&gt;Orders → Abandoned checkouts&lt;/strong&gt;
&lt;/td&gt;
&lt;td&gt;Record the checkout evidence. Review the store's checkout and recovery settings rather than assuming its account form was used.&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Customer account sign-in&lt;/td&gt;
&lt;td&gt;Your account type under &lt;strong&gt;Settings → Customer accounts&lt;/strong&gt;, plus any evidence that ties the record to sign-in&lt;/td&gt;
&lt;td&gt;Walk through the normal account flow with a test address you control. Compare what it leaves in admin.&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;

&lt;p&gt;For a store using Shopify Forms, the &lt;a href="https://help.shopify.com/en/manual/promoting-marketing/create-marketing/forms-app/settings/all-forms" rel="noopener noreferrer"&gt;form settings&lt;/a&gt; let you add tags when a form is submitted successfully. Give the form you're investigating its own tag if it doesn't have one. Use the tag for new observations. A shared tag used by several forms is too broad to tell you which one was submitted.&lt;/p&gt;

&lt;p&gt;For abandoned checkout, open the matching record and look for &lt;strong&gt;From&lt;/strong&gt; under &lt;strong&gt;Checkout details&lt;/strong&gt;. Shopify's &lt;a href="https://help.shopify.com/en/manual/intro-to-shopify/bots/identifying-bot-activity" rel="noopener noreferrer"&gt;guide to identifying bot activity&lt;/a&gt; says this field shows the app or sales channel the checkout came from. Check what that source was doing near the time the profile appeared. Shopify &lt;a href="https://help.shopify.com/en/manual/intro-to-shopify/bots/dealing-with-bots" rel="noopener noreferrer"&gt;filters some suspected bot and card-testing attempts&lt;/a&gt; from the list, so treat a missing checkout as missing evidence.&lt;/p&gt;

&lt;p&gt;For account sign-in, check the type before you look for a registration form. With &lt;a href="https://help.shopify.com/en/manual/customers/customer-accounts/" rel="noopener noreferrer"&gt;Shopify's current customer accounts&lt;/a&gt;, the standard email flow uses a one-time code and can create a profile after a successful first sign-in. &lt;a href="https://help.shopify.com/en/manual/customers/customer-accounts/upgrade/compare-features" rel="noopener noreferrer"&gt;Legacy customer accounts&lt;/a&gt; use an email and password. Test the experience that your shoppers actually see rather than looking for a registration screen your store doesn't use.&lt;/p&gt;

&lt;h2&gt;
  
  
  Reproduce one ordinary signup
&lt;/h2&gt;

&lt;p&gt;On a test store you control, use a fresh email address you own and submit the suspected form once as a shopper. In admin, check whether a customer profile appeared, which tag it received, and whether you can find the corresponding submission. Write down what the form looked like to the shopper and what appeared in admin. Label your observations as test data. Use a separate test address for each flow so you're comparing distinct records instead of updates to the same profile.&lt;/p&gt;

&lt;p&gt;For example, if your test on a footer form produces a tag used only by that form, you have a way to follow new profiles with that tag. If a suspicious record instead has a matching abandoned checkout and no matching form evidence, start with the checkout path. A test tells you what your own setup records under known conditions. It doesn't establish that an earlier visitor was a bot.&lt;/p&gt;

&lt;p&gt;For your handoff, record the time window, the suspected source, the strongest matching evidence, and the next check. For example, write “Footer form suspected; unique tag present; submission not yet checked.” That leaves the next person with one action and makes it clear what remains uncertain.&lt;/p&gt;

&lt;h2&gt;
  
  
  Change one thing and check the same path again
&lt;/h2&gt;

&lt;p&gt;Shopify's &lt;a href="https://help.shopify.com/en/manual/intro-to-shopify/bots/dealing-with-bots" rel="noopener noreferrer"&gt;bot protection guide&lt;/a&gt; explains where its built-in spam protection applies, including contact and comment forms and customer account pages. Verify the settings for the surface you traced. For an app-provided signup form, consult that form's own settings and documentation. After a change, repeat a normal signup on the affected surface and compare newly observed suspicious profiles against the same source evidence. Keep a note of the change time so you can distinguish older records from new ones.&lt;/p&gt;

&lt;p&gt;Keep cleanup separate from prevention. Shopify documents &lt;a href="https://help.shopify.com/en/manual/customers/manage-customers" rel="noopener noreferrer"&gt;when customer profiles can be deleted&lt;/a&gt; and warns that deletion is irreversible. Review the sample before deleting anything in bulk, and leave uncertain records for manual review. If the issue involves abandoned checkouts, follow Shopify's &lt;a href="https://help.shopify.com/en/manual/intro-to-shopify/bots/dealing-with-bots" rel="noopener noreferrer"&gt;separate checkout guidance&lt;/a&gt; rather than expecting customer deletion to clean up checkout records.&lt;/p&gt;

&lt;h2&gt;
  
  
  Add storefront evidence if the issue is still unclear
&lt;/h2&gt;

&lt;p&gt;We build WebDecoy. If the suspected activity crosses your online storefront, &lt;a href="https://apps.shopify.com/webdecoy-bot-protection" rel="noopener noreferrer"&gt;install WebDecoy from the Shopify App Store&lt;/a&gt;, enable its app embed on your published theme, and confirm a labeled test in &lt;strong&gt;Setup &amp;amp; health&lt;/strong&gt;. The &lt;a href="https://docs.webdecoy.com/installation/shopify/" rel="noopener noreferrer"&gt;installation guide&lt;/a&gt; shows what a received test looks like. Then use &lt;strong&gt;Detections&lt;/strong&gt; to inspect the evidence for observed activity around your incident window. Keep the storefront observations alongside the form or checkout records. A similar timestamp is a reason to look closer, not a reason to delete a customer.&lt;/p&gt;

</description>
      <category>shopify</category>
      <category>ecommerce</category>
      <category>security</category>
      <category>tutorial</category>
    </item>
    <item>
      <title>Install WebDecoy on WordPress Sites with MainWP</title>
      <dc:creator>webdecoy</dc:creator>
      <pubDate>Fri, 04 Dec 2026 15:50:51 +0000</pubDate>
      <link>https://dev.to/webdecoy/install-webdecoy-on-wordpress-sites-with-mainwp-bof</link>
      <guid>https://dev.to/webdecoy/install-webdecoy-on-wordpress-sites-with-mainwp-bof</guid>
      <description>&lt;p&gt;Use MainWP to install WebDecoy on a staging site, then inspect bot and AI traffic in that site's WordPress admin. The plugin starts in monitor mode, and its free local reports need no account or API key. You can check what reaches WordPress before deciding whether to roll the plugin out to more sites.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://wordpress.org/plugins/webdecoy/" rel="noopener noreferrer"&gt;Download WebDecoy from WordPress.org&lt;/a&gt; or &lt;a href="https://wordpress.org/plugins/webdecoy/?preview=1" rel="noopener noreferrer"&gt;explore the dashboard with sample data&lt;/a&gt;.&lt;/p&gt;

&lt;h2&gt;
  
  
  Install and activate on one staging site
&lt;/h2&gt;

&lt;ol&gt;
&lt;li&gt;Download the current WebDecoy ZIP using the &lt;strong&gt;Download&lt;/strong&gt; button on the WordPress.org listing.&lt;/li&gt;
&lt;li&gt;In your MainWP Dashboard, open &lt;strong&gt;Plugins → Install Plugins&lt;/strong&gt; and choose &lt;strong&gt;Upload .zip file&lt;/strong&gt;. Upload the WebDecoy ZIP and select the staging site from your connected child sites.&lt;/li&gt;
&lt;li&gt;Select &lt;strong&gt;Activate after installation&lt;/strong&gt;, then choose &lt;strong&gt;Complete Installation&lt;/strong&gt;. Check MainWP's result for the selected site.&lt;/li&gt;
&lt;li&gt;Open that child site's WordPress admin. Confirm WebDecoy is active and in &lt;strong&gt;monitor mode&lt;/strong&gt;. Leave the WebDecoy Cloud API key field empty for this local check.&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;MainWP publishes the &lt;a href="https://mainwp.com/how-to-update-mainwp-child-plugin/" rel="noopener noreferrer"&gt;ZIP upload workflow&lt;/a&gt; in its child plugin update guide. For a first install of WebDecoy, activation is the relevant option. The update guide also describes overwriting a plugin when replacing an existing installation.&lt;/p&gt;

&lt;h2&gt;
  
  
  Confirm what each site can see
&lt;/h2&gt;

&lt;p&gt;Open &lt;strong&gt;WebDecoy → AI Traffic &amp;amp; Analytics&lt;/strong&gt; on the child site. The crawler report shows recognized requests that reached WordPress. The referral report shows identifiable visits sent by AI assistants. Check the reports separately when a client asks whether an assistant is reading the site or sending people to it.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fwebdecoy.com%2Fimages%2Fwordpress%2Fai-traffic-dashboard-preview.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fwebdecoy.com%2Fimages%2Fwordpress%2Fai-traffic-dashboard-preview.png" alt="WebDecoy's WordPress dashboard with sample AI crawler and referral data" width="800" height="600"&gt;&lt;/a&gt;&lt;/p&gt;&lt;br&gt;The interactive preview shows sample data so you can see what to look for after installing.
  &lt;p&gt;&lt;/p&gt;

&lt;p&gt;Load a normal page and check the login, form, or checkout flows relevant to that site. Leave enforcement off while you establish a baseline. An upstream cache can serve pages before WordPress sees the request, so note the active proxy and cache configuration when interpreting a quiet report.&lt;/p&gt;

&lt;h2&gt;
  
  
  What we verified on two child sites
&lt;/h2&gt;

&lt;p&gt;We maintain WebDecoy. We set up MainWP Dashboard 6.5 and two disposable sites with MainWP Child 6.5. The Dashboard installed and activated the official WebDecoy 2.16.1 ZIP on both sites. Both started with empty reports and no WebDecoy API key.&lt;/p&gt;

&lt;p&gt;We sent one synthetic crawler request and one synthetic AI referral visit to the first site. Both returned HTTP 200. Its local report recorded one crawler request and one referral. The second site's two counters stayed at zero. This verified local reporting in that setup using test requests. Your results depend on the traffic that reaches each site.&lt;/p&gt;

&lt;h2&gt;
  
  
  Roll out in small batches
&lt;/h2&gt;

&lt;p&gt;Let the staging site run for a week. Note the date window, WebDecoy version, monitor-mode status, and the crawler and referral counts separately. If you have approval to expand, select a small batch of approved child sites in MainWP. Confirm activation and open the local report on each one.&lt;/p&gt;

&lt;p&gt;Cloud reporting is optional. Before using it for a client report, have an authorized admin connect that specific site with its API key, confirm the intended WebDecoy organization, and verify an incoming test observation there.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://wordpress.org/plugins/webdecoy/" rel="noopener noreferrer"&gt;Get the free plugin&lt;/a&gt; · &lt;a href="https://webdecoy.com/wordpress/#wordpress-installer" rel="noopener noreferrer"&gt;Open the installer for a single WordPress site&lt;/a&gt;&lt;/p&gt;

</description>
      <category>wordpress</category>
      <category>tutorial</category>
      <category>webdev</category>
      <category>security</category>
    </item>
    <item>
      <title>How to model missing data in RDF and query it with SPARQL</title>
      <dc:creator>webdecoy</dc:creator>
      <pubDate>Sun, 29 Nov 2026 04:35:53 +0000</pubDate>
      <link>https://dev.to/webdecoy/how-to-model-missing-data-in-rdf-and-query-it-with-sparql-24b7</link>
      <guid>https://dev.to/webdecoy/how-to-model-missing-data-in-rdf-and-query-it-with-sparql-24b7</guid>
      <description>&lt;p&gt;A table of crawlers has a blank cell under “verification method.” That blank could mean nobody has reviewed the record. It could also mean someone reviewed the operator’s documentation and found no published method. If your report sends both rows to the review queue, you’ll spend time checking the same records again.&lt;/p&gt;

&lt;p&gt;Here’s a small RDF model that keeps those cases distinct. All three crawlers in this example are fictional.&lt;/p&gt;

&lt;h2&gt;
  
  
  Model the review as a fact
&lt;/h2&gt;

&lt;p&gt;Save this as &lt;code&gt;crawlers.ttl&lt;/code&gt;. The &lt;code&gt;verificationMethod&lt;/code&gt; property says what method the dataset records. The &lt;code&gt;verificationReview&lt;/code&gt; property says how far the review got.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight turtle"&gt;&lt;code&gt;@prefix ex: &lt;span class="nt"&gt;&amp;lt;https:&lt;/span&gt;&lt;span class="na"&gt;//example.org/crawlers&lt;/span&gt;&lt;span class="nt"&gt;/&amp;gt;&lt;/span&gt; .
@prefix rdfs: &lt;span class="nt"&gt;&amp;lt;http:&lt;/span&gt;&lt;span class="na"&gt;//www.w3.org/2000/01/rdf-schema#&lt;/span&gt;&lt;span class="nt"&gt;&amp;gt;&lt;/span&gt; .

ex:orchard a ex:Crawler ;
    rdfs:label "OrchardBot" ;
    ex:verificationMethod ex:PublishedIPRanges ;
    ex:verificationReview ex:MethodDocumented .

ex:cedar a ex:Crawler ;
    rdfs:label "CedarBot" ;
    ex:verificationReview ex:ReviewedNoMethod .

ex:harbor a ex:Crawler ;
    rdfs:label "HarborFetch" .
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;The &lt;code&gt;ReviewedNoMethod&lt;/code&gt; value records a review outcome. It means the reviewer found no published method in the sources they checked. Keep that scope if you use the value in a dashboard or audit.&lt;/p&gt;

&lt;h2&gt;
  
  
  Query the work queue with SPARQL
&lt;/h2&gt;

&lt;p&gt;A query for records with no &lt;code&gt;verificationMethod&lt;/code&gt; triple returns CedarBot and HarborFetch. Query for the missing review instead. Save this as &lt;code&gt;needs-review.rq&lt;/code&gt;.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight sparql"&gt;&lt;code&gt;&lt;span class="no"&gt;PREFIX&lt;/span&gt; &lt;span class="n"&gt;ex&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="o"&gt;&amp;lt;&lt;/span&gt;&lt;span class="n"&gt;https&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="c1"&gt;//example.org/crawlers/&amp;gt;&lt;/span&gt;
&lt;span class="no"&gt;PREFIX&lt;/span&gt; &lt;span class="n"&gt;rdfs&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="o"&gt;&amp;lt;&lt;/span&gt;&lt;span class="n"&gt;http&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="c1"&gt;//www.w3.org/2000/01/rdf-schema#&amp;gt;&lt;/span&gt;

&lt;span class="k"&gt;SELECT&lt;/span&gt; &lt;span class="o"&gt;?&lt;/span&gt;&lt;span class="n"&gt;name&lt;/span&gt; &lt;span class="k"&gt;WHERE&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;
  &lt;span class="o"&gt;?&lt;/span&gt;&lt;span class="n"&gt;crawler&lt;/span&gt; &lt;span class="n"&gt;a&lt;/span&gt; &lt;span class="n"&gt;ex&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="nc"&gt;Crawler&lt;/span&gt; &lt;span class="p"&gt;;&lt;/span&gt; &lt;span class="n"&gt;rdfs&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="n"&gt;label&lt;/span&gt; &lt;span class="o"&gt;?&lt;/span&gt;&lt;span class="n"&gt;name&lt;/span&gt; &lt;span class="p"&gt;.&lt;/span&gt;
  &lt;span class="k"&gt;FILTER&lt;/span&gt; &lt;span class="k"&gt;NOT&lt;/span&gt; &lt;span class="k"&gt;EXISTS&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt; &lt;span class="o"&gt;?&lt;/span&gt;&lt;span class="n"&gt;crawler&lt;/span&gt; &lt;span class="n"&gt;ex&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="n"&gt;verificationReview&lt;/span&gt; &lt;span class="o"&gt;?&lt;/span&gt;&lt;span class="n"&gt;review&lt;/span&gt; &lt;span class="p"&gt;}&lt;/span&gt;
&lt;span class="p"&gt;}&lt;/span&gt;
&lt;span class="k"&gt;ORDER&lt;/span&gt; &lt;span class="k"&gt;BY&lt;/span&gt; &lt;span class="o"&gt;?&lt;/span&gt;&lt;span class="n"&gt;name&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Run it locally with Python and RDFLib.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;python3 -m venv .venv
.venv/bin/python -m pip install &lt;span class="nv"&gt;rdflib&lt;/span&gt;&lt;span class="o"&gt;==&lt;/span&gt;7.1.4
.venv/bin/python - &lt;span class="o"&gt;&amp;lt;&amp;lt;&lt;/span&gt;&lt;span class="s1"&gt;'PY'&lt;/span&gt;
from pathlib import Path
from rdflib import Graph

graph &lt;span class="o"&gt;=&lt;/span&gt; Graph&lt;span class="o"&gt;(&lt;/span&gt;&lt;span class="o"&gt;)&lt;/span&gt;.parse&lt;span class="o"&gt;(&lt;/span&gt;&lt;span class="s1"&gt;'crawlers.ttl'&lt;/span&gt;, &lt;span class="nv"&gt;format&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="s1"&gt;'turtle'&lt;/span&gt;&lt;span class="o"&gt;)&lt;/span&gt;
query &lt;span class="o"&gt;=&lt;/span&gt; Path&lt;span class="o"&gt;(&lt;/span&gt;&lt;span class="s1"&gt;'needs-review.rq'&lt;/span&gt;&lt;span class="o"&gt;)&lt;/span&gt;.read_text&lt;span class="o"&gt;(&lt;/span&gt;&lt;span class="o"&gt;)&lt;/span&gt;
&lt;span class="k"&gt;for&lt;/span&gt; row &lt;span class="k"&gt;in&lt;/span&gt; graph.query&lt;span class="o"&gt;(&lt;/span&gt;query&lt;span class="o"&gt;)&lt;/span&gt;:
    print&lt;span class="o"&gt;(&lt;/span&gt;row.name&lt;span class="o"&gt;)&lt;/span&gt;
PY
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;





&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;HarborFetch
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Now change &lt;code&gt;ex:verificationReview ?review&lt;/code&gt; in the filter to &lt;code&gt;ex:verificationMethod ?method&lt;/code&gt; and rerun it. The output is &lt;code&gt;CedarBot&lt;/code&gt; followed by &lt;code&gt;HarborFetch&lt;/code&gt;. That’s a legitimate query for missing method data in this graph. It answers a different question from which records need review.&lt;/p&gt;

&lt;p&gt;&lt;code&gt;FILTER NOT EXISTS&lt;/code&gt; checks the current graph for a matching pattern. Under OWL’s open-world assumption, a missing statement can acquire evidence in another source or in a later version of the graph. The explicit review outcome lets you say what happened in your review while leaving room for new information. &lt;a href="https://www.w3.org/TR/sparql11-query/#neg-notexists" rel="noopener noreferrer"&gt;SPARQL 1.1 query language&lt;/a&gt; · &lt;a href="https://www.w3.org/TR/owl2-primer/" rel="noopener noreferrer"&gt;OWL 2 Primer&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;The same model works for SDK compatibility tables and data catalog audits. Give each workflow an explicit review state when it needs to distinguish work that’s complete from work that’s still waiting.&lt;/p&gt;

&lt;p&gt;&lt;em&gt;I used AI assistance to draft this article.&lt;/em&gt;&lt;/p&gt;

</description>
      <category>rdf</category>
      <category>sparql</category>
      <category>python</category>
      <category>tutorial</category>
    </item>
    <item>
      <title>What Shopify app embed status actually proves</title>
      <dc:creator>webdecoy</dc:creator>
      <pubDate>Thu, 26 Nov 2026 16:43:35 +0000</pubDate>
      <link>https://dev.to/webdecoy/what-shopify-app-embed-status-actually-proves-3ol7</link>
      <guid>https://dev.to/webdecoy/what-shopify-app-embed-status-actually-proves-3ol7</guid>
      <description>&lt;p&gt;If a merchant opens your app after publishing a new Shopify theme, there are two different checks to make. The first asks whether the embed is enabled on the published theme. The second asks whether a request from that storefront actually reached the app. A theme can pass the first check while a script error or blocked request prevents delivery.&lt;/p&gt;

&lt;h3&gt;
  
  
  Check the published theme in App Bridge
&lt;/h3&gt;

&lt;p&gt;In an embedded Shopify admin app, &lt;code&gt;shopify.app.extensions()&lt;/code&gt; includes activation data for the &lt;strong&gt;published&lt;/strong&gt; theme. Look for your embed's block handle. An active section block from the same extension doesn't tell you whether your embed is enabled.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight javascript"&gt;&lt;code&gt;&lt;span class="kd"&gt;function&lt;/span&gt; &lt;span class="nf"&gt;readEmbed&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;extensions&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="n"&gt;handle&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;
  &lt;span class="k"&gt;if&lt;/span&gt; &lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="o"&gt;!&lt;/span&gt;&lt;span class="nb"&gt;Array&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;isArray&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;extensions&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt; &lt;span class="k"&gt;return&lt;/span&gt; &lt;span class="s2"&gt;"unknown"&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;

  &lt;span class="kd"&gt;const&lt;/span&gt; &lt;span class="n"&gt;matching&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="n"&gt;extensions&lt;/span&gt;
    &lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;filter&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;extension&lt;/span&gt; &lt;span class="o"&gt;=&amp;gt;&lt;/span&gt; &lt;span class="n"&gt;extension&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="kd"&gt;type&lt;/span&gt; &lt;span class="o"&gt;===&lt;/span&gt; &lt;span class="s2"&gt;"theme_app_extension"&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;
    &lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;flatMap&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;extension&lt;/span&gt; &lt;span class="o"&gt;=&amp;gt;&lt;/span&gt; &lt;span class="n"&gt;extension&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;activations&lt;/span&gt; &lt;span class="o"&gt;??&lt;/span&gt; &lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="p"&gt;]&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;
    &lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;filter&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;activation&lt;/span&gt; &lt;span class="o"&gt;=&amp;gt;&lt;/span&gt; &lt;span class="n"&gt;activation&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;handle&lt;/span&gt; &lt;span class="o"&gt;===&lt;/span&gt; &lt;span class="n"&gt;handle&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;

  &lt;span class="k"&gt;if&lt;/span&gt; &lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;matching&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;some&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;activation&lt;/span&gt; &lt;span class="o"&gt;=&amp;gt;&lt;/span&gt; &lt;span class="n"&gt;activation&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;status&lt;/span&gt; &lt;span class="o"&gt;===&lt;/span&gt; &lt;span class="s2"&gt;"active"&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;
    &lt;span class="k"&gt;return&lt;/span&gt; &lt;span class="s2"&gt;"active"&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
  &lt;span class="p"&gt;}&lt;/span&gt;
  &lt;span class="k"&gt;if&lt;/span&gt; &lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;matching&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;some&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;activation&lt;/span&gt; &lt;span class="o"&gt;=&amp;gt;&lt;/span&gt;
    &lt;span class="n"&gt;activation&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;status&lt;/span&gt; &lt;span class="o"&gt;===&lt;/span&gt; &lt;span class="s2"&gt;"available"&lt;/span&gt; &lt;span class="o"&gt;||&lt;/span&gt; &lt;span class="n"&gt;activation&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;status&lt;/span&gt; &lt;span class="o"&gt;===&lt;/span&gt; &lt;span class="s2"&gt;"unavailable"&lt;/span&gt;
  &lt;span class="p"&gt;)&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;
    &lt;span class="k"&gt;return&lt;/span&gt; &lt;span class="s2"&gt;"inactive"&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
  &lt;span class="p"&gt;}&lt;/span&gt;
  &lt;span class="k"&gt;return&lt;/span&gt; &lt;span class="s2"&gt;"unknown"&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
&lt;span class="p"&gt;}&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;For the example, pass the filename without &lt;code&gt;.liquid&lt;/code&gt; as the handle. If the App Bridge call rejects, show “Unable to verify” and link to the theme editor. This is also the right state while you lack a matching activation. Don't turn a timeout into instructions to reinstall the app.&lt;/p&gt;

&lt;p&gt;I checked the example against four local fixtures. An active embed reports &lt;code&gt;active&lt;/code&gt;. An available but inactive embed reports &lt;code&gt;inactive&lt;/code&gt;. An unrelated active block and an unavailable response both report &lt;code&gt;unknown&lt;/code&gt;.&lt;/p&gt;

&lt;h3&gt;
  
  
  Use a labeled delivery check
&lt;/h3&gt;

&lt;ol&gt;
&lt;li&gt;Open the &lt;strong&gt;published storefront&lt;/strong&gt; after saving the embed. A theme preview can be on a different theme.&lt;/li&gt;
&lt;li&gt;Start a labeled storefront test from your app, then visit the test URL.&lt;/li&gt;
&lt;li&gt;Confirm the test arrives under that store's property. Keep labeled tests out of live traffic totals and enforcement.&lt;/li&gt;
&lt;li&gt;If the embed is active and the test is missing, open the browser console and Network panel to check for a script load error or failed request. Check checkout-pixel delivery separately.&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;The test is a check of the storefront collection path. For an analytics embed, it helps distinguish a quiet store from an unverified installation.&lt;/p&gt;

&lt;p&gt;I'm the founder of WebDecoy. The Shopify app's &lt;strong&gt;Setup &amp;amp; health&lt;/strong&gt; page uses these separate checks. Try the free plan via the &lt;a href="https://apps.shopify.com/webdecoy-bot-protection?utm_source=devto&amp;amp;utm_medium=article&amp;amp;utm_campaign=shopify_merchant_20261126&amp;amp;utm_content=embed_state" rel="noopener noreferrer"&gt;Shopify App Store&lt;/a&gt;, or follow the &lt;a href="https://webdecoy.com/shopify/" rel="noopener noreferrer"&gt;written setup steps&lt;/a&gt;.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://shopify.dev/docs/api/app-home/latest/apis/authentication-and-data/app-api" rel="noopener noreferrer"&gt;Shopify App Bridge reference&lt;/a&gt; · &lt;a href="https://help.shopify.com/en/manual/online-store/themes/customizing-themes/apps" rel="noopener noreferrer"&gt;Shopify theme app setup&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;I used AI to help draft this article and checked the API behavior against Shopify's documentation and the JavaScript against local test fixtures.&lt;/p&gt;

</description>
      <category>shopify</category>
      <category>javascript</category>
      <category>testing</category>
    </item>
    <item>
      <title>How to Block AI Crawlers in nginx, Apache and Cloudflare</title>
      <dc:creator>webdecoy</dc:creator>
      <pubDate>Sun, 22 Nov 2026 15:17:38 +0000</pubDate>
      <link>https://dev.to/webdecoy/how-to-block-ai-crawlers-in-nginx-apache-and-cloudflare-47cp</link>
      <guid>https://dev.to/webdecoy/how-to-block-ai-crawlers-in-nginx-apache-and-cloudflare-47cp</guid>
      <description>&lt;p&gt;&lt;em&gt;Originally published on &lt;a href="https://webdecoy.com/blog/block-ai-crawlers-nginx-apache-cloudflare/" rel="noopener noreferrer"&gt;webdecoy.com&lt;/a&gt;.&lt;/em&gt;&lt;/p&gt;

&lt;p&gt;robots.txt asks AI crawlers to stay away. A server rule makes them. This guide gives you working configs to block AI crawlers in nginx, Apache and Cloudflare, shows how to test each one, and covers the scrapers that hide their name.&lt;/p&gt;

&lt;h2&gt;
  
  
  Which AI crawlers to block
&lt;/h2&gt;

&lt;p&gt;Most sites block AI &lt;strong&gt;training&lt;/strong&gt; crawlers and keep AI &lt;strong&gt;search&lt;/strong&gt; crawlers, so ChatGPT search, Perplexity and Claude can still cite and link to them. The configs below use this training list:&lt;/p&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;User-Agent token&lt;/th&gt;
&lt;th&gt;Operator&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;&lt;code&gt;GPTBot&lt;/code&gt;&lt;/td&gt;
&lt;td&gt;OpenAI&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;code&gt;ClaudeBot&lt;/code&gt;&lt;/td&gt;
&lt;td&gt;Anthropic&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;code&gt;CCBot&lt;/code&gt;&lt;/td&gt;
&lt;td&gt;Common Crawl&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;code&gt;Bytespider&lt;/code&gt;&lt;/td&gt;
&lt;td&gt;ByteDance&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;code&gt;Meta-ExternalAgent&lt;/code&gt;&lt;/td&gt;
&lt;td&gt;Meta&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;code&gt;Amazonbot&lt;/code&gt;&lt;/td&gt;
&lt;td&gt;Amazon&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;code&gt;cohere-ai&lt;/code&gt;&lt;/td&gt;
&lt;td&gt;Cohere&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;code&gt;AI2Bot&lt;/code&gt;&lt;/td&gt;
&lt;td&gt;Allen Institute for AI&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;

&lt;p&gt;To leave AI search as well, add &lt;code&gt;OAI-SearchBot&lt;/code&gt;, &lt;code&gt;ChatGPT-User&lt;/code&gt;, &lt;code&gt;Claude-SearchBot&lt;/code&gt;, &lt;code&gt;Claude-User&lt;/code&gt;, &lt;code&gt;PerplexityBot&lt;/code&gt; and &lt;code&gt;Perplexity-User&lt;/code&gt;.&lt;/p&gt;

&lt;p&gt;Two names you will see in robots.txt guides do &lt;strong&gt;not&lt;/strong&gt; belong here: &lt;code&gt;Google-Extended&lt;/code&gt; and &lt;code&gt;Applebot-Extended&lt;/code&gt;. They are robots.txt tokens that control AI training use, not crawlers, and they never appear in a User-Agent header. Disallow them in &lt;a href="https://webdecoy.com/blog/block-ai-crawlers-robots-txt-wordpress/" rel="noopener noreferrer"&gt;robots.txt&lt;/a&gt;.&lt;/p&gt;

&lt;p&gt;None of these tokens match Googlebot or Bingbot, so search engines are unaffected.&lt;/p&gt;

&lt;h2&gt;
  
  
  nginx
&lt;/h2&gt;

&lt;p&gt;Add a &lt;code&gt;map&lt;/code&gt; in the &lt;code&gt;http&lt;/code&gt; block, usually in &lt;code&gt;/etc/nginx/nginx.conf&lt;/code&gt; or a file in &lt;code&gt;/etc/nginx/conf.d/&lt;/code&gt;:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight nginx"&gt;&lt;code&gt;&lt;span class="k"&gt;map&lt;/span&gt; $&lt;span class="n"&gt;http_user_agent&lt;/span&gt; $&lt;span class="n"&gt;block_ai_crawler&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;
    &lt;span class="k"&gt;default&lt;/span&gt; &lt;span class="mi"&gt;0&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
    &lt;span class="s2"&gt;"~*(gptbot|claudebot|ccbot|bytespider|meta-externalagent|amazonbot|cohere-ai|ai2bot)"&lt;/span&gt; &lt;span class="mi"&gt;1&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
&lt;span class="p"&gt;}&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;&lt;code&gt;~*&lt;/code&gt; makes it a case-insensitive regular expression. Then, in each &lt;code&gt;server&lt;/code&gt; block you want to protect:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight nginx"&gt;&lt;code&gt;&lt;span class="n"&gt;server&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;
    &lt;span class="c1"&gt;# ...your existing config...
&lt;/span&gt;
    &lt;span class="k"&gt;if&lt;/span&gt; &lt;span class="p"&gt;(&lt;/span&gt;$&lt;span class="n"&gt;block_ai_crawler&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;
        &lt;span class="k"&gt;return&lt;/span&gt; &lt;span class="mi"&gt;403&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
    &lt;span class="p"&gt;}&lt;/span&gt;
&lt;span class="p"&gt;}&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Test and reload:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;sudo nginx -t &lt;span class="o"&gt;&amp;amp;&amp;amp;&lt;/span&gt; sudo systemctl reload nginx
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;The &lt;code&gt;map&lt;/code&gt; is evaluated only when the variable is used, so it costs almost nothing per request.&lt;/p&gt;

&lt;h2&gt;
  
  
  Apache (.htaccess)
&lt;/h2&gt;

&lt;p&gt;Add this near the top of the &lt;code&gt;.htaccess&lt;/code&gt; file in your site root. It needs &lt;code&gt;mod_rewrite&lt;/code&gt;, which most hosts enable:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight apache"&gt;&lt;code&gt;&lt;span class="o"&gt;&amp;lt;&lt;/span&gt;&lt;span class="nc"&gt;IfModule&lt;/span&gt; &lt;span class="n"&gt;mod_rewrite&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;c&lt;/span&gt;&lt;span class="o"&gt;&amp;gt;&lt;/span&gt;
&lt;span class="nc"&gt;RewriteEngine&lt;/span&gt; &lt;span class="nc"&gt;On&lt;/span&gt;
&lt;span class="nc"&gt;RewriteCond&lt;/span&gt; &lt;span class="o"&gt;%&lt;/span&gt;&lt;span class="p"&gt;{&lt;/span&gt;&lt;span class="no"&gt;HTTP_USER_AGENT&lt;/span&gt;&lt;span class="p"&gt;}&lt;/span&gt; &lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="nc"&gt;GPTBot&lt;/span&gt;&lt;span class="o"&gt;|&lt;/span&gt;&lt;span class="nc"&gt;ClaudeBot&lt;/span&gt;&lt;span class="o"&gt;|&lt;/span&gt;&lt;span class="nc"&gt;CCBot&lt;/span&gt;&lt;span class="o"&gt;|&lt;/span&gt;&lt;span class="nc"&gt;Bytespider&lt;/span&gt;&lt;span class="o"&gt;|&lt;/span&gt;&lt;span class="nc"&gt;Meta&lt;/span&gt;&lt;span class="o"&gt;-&lt;/span&gt;&lt;span class="nc"&gt;ExternalAgent&lt;/span&gt;&lt;span class="o"&gt;|&lt;/span&gt;&lt;span class="nc"&gt;Amazonbot&lt;/span&gt;&lt;span class="o"&gt;|&lt;/span&gt;&lt;span class="n"&gt;cohere&lt;/span&gt;&lt;span class="o"&gt;-&lt;/span&gt;&lt;span class="n"&gt;ai&lt;/span&gt;&lt;span class="o"&gt;|&lt;/span&gt;&lt;span class="nc"&gt;AI2Bot&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt; &lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="no"&gt;NC&lt;/span&gt;&lt;span class="p"&gt;]&lt;/span&gt;
&lt;span class="nc"&gt;RewriteRule&lt;/span&gt; &lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="o"&gt;*&lt;/span&gt; &lt;span class="o"&gt;-&lt;/span&gt; &lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="no"&gt;F&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;&lt;span class="no"&gt;L&lt;/span&gt;&lt;span class="p"&gt;]&lt;/span&gt;
&lt;span class="o"&gt;&amp;lt;/&lt;/span&gt;&lt;span class="nc"&gt;IfModule&lt;/span&gt;&lt;span class="o"&gt;&amp;gt;&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;&lt;code&gt;[NC]&lt;/code&gt; ignores case and &lt;code&gt;[F]&lt;/code&gt; answers 403 Forbidden. On WordPress, put it above the &lt;code&gt;# BEGIN WordPress&lt;/code&gt; block so WordPress never sees these requests.&lt;/p&gt;

&lt;p&gt;If you manage the server config rather than &lt;code&gt;.htaccess&lt;/code&gt;, Apache 2.4 can do the same without rewrites:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight apache"&gt;&lt;code&gt;&lt;span class="nc"&gt;SetEnvIfNoCase&lt;/span&gt; &lt;span class="nc"&gt;User&lt;/span&gt;&lt;span class="o"&gt;-&lt;/span&gt;&lt;span class="nc"&gt;Agent&lt;/span&gt; &lt;span class="s2"&gt;"(GPTBot|ClaudeBot|CCBot|Bytespider|Meta-ExternalAgent|Amazonbot|cohere-ai|AI2Bot)"&lt;/span&gt; &lt;span class="n"&gt;block_ai_crawler&lt;/span&gt;

&lt;span class="o"&gt;&amp;lt;&lt;/span&gt;&lt;span class="nc"&gt;Location&lt;/span&gt; &lt;span class="s2"&gt;"/"&lt;/span&gt;&lt;span class="o"&gt;&amp;gt;&lt;/span&gt;
    &lt;span class="o"&gt;&amp;lt;&lt;/span&gt;&lt;span class="nc"&gt;RequireAll&lt;/span&gt;&lt;span class="o"&gt;&amp;gt;&lt;/span&gt;
        &lt;span class="nc"&gt;Require&lt;/span&gt; &lt;span class="n"&gt;all&lt;/span&gt; &lt;span class="n"&gt;granted&lt;/span&gt;
        &lt;span class="nc"&gt;Require&lt;/span&gt; &lt;span class="ow"&gt;not&lt;/span&gt; &lt;span class="n"&gt;env&lt;/span&gt; &lt;span class="n"&gt;block_ai_crawler&lt;/span&gt;
    &lt;span class="o"&gt;&amp;lt;/&lt;/span&gt;&lt;span class="nc"&gt;RequireAll&lt;/span&gt;&lt;span class="o"&gt;&amp;gt;&lt;/span&gt;
&lt;span class="o"&gt;&amp;lt;/&lt;/span&gt;&lt;span class="nc"&gt;Location&lt;/span&gt;&lt;span class="o"&gt;&amp;gt;&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h2&gt;
  
  
  Cloudflare
&lt;/h2&gt;

&lt;p&gt;If your site runs through Cloudflare, block AI crawlers at the edge so they never reach your server.&lt;/p&gt;

&lt;h3&gt;
  
  
  Option A: a custom WAF rule
&lt;/h3&gt;

&lt;ol&gt;
&lt;li&gt;In the Cloudflare dashboard, open your domain, then &lt;strong&gt;Security &amp;gt; WAF &amp;gt; Custom rules&lt;/strong&gt;, and create a rule.&lt;/li&gt;
&lt;li&gt;Choose &lt;strong&gt;Edit expression&lt;/strong&gt; and paste:
&lt;/li&gt;
&lt;/ol&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;   (lower(http.user_agent) contains "gptbot")
   or (lower(http.user_agent) contains "claudebot")
   or (lower(http.user_agent) contains "ccbot")
   or (lower(http.user_agent) contains "bytespider")
   or (lower(http.user_agent) contains "meta-externalagent")
   or (lower(http.user_agent) contains "amazonbot")
   or (lower(http.user_agent) contains "cohere-ai")
   or (lower(http.user_agent) contains "ai2bot")
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;ol&gt;
&lt;li&gt;Set the action to &lt;strong&gt;Block&lt;/strong&gt; and deploy.&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;This works on the free plan. Use &lt;code&gt;contains&lt;/code&gt; as shown: the regex operator &lt;code&gt;matches&lt;/code&gt; needs a higher plan.&lt;/p&gt;

&lt;h3&gt;
  
  
  Option B: Cloudflare's AI bot setting
&lt;/h3&gt;

&lt;p&gt;Cloudflare also has its own one-click setting to block AI bots, and AI Crawl Control for managing them. Both use Cloudflare's list of AI crawlers. Use the custom rule when you want the exact same list on Cloudflare and on your own servers. Our &lt;a href="https://webdecoy.com/comparisons/cloudflare-ai-crawl-control-vs-webdecoy/" rel="noopener noreferrer"&gt;comparison with AI Crawl Control&lt;/a&gt; covers the differences.&lt;/p&gt;

&lt;h2&gt;
  
  
  Test your block
&lt;/h2&gt;

&lt;p&gt;Send a request with an AI crawler's User-Agent and check for &lt;code&gt;403&lt;/code&gt;:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;curl -s -o /dev/null -w &lt;span class="s2"&gt;"%{http_code}\n"&lt;/span&gt; -A &lt;span class="s2"&gt;"Mozilla/5.0 (compatible; GPTBot/1.2; +https://openai.com/gptbot)"&lt;/span&gt; https://yoursite.com/
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Then confirm normal visitors and search engines still get &lt;code&gt;200&lt;/code&gt;:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;curl -s -o /dev/null -w &lt;span class="s2"&gt;"%{http_code}\n"&lt;/span&gt; https://yoursite.com/
curl -s -o /dev/null -w &lt;span class="s2"&gt;"%{http_code}\n"&lt;/span&gt; -A &lt;span class="s2"&gt;"Mozilla/5.0 (compatible; Googlebot/2.1; +http://www.google.com/bot.html)"&lt;/span&gt; https://yoursite.com/
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Over the next days, check your access logs for 403s to AI crawlers:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;grep -iE &lt;span class="s2"&gt;"gptbot|claudebot|ccbot"&lt;/span&gt; /var/log/nginx/access.log &lt;span class="o"&gt;|&lt;/span&gt; awk &lt;span class="s1"&gt;'{print $9}'&lt;/span&gt; &lt;span class="o"&gt;|&lt;/span&gt; sort &lt;span class="o"&gt;|&lt;/span&gt; uniq -c
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h2&gt;
  
  
  Scrapers that hide their name
&lt;/h2&gt;

&lt;p&gt;Every rule above matches the name a crawler sends. The large AI companies send their real names, so these rules stop them. Scrapers that copy a Chrome User-Agent pass straight through, along with any crawler you haven't listed yet.&lt;/p&gt;

&lt;p&gt;That is the gap &lt;a href="https://webdecoy.com/" rel="noopener noreferrer"&gt;WebDecoy&lt;/a&gt; closes:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Up-to-date crawler list.&lt;/strong&gt; WebDecoy recognises over 200 crawlers and AI agents by name, and the list updates without you editing configs.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Detection beyond the name.&lt;/strong&gt; Hidden trap links and decoy pages that only bots follow, plus request fingerprints, catch scrapers that pretend to be a browser.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Fake crawlers caught.&lt;/strong&gt; Requests claiming to be Googlebot or Bingbot are checked against the operator's published addresses.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Runs where you do.&lt;/strong&gt; A &lt;a href="https://webdecoy.com/blog/cloudflare-edge-sensor-one-click-detect-non-js-crawlers/" rel="noopener noreferrer"&gt;one-click Cloudflare edge sensor&lt;/a&gt;, a &lt;a href="https://webdecoy.com/wordpress/" rel="noopener noreferrer"&gt;WordPress plugin&lt;/a&gt; and &lt;a href="https://webdecoy.com/blog/nextjs-bot-detection-edge-middleware-block-ai-crawlers/" rel="noopener noreferrer"&gt;Next.js middleware&lt;/a&gt;.&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  Quick checklist
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;Disallow AI crawlers in robots.txt, including &lt;code&gt;Google-Extended&lt;/code&gt; and &lt;code&gt;Applebot-Extended&lt;/code&gt;.&lt;/li&gt;
&lt;li&gt;Add the server rule for nginx, Apache or Cloudflare.&lt;/li&gt;
&lt;li&gt;Decide on AI search crawlers: keep them to stay in AI answers, or add them to the list.&lt;/li&gt;
&lt;li&gt;Test with &lt;code&gt;curl&lt;/code&gt;: 403 for GPTBot, 200 for browsers and Googlebot.&lt;/li&gt;
&lt;li&gt;Add detection for scrapers that hide their name.&lt;/li&gt;
&lt;/ul&gt;

</description>
      <category>nginx</category>
      <category>devops</category>
      <category>ai</category>
      <category>webdev</category>
    </item>
    <item>
      <title>How to Add llms.txt to WordPress (Free Plugin or by Hand)</title>
      <dc:creator>webdecoy</dc:creator>
      <pubDate>Sun, 22 Nov 2026 15:15:56 +0000</pubDate>
      <link>https://dev.to/webdecoy/how-to-add-llmstxt-to-wordpress-free-plugin-or-by-hand-5gp1</link>
      <guid>https://dev.to/webdecoy/how-to-add-llmstxt-to-wordpress-free-plugin-or-by-hand-5gp1</guid>
      <description>&lt;p&gt;&lt;em&gt;Originally published on &lt;a href="https://webdecoy.com/blog/llms-txt-wordpress/" rel="noopener noreferrer"&gt;webdecoy.com&lt;/a&gt;.&lt;/em&gt;&lt;/p&gt;

&lt;p&gt;llms.txt is a small Markdown file at the root of your site that tells AI tools what the site is and where its best pages are. This guide shows what goes in it, how to add one to WordPress in a couple of minutes, and how to see which AI crawlers fetch it.&lt;/p&gt;

&lt;h2&gt;
  
  
  What llms.txt is
&lt;/h2&gt;

&lt;p&gt;The format was proposed at &lt;a href="https://llmstxt.org" rel="noopener noreferrer"&gt;llmstxt.org&lt;/a&gt; in September 2024. The idea is simple: AI tools work better with a short, clean summary than with a full HTML page of menus, scripts and ads. So a site publishes &lt;code&gt;/llms.txt&lt;/code&gt; with:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;An &lt;code&gt;#&lt;/code&gt; heading with the site name.&lt;/li&gt;
&lt;li&gt;A &lt;code&gt;&amp;gt;&lt;/code&gt; quote with a one-line summary.&lt;/li&gt;
&lt;li&gt;Optional plain text with more context.&lt;/li&gt;
&lt;li&gt;
&lt;code&gt;##&lt;/code&gt; sections, each a list of links with a short description.&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;Here is a small one:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight markdown"&gt;&lt;code&gt;&lt;span class="gu"&gt;# Example Bakery
&lt;/span&gt;
&lt;span class="ge"&gt;&amp;gt; Sourdough recipes, baking guides and a weekly bread newsletter.
&lt;/span&gt;
All recipes are tested at home and use metric weights.

&lt;span class="gu"&gt;## Pages
&lt;/span&gt;
&lt;span class="k"&gt;- &lt;/span&gt;[About](https://example.com/about/): Who runs the site and how recipes are tested
&lt;span class="k"&gt;- &lt;/span&gt;[Start here](https://example.com/start/): The five recipes to bake first

&lt;span class="gu"&gt;## Posts
&lt;/span&gt;
&lt;span class="k"&gt;- &lt;/span&gt;[Beginner sourdough loaf](https://example.com/beginner-sourdough/): A step-by-step first loaf with photos
&lt;span class="k"&gt;- &lt;/span&gt;[Sourdough starter from scratch](https://example.com/starter/): Make a starter in seven days
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;It lives at &lt;code&gt;https://yoursite.com/llms.txt&lt;/code&gt;, next to &lt;code&gt;robots.txt&lt;/code&gt; and your sitemap.&lt;/p&gt;

&lt;h2&gt;
  
  
  llms.txt vs robots.txt
&lt;/h2&gt;

&lt;p&gt;They do different jobs, and you can use both:&lt;/p&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;&lt;/th&gt;
&lt;th&gt;robots.txt&lt;/th&gt;
&lt;th&gt;llms.txt&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;Purpose&lt;/td&gt;
&lt;td&gt;Tells crawlers what not to fetch&lt;/td&gt;
&lt;td&gt;Points AI tools to your best content&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Format&lt;/td&gt;
&lt;td&gt;
&lt;code&gt;User-agent&lt;/code&gt; and &lt;code&gt;Disallow&lt;/code&gt; rules&lt;/td&gt;
&lt;td&gt;Markdown links with descriptions&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Blocks anything&lt;/td&gt;
&lt;td&gt;Asks crawlers to stay out&lt;/td&gt;
&lt;td&gt;No&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;

&lt;p&gt;If you want AI training crawlers kept out, that is robots.txt's job. See &lt;a href="https://webdecoy.com/blog/block-ai-crawlers-robots-txt-wordpress/" rel="noopener noreferrer"&gt;how to block AI crawlers with robots.txt&lt;/a&gt;. A common setup is to block training crawlers in robots.txt, and publish llms.txt for AI search and assistants that you want to cite you.&lt;/p&gt;

&lt;h2&gt;
  
  
  Option 1: WebDecoy (free, updates itself)
&lt;/h2&gt;

&lt;p&gt;&lt;a href="https://webdecoy.com/wordpress/" rel="noopener noreferrer"&gt;WebDecoy for WordPress&lt;/a&gt; builds llms.txt from your content and keeps it current.&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;Install &lt;strong&gt;WebDecoy&lt;/strong&gt; from Plugins &amp;gt; Add New Plugin, or from &lt;a href="https://wordpress.org/plugins/webdecoy/" rel="noopener noreferrer"&gt;WordPress.org&lt;/a&gt;.&lt;/li&gt;
&lt;li&gt;Go to &lt;strong&gt;WebDecoy &amp;gt; Settings &amp;gt; Good Bots&lt;/strong&gt; and scroll to &lt;strong&gt;llms.txt&lt;/strong&gt;.&lt;/li&gt;
&lt;li&gt;Tick &lt;strong&gt;Serve llms.txt&lt;/strong&gt;.&lt;/li&gt;
&lt;li&gt;Optional: write a &lt;strong&gt;Summary&lt;/strong&gt; (the tagline is used if you leave it empty), add an &lt;strong&gt;Introduction&lt;/strong&gt;, choose which content types to list (pages and posts by default; WooCommerce products or any other public type if you like) and set &lt;strong&gt;Links per section&lt;/strong&gt;.&lt;/li&gt;
&lt;li&gt;Save, then click &lt;strong&gt;View your live llms.txt&lt;/strong&gt;.&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;What WebDecoy puts in the file:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Your site name, summary and introduction.&lt;/li&gt;
&lt;li&gt;One section per content type, with each item's title, link and a one-line description from its excerpt.&lt;/li&gt;
&lt;li&gt;Only published content. Private, draft and password-protected posts are left out, and so are posts you marked noindex in Yoast SEO, Rank Math or SEOPress, hidden WooCommerce products, and cart, checkout and account pages.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;The file rebuilds when you publish, edit or delete a post, so it never goes stale. The settings page shows a preview before you turn it on.&lt;/p&gt;

&lt;p&gt;If another plugin already serves llms.txt (Yoast SEO, Rank Math, All in One SEO or Website LLMs.txt), or there is an &lt;code&gt;llms.txt&lt;/code&gt; file on your server, WebDecoy leaves that one in place and tells you which.&lt;/p&gt;

&lt;h2&gt;
  
  
  Option 2: Write it by hand
&lt;/h2&gt;

&lt;p&gt;For a small site that rarely changes, a hand-written file works:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;Write the file in the format above. Keep it to the pages you want AI tools to read first, not every post you have.&lt;/li&gt;
&lt;li&gt;Save it as &lt;code&gt;llms.txt&lt;/code&gt; and upload it to your web root, the folder with &lt;code&gt;wp-config.php&lt;/code&gt;, over SFTP or your host's file manager.&lt;/li&gt;
&lt;li&gt;Open &lt;code&gt;https://yoursite.com/llms.txt&lt;/code&gt; to check it.&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;You will need to edit it whenever you add or remove important pages.&lt;/p&gt;

&lt;h2&gt;
  
  
  Check it is working
&lt;/h2&gt;

&lt;p&gt;Fetch it from the command line:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;curl -sI https://yoursite.com/llms.txt
curl -s https://yoursite.com/llms.txt &lt;span class="o"&gt;|&lt;/span&gt; head -20
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;You want a &lt;code&gt;200&lt;/code&gt; status and a &lt;code&gt;text/plain&lt;/code&gt; or &lt;code&gt;text/markdown&lt;/code&gt; content type. If you get your theme's "page not found" page, a cache or your web server is answering first. Purge your cache and check your permalink settings.&lt;/p&gt;

&lt;h2&gt;
  
  
  See which AI crawlers read it
&lt;/h2&gt;

&lt;p&gt;Publishing llms.txt is half of it. The other half is knowing who reads it.&lt;/p&gt;

&lt;p&gt;WebDecoy's &lt;strong&gt;AI Traffic&lt;/strong&gt; page in WordPress counts AI crawler visits by name (GPTBot, ClaudeBot, PerplexityBot, OAI-SearchBot and over 200 others), with fetches of llms.txt included in each crawler's count. It also counts visitors that AI assistants such as ChatGPT, Perplexity and Claude send to your pages. No account is needed.&lt;/p&gt;

&lt;h2&gt;
  
  
  Quick checklist
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;Decide what AI tools should read first: your about page, key guides, product pages.&lt;/li&gt;
&lt;li&gt;Turn on llms.txt in WebDecoy, or upload a hand-written file.&lt;/li&gt;
&lt;li&gt;Check &lt;code&gt;/llms.txt&lt;/code&gt; returns 200 with your content.&lt;/li&gt;
&lt;li&gt;Keep training crawlers out with robots.txt if you want to.&lt;/li&gt;
&lt;li&gt;Watch the AI Traffic page to see which crawlers visit.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;a href="https://wordpress.org/plugins/webdecoy/" rel="noopener noreferrer"&gt;Install WebDecoy from WordPress.org&lt;/a&gt; to add llms.txt to WordPress in one click.&lt;/p&gt;

</description>
      <category>wordpress</category>
      <category>ai</category>
      <category>seo</category>
      <category>webdev</category>
    </item>
    <item>
      <title>How to Block AI Crawlers with robots.txt (and in WordPress)</title>
      <dc:creator>webdecoy</dc:creator>
      <pubDate>Sun, 22 Nov 2026 04:28:08 +0000</pubDate>
      <link>https://dev.to/webdecoy/how-to-block-ai-crawlers-with-robotstxt-and-in-wordpress-1hfb</link>
      <guid>https://dev.to/webdecoy/how-to-block-ai-crawlers-with-robotstxt-and-in-wordpress-1hfb</guid>
      <description>&lt;p&gt;&lt;em&gt;Originally published on &lt;a href="https://webdecoy.com/blog/block-ai-crawlers-robots-txt-wordpress/" rel="noopener noreferrer"&gt;webdecoy.com&lt;/a&gt;.&lt;/em&gt;&lt;/p&gt;

&lt;p&gt;robots.txt is the first thing to change if you don't want AI companies training on your site. It takes five minutes, it is free, and the large AI crawlers say they follow it. This tutorial gives you the rules to copy, shows how to add them in WordPress, and covers how to refuse the bots that ignore robots.txt.&lt;/p&gt;

&lt;h2&gt;
  
  
  The robots.txt rules to block AI crawlers
&lt;/h2&gt;

&lt;p&gt;Paste this at the end of your robots.txt. It asks the best-known AI training crawlers to stay off your entire site:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;# Block AI training crawlers
User-agent: GPTBot
User-agent: ClaudeBot
User-agent: CCBot
User-agent: Google-Extended
User-agent: Applebot-Extended
User-agent: Meta-ExternalAgent
User-agent: Bytespider
User-agent: Amazonbot
User-agent: cohere-ai
User-agent: AI2Bot
Disallow: /
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;What each one is:&lt;/p&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;Token&lt;/th&gt;
&lt;th&gt;Who runs it&lt;/th&gt;
&lt;th&gt;What it does&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;&lt;code&gt;GPTBot&lt;/code&gt;&lt;/td&gt;
&lt;td&gt;OpenAI&lt;/td&gt;
&lt;td&gt;Collects content for training OpenAI's models&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;code&gt;ClaudeBot&lt;/code&gt;&lt;/td&gt;
&lt;td&gt;Anthropic&lt;/td&gt;
&lt;td&gt;Collects content for training Claude&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;code&gt;CCBot&lt;/code&gt;&lt;/td&gt;
&lt;td&gt;Common Crawl&lt;/td&gt;
&lt;td&gt;Builds the open web dataset many AI models are trained on&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;code&gt;Google-Extended&lt;/code&gt;&lt;/td&gt;
&lt;td&gt;Google&lt;/td&gt;
&lt;td&gt;Controls whether Gemini can train on your pages. Not a separate crawler, and it doesn't affect Google Search&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;code&gt;Applebot-Extended&lt;/code&gt;&lt;/td&gt;
&lt;td&gt;Apple&lt;/td&gt;
&lt;td&gt;Controls whether Apple Intelligence can train on what Applebot crawls. Apple search features are unaffected&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;code&gt;Meta-ExternalAgent&lt;/code&gt;&lt;/td&gt;
&lt;td&gt;Meta&lt;/td&gt;
&lt;td&gt;Collects content for training Meta's AI models&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;code&gt;Bytespider&lt;/code&gt;&lt;/td&gt;
&lt;td&gt;ByteDance&lt;/td&gt;
&lt;td&gt;Crawler from TikTok's parent company, collecting data for its AI models&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;code&gt;Amazonbot&lt;/code&gt;&lt;/td&gt;
&lt;td&gt;Amazon&lt;/td&gt;
&lt;td&gt;Crawls for Amazon services, including Alexa&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;code&gt;cohere-ai&lt;/code&gt;&lt;/td&gt;
&lt;td&gt;Cohere&lt;/td&gt;
&lt;td&gt;Collects content for Cohere's models&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;code&gt;AI2Bot&lt;/code&gt;&lt;/td&gt;
&lt;td&gt;Allen Institute for AI&lt;/td&gt;
&lt;td&gt;Collects content for open research models&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;

&lt;p&gt;A few rules about the format:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Several &lt;code&gt;User-agent&lt;/code&gt; lines can share one &lt;code&gt;Disallow&lt;/code&gt;.&lt;/strong&gt; They form one group, and the rule applies to every name in it.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;There is no wildcard for "all AI bots".&lt;/strong&gt; &lt;code&gt;User-agent: *&lt;/code&gt; means every crawler, including Googlebot. Each AI crawler has to be named.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Names are not case sensitive&lt;/strong&gt;, but the token must match what the crawler looks for. &lt;code&gt;ChatGPT&lt;/code&gt; is not a crawler token. &lt;code&gt;GPTBot&lt;/code&gt; is.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;robots.txt must sit at the root of your domain&lt;/strong&gt;, as in &lt;code&gt;https://example.com/robots.txt&lt;/code&gt;. A copy in a subfolder is ignored.&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  Training crawlers vs AI search crawlers
&lt;/h2&gt;

&lt;p&gt;Before you add more names, decide what you want from AI search. AI companies run different bots for different jobs:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Training crawlers&lt;/strong&gt; (&lt;code&gt;GPTBot&lt;/code&gt;, &lt;code&gt;ClaudeBot&lt;/code&gt;, &lt;code&gt;CCBot&lt;/code&gt;, &lt;code&gt;Google-Extended&lt;/code&gt;) collect content to train models.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;AI search crawlers&lt;/strong&gt; (&lt;code&gt;OAI-SearchBot&lt;/code&gt;, &lt;code&gt;Claude-SearchBot&lt;/code&gt;, &lt;code&gt;PerplexityBot&lt;/code&gt;) fetch pages so ChatGPT search, Claude and Perplexity can quote and link to you. Blocking them takes you out of those answers.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Assistants that fetch for a person&lt;/strong&gt; (&lt;code&gt;ChatGPT-User&lt;/code&gt;, &lt;code&gt;Claude-User&lt;/code&gt;, &lt;code&gt;Perplexity-User&lt;/code&gt;) load a page when someone asks the assistant to read it.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;A common setup is to block training and keep AI search, so you can still get cited and get clicks. The rules above do that. To leave AI search as well, add a second group:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;# Also block AI search and assistants
User-agent: OAI-SearchBot
User-agent: ChatGPT-User
User-agent: Claude-SearchBot
User-agent: Claude-User
User-agent: PerplexityBot
User-agent: Perplexity-User
Disallow: /
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;To block AI crawlers from part of a site, such as a members area or a docs folder, replace &lt;code&gt;Disallow: /&lt;/code&gt; with the path:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;User-agent: GPTBot
User-agent: ClaudeBot
Disallow: /members/
Disallow: /docs/
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h2&gt;
  
  
  How to add the rules in WordPress
&lt;/h2&gt;

&lt;p&gt;WordPress serves robots.txt in one of two ways, and which one you have decides where the rules go.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;1. Check for a real file.&lt;/strong&gt; Look in your site's web root (the folder with &lt;code&gt;wp-config.php&lt;/code&gt;) for &lt;code&gt;robots.txt&lt;/code&gt;. If it exists, your server sends that file and WordPress never runs. Open it over SFTP or your host's file manager and paste the rules at the end.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;2. No file? WordPress generates it.&lt;/strong&gt; Open &lt;code&gt;https://yoursite.com/robots.txt&lt;/code&gt; in a browser. If you see content but there is no file on disk, WordPress is building it. Then you have three options.&lt;/p&gt;

&lt;h3&gt;
  
  
  Option A: WebDecoy (automatic, stays current)
&lt;/h3&gt;

&lt;p&gt;&lt;a href="https://webdecoy.com/wordpress/" rel="noopener noreferrer"&gt;WebDecoy for WordPress&lt;/a&gt; is free on WordPress.org. Install it, then go to &lt;strong&gt;Settings &amp;gt; Good Bots &amp;gt; Automatic robots.txt&lt;/strong&gt; and tick &lt;strong&gt;AI training crawler&lt;/strong&gt;. Save.&lt;/p&gt;

&lt;p&gt;WebDecoy adds a marked block with every AI training crawler it knows by name, 36 in the current release, compared with the 10 in the list above. The list updates when the plugin updates, so new crawlers are added without you editing anything. Your sitemap lines and other plugins' rules stay as they are, and the settings page shows the exact rules it added.&lt;/p&gt;

&lt;p&gt;You can tick other categories too, such as AI search crawlers, SEO tools or commercial scrapers. If your site has a physical robots.txt file, WebDecoy tells you and shows the rules to copy into it.&lt;/p&gt;

&lt;h3&gt;
  
  
  Option B: Your SEO plugin
&lt;/h3&gt;

&lt;p&gt;Yoast SEO and Rank Math both include a robots.txt editor. Paste the rules from above into it. You will need to add new crawlers by hand as they appear.&lt;/p&gt;

&lt;h3&gt;
  
  
  Option C: A code snippet
&lt;/h3&gt;

&lt;p&gt;Add this to a small custom plugin or your theme's &lt;code&gt;functions.php&lt;/code&gt;. It appends the rules to the robots.txt WordPress generates:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight php"&gt;&lt;code&gt;&lt;span class="nf"&gt;add_filter&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt; &lt;span class="s1"&gt;'robots_txt'&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="k"&gt;function&lt;/span&gt; &lt;span class="p"&gt;(&lt;/span&gt; &lt;span class="nv"&gt;$output&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="nv"&gt;$public&lt;/span&gt; &lt;span class="p"&gt;)&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;
    &lt;span class="nv"&gt;$bots&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="kt"&gt;array&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;
        &lt;span class="s1"&gt;'GPTBot'&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="s1"&gt;'ClaudeBot'&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="s1"&gt;'CCBot'&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="s1"&gt;'Google-Extended'&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="s1"&gt;'Applebot-Extended'&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
        &lt;span class="s1"&gt;'Meta-ExternalAgent'&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="s1"&gt;'Bytespider'&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="s1"&gt;'Amazonbot'&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="s1"&gt;'cohere-ai'&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="s1"&gt;'AI2Bot'&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
    &lt;span class="p"&gt;)&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;

    &lt;span class="nv"&gt;$output&lt;/span&gt; &lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="s2"&gt;"\n# Block AI training crawlers\n"&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
    &lt;span class="k"&gt;foreach&lt;/span&gt; &lt;span class="p"&gt;(&lt;/span&gt; &lt;span class="nv"&gt;$bots&lt;/span&gt; &lt;span class="k"&gt;as&lt;/span&gt; &lt;span class="nv"&gt;$bot&lt;/span&gt; &lt;span class="p"&gt;)&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;
        &lt;span class="nv"&gt;$output&lt;/span&gt; &lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="s2"&gt;"User-agent: {$bot}\n"&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
    &lt;span class="p"&gt;}&lt;/span&gt;
    &lt;span class="nv"&gt;$output&lt;/span&gt; &lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="s2"&gt;"Disallow: /\n"&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;

    &lt;span class="k"&gt;return&lt;/span&gt; &lt;span class="nv"&gt;$output&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
&lt;span class="p"&gt;}&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="mi"&gt;10&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="mi"&gt;2&lt;/span&gt; &lt;span class="p"&gt;)&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h2&gt;
  
  
  Test your robots.txt
&lt;/h2&gt;

&lt;ol&gt;
&lt;li&gt;Fetch it from the command line and check your rules are at the end:
&lt;/li&gt;
&lt;/ol&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;   curl -s https://yoursite.com/robots.txt
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;ol&gt;
&lt;li&gt;If you use a CDN or a host cache, purge the cached robots.txt so crawlers get the new version.&lt;/li&gt;
&lt;li&gt;In Google Search Console, open the robots.txt report under &lt;strong&gt;Settings&lt;/strong&gt; to confirm Google fetched it without errors, and that Googlebot is still allowed.&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;Crawlers re-read robots.txt on their own schedule, usually within a day.&lt;/p&gt;

&lt;h2&gt;
  
  
  Bots that ignore robots.txt
&lt;/h2&gt;

&lt;p&gt;robots.txt is a request. The named crawlers from OpenAI, Anthropic, Google, Apple and Common Crawl say they follow it, but nothing forces a bot to read it, and scrapers often don't.&lt;/p&gt;

&lt;p&gt;To refuse them rather than ask, the block has to happen on your server. In WebDecoy for WordPress:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;Go to &lt;strong&gt;Settings &amp;gt; Good Bots&lt;/strong&gt; and turn on &lt;strong&gt;Block AI crawlers&lt;/strong&gt;. This refuses AI training crawlers and AI agents, including ones that ignore robots.txt. Search engines and AI search crawlers such as OAI-SearchBot and PerplexityBot stay allowed.&lt;/li&gt;
&lt;li&gt;WebDecoy starts in monitor mode, which counts what it would block without blocking anything. Check the Detections page, then turn monitor mode off on the &lt;strong&gt;Blocking&lt;/strong&gt; tab.&lt;/li&gt;
&lt;li&gt;If you use a page cache and the AI Traffic page offers &lt;strong&gt;Count crawlers on cached pages&lt;/strong&gt;, turn it on, so AI crawlers reach WebDecoy instead of getting a cached copy.&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;The &lt;strong&gt;AI Traffic&lt;/strong&gt; page then shows which AI crawlers visit and how often, so you can see the rules working.&lt;/p&gt;

&lt;h2&gt;
  
  
  Quick checklist
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;Add the training crawler group to robots.txt.&lt;/li&gt;
&lt;li&gt;Decide on AI search crawlers: allow them to stay in AI answers, or add the second group.&lt;/li&gt;
&lt;li&gt;Keep &lt;code&gt;Googlebot&lt;/code&gt; and &lt;code&gt;Bingbot&lt;/code&gt; allowed.&lt;/li&gt;
&lt;li&gt;Test with &lt;code&gt;curl&lt;/code&gt; and Search Console.&lt;/li&gt;
&lt;li&gt;Block at the server for bots that ignore robots.txt.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;a href="https://wordpress.org/plugins/webdecoy/" rel="noopener noreferrer"&gt;Install WebDecoy from WordPress.org&lt;/a&gt; to set up AI crawler rules in one click.&lt;/p&gt;

</description>
      <category>wordpress</category>
      <category>webdev</category>
      <category>ai</category>
      <category>seo</category>
    </item>
    <item>
      <title>Protect Statamic Forms from AI Bots with Self-Hosted FCaptcha</title>
      <dc:creator>webdecoy</dc:creator>
      <pubDate>Tue, 10 Nov 2026 16:50:40 +0000</pubDate>
      <link>https://dev.to/webdecoy/protect-statamic-forms-from-ai-bots-with-self-hosted-fcaptcha-5ban</link>
      <guid>https://dev.to/webdecoy/protect-statamic-forms-from-ai-bots-with-self-hosted-fcaptcha-5ban</guid>
      <description>&lt;p&gt;A Statamic contact form needs to handle visitors and automated clients using the same browser interface. AI agents can operate a browser and submit the same form. &lt;strong&gt;FCaptcha is built to detect that automation at the action you protect&lt;/strong&gt;, using browser automation signals, behavior and proof of work. You can inspect the source and run the verifier yourself.&lt;/p&gt;

&lt;p&gt;I’m on the WebDecoy team, which maintains FCaptcha. Statamic developers can use it through &lt;a href="https://github.com/aryehraber/statamic-captcha" rel="noopener noreferrer"&gt;Aryeh Raber’s existing Captcha addon&lt;/a&gt;. This walkthrough connects a contact form to that provider, then checks that failed verification cannot save a submission.&lt;/p&gt;

&lt;p&gt;The &lt;a href="https://webdecoy.com/examples/statamic-fcaptcha.zip?utm_source=devto&amp;amp;utm_medium=article&amp;amp;utm_campaign=statamic_fcaptcha" rel="noopener noreferrer"&gt;runnable Statamic example&lt;/a&gt; accompanies this walkthrough. The example contains a form, configuration, localhost verifier runner and eight backend tests. It is intended for a fresh disposable site.&lt;/p&gt;

&lt;h2&gt;
  
  
  What we tested
&lt;/h2&gt;

&lt;p&gt;On November 10, 2026, we ran the example with Statamic CMS &lt;strong&gt;6.40.0&lt;/strong&gt;, Statamic skeleton &lt;strong&gt;6.5.3&lt;/strong&gt;, Captcha addon &lt;strong&gt;1.18.0&lt;/strong&gt;, FCaptcha &lt;strong&gt;1.48.0&lt;/strong&gt;, Laravel &lt;strong&gt;13.40.0&lt;/strong&gt; and PHP &lt;strong&gt;8.5.10&lt;/strong&gt;.&lt;/p&gt;

&lt;p&gt;The tests send requests through Statamic’s real form endpoint and the released FCaptcha Node verifier over localhost HTTP. They inspect the stored-submission count after each case.&lt;/p&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;Request&lt;/th&gt;
&lt;th&gt;Result&lt;/th&gt;
&lt;th&gt;Submission storage&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;Form page&lt;/td&gt;
&lt;td&gt;200; widget script and response field present&lt;/td&gt;
&lt;td&gt;No submission&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Missing token&lt;/td&gt;
&lt;td&gt;400&lt;/td&gt;
&lt;td&gt;Unchanged&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Malformed token&lt;/td&gt;
&lt;td&gt;400&lt;/td&gt;
&lt;td&gt;Unchanged&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Valid signed fixture&lt;/td&gt;
&lt;td&gt;200&lt;/td&gt;
&lt;td&gt;One new submission&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Replay of that fixture&lt;/td&gt;
&lt;td&gt;400&lt;/td&gt;
&lt;td&gt;Unchanged after the first save&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Tampered signature&lt;/td&gt;
&lt;td&gt;400&lt;/td&gt;
&lt;td&gt;Unchanged&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Incorrect verification secret&lt;/td&gt;
&lt;td&gt;400&lt;/td&gt;
&lt;td&gt;Unchanged&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Verifier connection refused, JSON request&lt;/td&gt;
&lt;td&gt;503 with retry message&lt;/td&gt;
&lt;td&gt;Unchanged&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Verifier connection refused, ordinary form&lt;/td&gt;
&lt;td&gt;Redirect with validation error&lt;/td&gt;
&lt;td&gt;Unchanged&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;

&lt;p&gt;&lt;strong&gt;Eight tests and 22 assertions passed.&lt;/strong&gt; The valid-token case uses a signed fixture created with disposable local keys. It isolates backend verification and replay behavior; it does not demonstrate a human or an AI agent completing the widget. The form was also rendered in Chrome without solving its challenge. These checks establish integration behavior, not an AI-detection benchmark.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://webdecoy.com/examples/statamic-fcaptcha/test-results.txt" rel="noopener noreferrer"&gt;Read the captured test output&lt;/a&gt;.&lt;/p&gt;

&lt;h2&gt;
  
  
  1. Install the addon
&lt;/h2&gt;

&lt;p&gt;In an existing compatible Statamic project, install the addon and publish its configuration:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;composer require aryehraber/statamic-captcha
php please vendor:publish --tag=captcha-config
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;For the exact disposable test environment, the download’s README pins the skeleton, CMS and addon versions. It also includes the form blueprint; you do not need to create a control-panel account to reproduce it.&lt;/p&gt;

&lt;h2&gt;
  
  
  2. Connect your verifier
&lt;/h2&gt;

&lt;p&gt;Run your own FCaptcha service, then set these values in the Statamic application’s private &lt;code&gt;.env&lt;/code&gt; file:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;CAPTCHA_SERVICE=Fcaptcha
CAPTCHA_SITEKEY=your-public-site-key
CAPTCHA_SECRET=your-private-verification-secret
CAPTCHA_SERVER_URL=https://captcha.example.com
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;The public site key belongs in the widget. The verification secret belongs in Statamic’s backend. FCaptcha’s signing secret stays on the verifier; it must never be embedded in a page or committed with the example.&lt;/p&gt;

&lt;p&gt;In &lt;code&gt;config/captcha.php&lt;/code&gt;, retain the published configuration and select the form handles you intend to protect:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight php"&gt;&lt;code&gt;&lt;span class="s1"&gt;'forms'&lt;/span&gt; &lt;span class="o"&gt;=&amp;gt;&lt;/span&gt; &lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="s1"&gt;'contact'&lt;/span&gt;&lt;span class="p"&gt;]&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;The handle must match your actual Statamic form. Installing the addon while leaving this list empty does not protect that contact form.&lt;/p&gt;

&lt;p&gt;After editing environment values or cached configuration, run:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;php please config:clear
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;The local example generates separate temporary signing and verification secrets. Its runner binds the verifier to &lt;code&gt;127.0.0.1:3811&lt;/code&gt;; the form runs at &lt;code&gt;http://localhost:3812/fcaptcha-contact&lt;/code&gt;. Use the README’s localhost setup for testing and your normal HTTPS service setup for deployment.&lt;/p&gt;

&lt;h2&gt;
  
  
  3. Render the widget inside the form
&lt;/h2&gt;

&lt;p&gt;Add the head tag to the page head and the widget tag inside the protected form:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight html"&gt;&lt;code&gt;&lt;span class="nt"&gt;&amp;lt;head&amp;gt;&lt;/span&gt;
  {{ captcha:head }}
&lt;span class="nt"&gt;&amp;lt;/head&amp;gt;&lt;/span&gt;
&lt;span class="nt"&gt;&amp;lt;body&amp;gt;&lt;/span&gt;
  {{ form:contact }}
    &lt;span class="nt"&gt;&amp;lt;label&lt;/span&gt; &lt;span class="na"&gt;for&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="s"&gt;"email"&lt;/span&gt;&lt;span class="nt"&gt;&amp;gt;&lt;/span&gt;Email&lt;span class="nt"&gt;&amp;lt;/label&amp;gt;&lt;/span&gt;
    &lt;span class="nt"&gt;&amp;lt;input&lt;/span&gt; &lt;span class="na"&gt;id&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="s"&gt;"email"&lt;/span&gt; &lt;span class="na"&gt;name&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="s"&gt;"email"&lt;/span&gt; &lt;span class="na"&gt;type&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="s"&gt;"email"&lt;/span&gt; &lt;span class="na"&gt;required&lt;/span&gt;&lt;span class="nt"&gt;&amp;gt;&lt;/span&gt;

    {{ captcha }}

    {{ if error:captcha }}
      &lt;span class="nt"&gt;&amp;lt;p&lt;/span&gt; &lt;span class="na"&gt;role&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="s"&gt;"alert"&lt;/span&gt;&lt;span class="nt"&gt;&amp;gt;&lt;/span&gt;{{ error:captcha }}&lt;span class="nt"&gt;&amp;lt;/p&amp;gt;&lt;/span&gt;
    {{ /if }}

    &lt;span class="nt"&gt;&amp;lt;button&lt;/span&gt; &lt;span class="na"&gt;type&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="s"&gt;"submit"&lt;/span&gt;&lt;span class="nt"&gt;&amp;gt;&lt;/span&gt;Send message&lt;span class="nt"&gt;&amp;lt;/button&amp;gt;&lt;/span&gt;
  {{ /form:contact }}
&lt;span class="nt"&gt;&amp;lt;/body&amp;gt;&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;This is the template fragment; a complete document and matching blueprint are in the download. Keep Statamic’s form tag and existing CSRF and honeypot controls. The addon renders the &lt;code&gt;fcaptcha_token&lt;/code&gt; response field and populates it after verification.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fi4haeo7per67bfczufeb.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fi4haeo7per67bfczufeb.png" alt="Actual Chrome capture of the disposable Statamic contact form, with named form fields, an FCaptcha widget and a send button. The widget has not been solved." width="800" height="582"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;em&gt;Actual local integration capture. The styled page is part of the downloadable example, not the Statamic control panel.&lt;/em&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  4. Verify before saving
&lt;/h2&gt;

&lt;p&gt;The browser submits the token with the form. The addon sends it from Statamic’s backend to the configured verifier’s &lt;code&gt;/turnstile/v0/siteverify&lt;/code&gt; endpoint. The provider checks the returned success flag, and failed verification adds a form validation error before storage.&lt;/p&gt;

&lt;p&gt;Our tests confirmed this by checking storage after missing, invalid and replayed tokens. A green widget state alone would not establish that the backend is protected.&lt;/p&gt;

&lt;p&gt;The addon by itself surfaced connection refusal as a server error. The example adds a narrow handler in &lt;code&gt;bootstrap/app.php&lt;/code&gt;: only a verifier transport failure on the Statamic form submission route receives the retry response. JSON requests get &lt;strong&gt;503&lt;/strong&gt; with a verification error; ordinary form requests redirect back with a validation error. Neither path saves the submission. Keep this rejection behavior when adapting the handler to your application.&lt;/p&gt;

&lt;p&gt;The addon’s optional IP check needs matching visitor addresses on both sides. This localhost example leaves it disabled. Configure trusted proxies and confirm address agreement before enabling &lt;code&gt;CAPTCHA_VERIFY_IP&lt;/code&gt;; IPv4/IPv6 differences can matter. The addon documentation explains that setting.&lt;/p&gt;

&lt;h2&gt;
  
  
  5. Reproduce the checks
&lt;/h2&gt;

&lt;p&gt;Follow the downloaded README to start the disposable app and local verifier. Then, from the app directory:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;&lt;span class="kd"&gt;export&lt;/span&gt; &lt;span class="nv"&gt;FCAPTCHA_SOURCE&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="s2"&gt;"$(cd ../fcaptcha &amp;amp;&amp;amp; pwd)"&lt;/span&gt;
vendor/bin/phpunit tests/Feature/FCaptchaFormTest.php --testdox
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;The fixture helper is CLI-only and explicitly enabled by the tests. It signs a token using the temporary local key; it must never become a public token-issuing route. Run this in the disposable site, since the successful case intentionally saves a fake submission.&lt;/p&gt;

&lt;p&gt;After the integration checks, evaluate your own ordinary visitor flows, devices and accessibility requirements before enforcement. This walkthrough covers contact forms; login and registration are separate addon settings that it leaves disabled.&lt;/p&gt;

&lt;h2&gt;
  
  
  Source and reproduction materials
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;&lt;a href="https://github.com/WebDecoy/FCaptcha" rel="noopener noreferrer"&gt;FCaptcha source&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://github.com/aryehraber/statamic-captcha" rel="noopener noreferrer"&gt;Aryeh Raber’s Statamic Captcha addon&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://webdecoy.com/examples/statamic-fcaptcha.zip?utm_source=devto&amp;amp;utm_medium=article&amp;amp;utm_campaign=statamic_fcaptcha" rel="noopener noreferrer"&gt;Runnable Statamic example&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://webdecoy.com/examples/statamic-fcaptcha/test-results.txt" rel="noopener noreferrer"&gt;Captured test output&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://webdecoy.com/product/fcaptcha-demo/?utm_source=devto&amp;amp;utm_medium=article&amp;amp;utm_campaign=statamic_fcaptcha" rel="noopener noreferrer"&gt;Interactive FCaptcha demo&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;

</description>
      <category>php</category>
      <category>security</category>
      <category>opensource</category>
      <category>tutorial</category>
    </item>
    <item>
      <title>Why crawler logs and browser analytics disagree: a five-check debugging guide</title>
      <dc:creator>webdecoy</dc:creator>
      <pubDate>Fri, 23 Oct 2026 01:09:51 +0000</pubDate>
      <link>https://dev.to/webdecoy/why-crawler-logs-and-browser-analytics-disagree-a-five-check-debugging-guide-1ol8</link>
      <guid>https://dev.to/webdecoy/why-crawler-logs-and-browser-analytics-disagree-a-five-check-debugging-guide-1ol8</guid>
      <description>&lt;p&gt;Your server logs show requests to an article. Your browser analytics dashboard shows almost nothing for that page. Which one should you trust?&lt;/p&gt;

&lt;p&gt;Start with what each system measures. A request log records requests at a particular point in your infrastructure. A browser analytics tag depends on code running and a measurement reaching its collection endpoint. Those are different events.&lt;/p&gt;

&lt;p&gt;I work on WebDecoy, where we build tools for investigating bot and AI traffic. Here is a debugging sequence you can use with your existing logs and analytics, before adding another tool.&lt;/p&gt;

&lt;h2&gt;
  
  
  1. Match the scope before comparing counts
&lt;/h2&gt;

&lt;p&gt;Choose one hostname, one page and a short time window. Write down the timezone for both reports.&lt;/p&gt;

&lt;p&gt;For example, compare requests for &lt;code&gt;/pricing/&lt;/code&gt; between 14:00 and 14:15 UTC with browser events for that same page and interval. This is a hypothetical example, not a customer measurement.&lt;/p&gt;

&lt;p&gt;Check whether one report combines subdomains, includes query strings, or normalizes trailing slashes differently. Separate HTML requests from assets and API requests. Check status codes too: a redirect, an error response and a successful HTML response do not produce identical browser behavior.&lt;/p&gt;

&lt;p&gt;Even after aligning the scope, a request count and a pageview count are different units. Do not expect them to match exactly.&lt;/p&gt;

&lt;h2&gt;
  
  
  2. Identify where the request was observed
&lt;/h2&gt;

&lt;p&gt;A CDN can serve a cached response without contacting your origin. An application-level logger may therefore miss traffic that an edge log records.&lt;/p&gt;

&lt;p&gt;Write down the observation point for each source:&lt;/p&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;Source&lt;/th&gt;
&lt;th&gt;What it can establish&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;Edge request log&lt;/td&gt;
&lt;td&gt;A request reached that edge and received the recorded response&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Origin/application log&lt;/td&gt;
&lt;td&gt;A request reached that origin or application handler&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Browser analytics event&lt;/td&gt;
&lt;td&gt;The instrumentation sent an event that the analytics system recorded&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;

&lt;p&gt;Check sampling, retention and filtering before treating any of these as a complete inventory.&lt;/p&gt;

&lt;h2&gt;
  
  
  3. Inspect the HTML that a client actually receives
&lt;/h2&gt;

&lt;p&gt;For a page you own or are authorized to test, inspect an ordinary response:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;curl &lt;span class="nt"&gt;--silent&lt;/span&gt; &lt;span class="nt"&gt;--show-error&lt;/span&gt; &lt;span class="nt"&gt;--location&lt;/span&gt; &lt;span class="se"&gt;\&lt;/span&gt;
  &lt;span class="nt"&gt;--dump-header&lt;/span&gt; /tmp/page-headers.txt &lt;span class="se"&gt;\&lt;/span&gt;
  &lt;span class="nt"&gt;--output&lt;/span&gt; /tmp/page.html &lt;span class="se"&gt;\&lt;/span&gt;
  &lt;span class="s1"&gt;'https://your-site.example/pricing/'&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Replace the example address with your own page. This command downloads the response; it does not execute the page's JavaScript.&lt;/p&gt;

&lt;p&gt;Compare the saved HTML with the rendered DOM in your browser. Is the main text present in the response? Does it appear only after JavaScript runs? Is the analytics tag included on this route?&lt;/p&gt;

&lt;p&gt;Google's JavaScript SEO documentation distinguishes fetching HTML from rendering JavaScript and notes that not all bots can run JavaScript. Avoid assuming every crawler behaves like Googlebot, or like the browser you use for testing.&lt;/p&gt;

&lt;h2&gt;
  
  
  4. Test the browser measurement path separately
&lt;/h2&gt;

&lt;p&gt;In your browser's network panel, inspect whether the expected analytics request is sent. Then use your analytics provider's debugging view, where available, to check receipt.&lt;/p&gt;

&lt;p&gt;Consent choices, content blockers, network failures and missing route instrumentation can all affect measurement. A missing browser event does not, by itself, identify a bot.&lt;/p&gt;

&lt;p&gt;Label your own setup tests and exclude them from claims about real visitors. A successful test proves that the tested path reports under those conditions.&lt;/p&gt;

&lt;h2&gt;
  
  
  5. Keep identity claims separate from request evidence
&lt;/h2&gt;

&lt;p&gt;A user-agent string is a client's claim. A data-center IP describes infrastructure. Neither establishes that a particular AI provider made the request, that the traffic is malicious, or that a human was absent.&lt;/p&gt;

&lt;p&gt;Use the identity-verification method documented by a provider when available. Preserve the distinction between a declared crawler and a verified one. For other traffic, inspect request patterns and relevant session evidence before deciding how to respond.&lt;/p&gt;

&lt;p&gt;Also keep crawls, citations and referrals separate. A page fetch does not prove that an assistant cited it or sent a person back to your site.&lt;/p&gt;

&lt;h2&gt;
  
  
  Turn the discrepancy into a useful finding
&lt;/h2&gt;

&lt;p&gt;A useful conclusion looks like this:&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;In this window, the edge recorded HTML requests that were absent from the browser event stream. We checked the hostname, path, response codes and browser instrumentation. Request identity remains unverified.&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;That is evidence you can investigate. It gives you a better next step than classifying every unmatched request as an AI bot.&lt;/p&gt;

&lt;p&gt;If you want to inspect bot and AI traffic through WebDecoy, choose an integration that covers the traffic you need to observe. Browser instrumentation covers executing clients; server and edge integrations cover different request paths. &lt;a href="https://webdecoy.com/integrations/?utm_source=devto&amp;amp;utm_medium=community&amp;amp;utm_campaign=crawler-visibility&amp;amp;utm_content=five-check-guide" rel="noopener noreferrer"&gt;Explore WebDecoy and the available integrations&lt;/a&gt;.&lt;/p&gt;

&lt;p&gt;Follow WebDecoy here for practical detection diagnostics. If you have a measurement mismatch, share the observation points and the counts' definitions in the comments, with private data removed.&lt;/p&gt;

&lt;h3&gt;
  
  
  References
&lt;/h3&gt;

&lt;ul&gt;
&lt;li&gt;&lt;a href="https://developers.google.com/search/docs/crawling-indexing/javascript/javascript-seo-basics" rel="noopener noreferrer"&gt;Google: Understand JavaScript SEO basics&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;
&lt;a href="https://developers.cloudflare.com/web-analytics/faq/" rel="noopener noreferrer"&gt;Cloudflare: Web Analytics FAQs&lt;/a&gt;, including the distinction between JavaScript beacon analytics and edge analytics.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Drafted with AI assistance and reviewed for the scope of each technical claim. No production accuracy benchmark or customer outcome is claimed here.&lt;/p&gt;

</description>
      <category>webdev</category>
      <category>security</category>
      <category>javascript</category>
      <category>analytics</category>
    </item>
    <item>
      <title>Testing WooCommerce checkout protection caught a plugin load-order bug</title>
      <dc:creator>webdecoy</dc:creator>
      <pubDate>Wed, 21 Oct 2026 19:37:46 +0000</pubDate>
      <link>https://dev.to/webdecoy/testing-woocommerce-checkout-protection-caught-a-plugin-load-order-bug-1e07</link>
      <guid>https://dev.to/webdecoy/testing-woocommerce-checkout-protection-caught-a-plugin-load-order-bug-1e07</guid>
      <description>&lt;p&gt;I work on WebDecoy. We set out to record a WooCommerce checkout-protection demo. Testing both checkout paths first found a real bug in our plugin.&lt;/p&gt;

&lt;p&gt;The test used three rapid, synthetic failed orders from one test IP, then a fourth checkout attempt. A separate normal test client used an offline gateway to check that a normal order could still complete.&lt;/p&gt;

&lt;p&gt;No real cards or payment processor were involved.&lt;/p&gt;

&lt;p&gt;  &lt;iframe src="https://www.youtube.com/embed/pYzsU-EGO_0" width="710" height="399"&gt;
  &lt;/iframe&gt;
&lt;/p&gt;

&lt;h2&gt;
  
  
  Blocks passed. Classic did not.
&lt;/h2&gt;

&lt;p&gt;The Store API used by Checkout Blocks refused attempt four with HTTP 403 and &lt;code&gt;webdecoy_carding&lt;/code&gt;. Classic checkout kept reaching the local decline gateway.&lt;/p&gt;

&lt;p&gt;The checkout-protection setting was enabled. The validation callback was missing.&lt;/p&gt;

&lt;p&gt;Our plugin initialized its hooks while WordPress was including the plugin entry point:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight php"&gt;&lt;code&gt;&lt;span class="k"&gt;if&lt;/span&gt; &lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="nv"&gt;$this&lt;/span&gt;&lt;span class="o"&gt;-&amp;gt;&lt;/span&gt;&lt;span class="n"&gt;options&lt;/span&gt;&lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="s1"&gt;'protect_checkout'&lt;/span&gt;&lt;span class="p"&gt;]&lt;/span&gt; &lt;span class="o"&gt;&amp;amp;&amp;amp;&lt;/span&gt; &lt;span class="nb"&gt;class_exists&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="s1"&gt;'WooCommerce'&lt;/span&gt;&lt;span class="p"&gt;))&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;
    &lt;span class="nf"&gt;add_action&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="s1"&gt;'woocommerce_checkout_process'&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="nv"&gt;$this&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="s1"&gt;'check_checkout'&lt;/span&gt;&lt;span class="p"&gt;]);&lt;/span&gt;
    &lt;span class="c1"&gt;// payment and checkout-attempt tracking callbacks&lt;/span&gt;
&lt;span class="p"&gt;}&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;When WebDecoy loaded before WooCommerce, the class did not exist yet. The condition stayed false for that request, so classic validation and attempt tracking were never registered.&lt;/p&gt;

&lt;p&gt;A valid setting did not mean the integration was running.&lt;/p&gt;

&lt;h2&gt;
  
  
  Register the integration after plugins load
&lt;/h2&gt;

&lt;p&gt;Version 2.10.6 defers classic integration registration until &lt;code&gt;plugins_loaded&lt;/code&gt;, after our includes load:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight php"&gt;&lt;code&gt;&lt;span class="nf"&gt;add_action&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="s1"&gt;'plugins_loaded'&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="nv"&gt;$this&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="s1"&gt;'register_woocommerce_hooks'&lt;/span&gt;&lt;span class="p"&gt;],&lt;/span&gt; &lt;span class="mi"&gt;20&lt;/span&gt;&lt;span class="p"&gt;);&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;That method keeps the protection-option and WooCommerce-presence checks, then registers the classic validation, payment and checkout-attempt callbacks.&lt;/p&gt;

&lt;p&gt;We also added a runtime check to the WooCommerce compatibility smoke script. It checks the exact callbacks with &lt;code&gt;has_action&lt;/code&gt;, so a missing callback fails the smoke check before checkout testing begins.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://github.com/WebDecoy/wordpress-plugin/pull/116" rel="noopener noreferrer"&gt;The fix and validation are in PR #116&lt;/a&gt;.&lt;/p&gt;

&lt;h2&gt;
  
  
  Repeat against the released package
&lt;/h2&gt;

&lt;p&gt;After release, we installed the official WordPress.org &lt;strong&gt;2.10.6&lt;/strong&gt; package in the isolated store and ran each checkout path independently, clearing only disposable test history between paths.&lt;/p&gt;

&lt;p&gt;Environment: WooCommerce 11.2.1, WordPress 7.1 and PHP 8.3. Each failure sequence used distinct guest carts containing a $3 virtual product, an ordinary browser user-agent, and a local gateway that always fails without contacting a processor.&lt;/p&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;Test&lt;/th&gt;
&lt;th&gt;Classic&lt;/th&gt;
&lt;th&gt;Blocks Store API&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;Attempts 1–3&lt;/td&gt;
&lt;td&gt;Local synthetic decline&lt;/td&gt;
&lt;td&gt;Local synthetic decline&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Attempt 4&lt;/td&gt;
&lt;td&gt;JSON &lt;code&gt;failure&lt;/code&gt;, suspicious-checkout notice&lt;/td&gt;
&lt;td&gt;HTTP 403, &lt;code&gt;webdecoy_carding&lt;/code&gt;
&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Separate normal offline order&lt;/td&gt;
&lt;td&gt;Accepted&lt;/td&gt;
&lt;td&gt;Accepted&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;

&lt;p&gt;Classic and Blocks use different response formats. A test expecting HTTP 403 on both would misread the classic response.&lt;/p&gt;

&lt;p&gt;The WordPress dashboard recorded a &lt;strong&gt;Woocommerce card testing&lt;/strong&gt; detection. That is the source category; the test exercised a synthetic failed-order pattern, rather than actual card authorizations. Checkout refusal is also separate from a sitewide IP ban.&lt;/p&gt;

&lt;h2&gt;
  
  
  What I would test on another store
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;The checkout path actually deployed, including Blocks if used.&lt;/li&gt;
&lt;li&gt;A normal successful test purchase and legitimate payment retries.&lt;/li&gt;
&lt;li&gt;The gateway’s documented test mode and any offline gateways.&lt;/li&gt;
&lt;li&gt;Guest checkout, shared-network customers and checkout extensions.&lt;/li&gt;
&lt;li&gt;Monitor mode versus enforcement, plus any proxy-configuration notice suppressing enforcement.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;This does not establish resistance to rotating proxies, production conversion impact or a false-positive rate. The local checks use client-IP checkout history, so shared networks and IP rotation matter. Gateway fraud controls remain useful alongside application checks.&lt;/p&gt;

&lt;h2&gt;
  
  
  Try it
&lt;/h2&gt;

&lt;p&gt;&lt;a href="https://wordpress.org/plugins/webdecoy/" rel="noopener noreferrer"&gt;WebDecoy Bot Detection is on WordPress.org&lt;/a&gt;. Local protection works without a WebDecoy account. Update to 2.10.6 or newer before testing classic checkout.&lt;/p&gt;

&lt;p&gt;Start in monitor mode, inspect the evidence, test your checkout in staging, and then review enforcement. The &lt;a href="https://webdecoy.com/blog/woocommerce-bot-protection-checkout-carding-fake-orders/?utm_source=devto&amp;amp;utm_medium=organic_social&amp;amp;utm_campaign=woocommerce_checkout_proof" rel="noopener noreferrer"&gt;full test and rollout guide&lt;/a&gt; includes the setup and limitations.&lt;/p&gt;

&lt;p&gt;Have you had a WooCommerce integration look enabled while its callbacks were missing? I would be interested in how you catch that in integration tests.&lt;/p&gt;

&lt;p&gt;&lt;em&gt;Written with AI assistance. Results come from the controlled tests described above.&lt;/em&gt;&lt;/p&gt;

</description>
      <category>wordpress</category>
      <category>ecommerce</category>
      <category>security</category>
      <category>testing</category>
    </item>
    <item>
      <title>AI crawlers found your site. Are they sending visitors back?</title>
      <dc:creator>webdecoy</dc:creator>
      <pubDate>Wed, 21 Oct 2026 03:06:20 +0000</pubDate>
      <link>https://dev.to/webdecoy/ai-crawlers-found-your-site-are-they-sending-visitors-back-10gm</link>
      <guid>https://dev.to/webdecoy/ai-crawlers-found-your-site-are-they-sending-visitors-back-10gm</guid>
      <description>&lt;p&gt;You can fix your sitemap, improve your headings, and make your content easier for machines to read. The next question is practical: &lt;strong&gt;are AI systems visiting, and are they sending people back?&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;We built a 35-second demonstration using our own site's data. I'm on the WebDecoy team; GEOMCP is our open-source audit project.&lt;/p&gt;

&lt;p&gt;  &lt;iframe src="https://www.youtube.com/embed/nFJYOJ2ABFU" width="710" height="399"&gt;
  &lt;/iframe&gt;
&lt;/p&gt;

&lt;h2&gt;
  
  
  1. Start with a technical change you can verify
&lt;/h2&gt;

&lt;p&gt;Use &lt;a href="https://github.com/WebDecoy/geomcp" rel="noopener noreferrer"&gt;GEOMCP&lt;/a&gt; from your MCP-compatible editor to audit a public page and inspect the evidence behind each finding. A useful starting prompt is:&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;Audit &lt;a href="https://your-site.example" rel="noopener noreferrer"&gt;https://your-site.example&lt;/a&gt;. Show the three most useful fixes and the evidence for each. Recheck the affected pages after the changes.&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;In our recorded October 17 audit, we checked 193 sitemap URLs and cleared 11 original warnings. One small example was the features page: 16 links, including one empty or generic label, became 16 links with no empty or generic labels.&lt;/p&gt;

&lt;p&gt;That is a verified technical improvement. Keep the audit output and the deployment date so you have a concrete change to compare against later.&lt;/p&gt;

&lt;h2&gt;
  
  
  2. Observe crawlers where their requests arrive
&lt;/h2&gt;

&lt;p&gt;A browser analytics tag only sees visits that execute it. Many crawlers never run JavaScript, so use server or edge observation to see those requests.&lt;/p&gt;

&lt;p&gt;In WebDecoy, select your property and open &lt;strong&gt;AI Traffic&lt;/strong&gt;. Choose a time window, then inspect the crawler breakdown alongside the overview. Keep AI-only crawling separate from operators that serve both search and AI.&lt;/p&gt;

&lt;p&gt;Our seven-day snapshot showed:&lt;/p&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;Measurement&lt;/th&gt;
&lt;th&gt;Observed value&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;AI-only pages crawled&lt;/td&gt;
&lt;td&gt;4,547&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Additional mixed search + AI crawling&lt;/td&gt;
&lt;td&gt;1,220&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;AI referral visits&lt;/td&gt;
&lt;td&gt;7&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Distinct referral landing pages&lt;/td&gt;
&lt;td&gt;5&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;

&lt;p&gt;These are recorded counts for webdecoy.com, not a benchmark for every site. “Pages crawled” counts crawling activity; it does not mean 4,547 unique URLs.&lt;/p&gt;

&lt;h2&gt;
  
  
  3. Follow the return visits
&lt;/h2&gt;

&lt;p&gt;Open &lt;strong&gt;Referrals&lt;/strong&gt; to inspect both the referring platform and the landing page. In this snapshot, ChatGPT, Gemini and Kagi each sent two observed visits; Claude sent one.&lt;/p&gt;

&lt;p&gt;The destination matters as much as the total. A tutorial or demo page receiving those visits gives you a specific page to improve: make its explanation clear, keep its example runnable, and give the reader an obvious next action.&lt;/p&gt;

&lt;p&gt;Use the page tag or edge sensor to observe referral visits. A crawler request and a referred human visit are separate events. A page can also appear in an AI answer without anyone clicking it, and missing referrer information can leave a visit unattributed.&lt;/p&gt;

&lt;h2&gt;
  
  
  4. Build a repeatable comparison
&lt;/h2&gt;

&lt;p&gt;Record the deployment date and affected URLs. Compare equal time windows and check the sensor coverage. Look at which pages are crawled, which platforms return visitors, and which pages those visitors land on. Measure your own signup or activation events separately if you want to understand what happens after arrival.&lt;/p&gt;

&lt;p&gt;Our audit and these traffic observations do &lt;strong&gt;not&lt;/strong&gt; establish that a technical fix caused a referral. They give us a way to inspect both sides of the loop and decide where to work next.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://webdecoy.com/geomcp/?utm_source=devto&amp;amp;utm_medium=organic_article&amp;amp;utm_campaign=geo_crawlers_to_referrals" rel="noopener noreferrer"&gt;Try the GEOMCP setup and recorded audit&lt;/a&gt;, then connect your site to WebDecoy and inspect &lt;strong&gt;AI Traffic → Referrals&lt;/strong&gt;.&lt;/p&gt;

&lt;p&gt;Which part is hardest to measure on your site today: the crawl, the referring platform, or what visitors do after they arrive?&lt;/p&gt;

</description>
      <category>seo</category>
      <category>ai</category>
      <category>webdev</category>
      <category>analytics</category>
    </item>
    <item>
      <title>Bot su WordPress: cosa vede il plugin quando c’è una cache davanti?</title>
      <dc:creator>webdecoy</dc:creator>
      <pubDate>Tue, 20 Oct 2026 23:19:35 +0000</pubDate>
      <link>https://dev.to/webdecoy/bot-su-wordpress-cosa-vede-il-plugin-quando-ce-una-cache-davanti-2d0g</link>
      <guid>https://dev.to/webdecoy/bot-su-wordpress-cosa-vede-il-plugin-quando-ce-una-cache-davanti-2d0g</guid>
      <description>&lt;p&gt;Hai installato un plugin per rilevare i bot, ma il registro non mostra tutte le visite? Prima di cambiare le soglie, controlla dove viene servita la pagina.&lt;/p&gt;

&lt;p&gt;Una CDN o una cache può rispondere senza eseguire WordPress. In quel caso, il codice PHP del plugin non vede quella richiesta alla pagina. Questo dettaglio cambia il modo in cui interpreti i risultati.&lt;/p&gt;

&lt;p&gt;Faccio parte del team WebDecoy. Qui uso il nostro &lt;a href="https://wordpress.org/plugins/webdecoy/" rel="noopener noreferrer"&gt;plugin libero per WordPress&lt;/a&gt; come esempio concreto. Il testo italiano è stato preparato con assistenza IA.&lt;/p&gt;

&lt;h2&gt;
  
  
  Guarda il registro cambiare in 20 secondi
&lt;/h2&gt;

&lt;p&gt;Nel video, una richiesta controllata al canary produce due rilevazioni nel registro locale di WordPress. La modalità monitor registra senza bloccare. È una prova del percorso di rilevazione, non un benchmark della cache: le verifiche con cache attiva restano da eseguire sul proprio sito. Il video contiene testo in inglese.&lt;/p&gt;

&lt;p&gt;  &lt;iframe src="https://www.youtube.com/embed/y6eErUY1Vsc" width="710" height="399"&gt;
  &lt;/iframe&gt;
&lt;/p&gt;

&lt;h2&gt;
  
  
  Prepara una prova ripetibile
&lt;/h2&gt;

&lt;p&gt;Usa un sito di staging, con una pagina pubblica e un modulo nativo di WordPress. Annota URL, ora del test e configurazione della cache. Non usare dati reali dei clienti.&lt;/p&gt;

&lt;p&gt;Installa WebDecoy dal catalogo di WordPress oppure con WP-CLI:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;wp plugin &lt;span class="nb"&gt;install &lt;/span&gt;webdecoy &lt;span class="nt"&gt;--activate&lt;/span&gt;
wp webdecoy config &lt;span class="nb"&gt;set &lt;/span&gt;mode monitor
wp webdecoy status
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;La modalità monitor registra le rilevazioni senza bloccare le richieste. Il funzionamento locale non richiede account o chiavi API; il collegamento a WebDecoy Cloud è facoltativo. Il plugin richiede WordPress 6.1 o successivo e PHP 7.4 o successivo.&lt;/p&gt;

&lt;h2&gt;
  
  
  Separa tre percorsi
&lt;/h2&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;Percorso&lt;/th&gt;
&lt;th&gt;Cosa verificare&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;Pagina non servita dalla cache&lt;/td&gt;
&lt;td&gt;La richiesta raggiunge WordPress? Quali eventi compaiono nel registro?&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Stessa pagina servita dalla cache&lt;/td&gt;
&lt;td&gt;Il server di origine viene contattato? Il codice del browser è ancora presente?&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Invio del modulo&lt;/td&gt;
&lt;td&gt;Quale endpoint riceve l’invio? Il controllo avviene anche se la pagina iniziale era in cache?&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;

&lt;p&gt;Non interpretare la mancanza di un evento come una prova di assenza di bot. Potrebbe mancare il segnale, oppure la richiesta potrebbe non aver raggiunto il componente che lo registra.&lt;/p&gt;

&lt;h2&gt;
  
  
  Controlla il modulo con un test controllato
&lt;/h2&gt;

&lt;p&gt;Prima completa un percorso normale: commento, login o registrazione, se disponibile. Poi, solo sul sito di prova, individua un campo trappola effettivamente generato da WebDecoy ed esegui un invio controllato che lo compili.&lt;/p&gt;

&lt;p&gt;Confronta ora, percorso ed evento nel registro. In modalità monitor stai verificando la rilevazione del segnale: non aspettarti un blocco.&lt;/p&gt;

&lt;p&gt;Per un modulo di terze parti, controlla l’integrazione specifica. Il fatto che un plugin protegga i moduli nativi di WordPress non significa che intercetti automaticamente ogni endpoint REST o modulo personalizzato.&lt;/p&gt;

&lt;h2&gt;
  
  
  Non confondere una visita sospetta con un’identità
&lt;/h2&gt;

&lt;p&gt;WebDecoy combina esche, analisi delle richieste e segnali del browser. Questi elementi aiutano a investigare l’automazione, ma non identificano da soli una persona o uno specifico agente IA.&lt;/p&gt;

&lt;p&gt;Se il sito è dietro un proxy, controlla inoltre come viene determinato l’indirizzo del client. Una politica basata su un IP interpretato male può raggruppare visitatori diversi.&lt;/p&gt;

&lt;p&gt;Nel registro locale puoi esportare gli eventi in CSV e configurare la conservazione, impostata a trenta giorni per default. Confronta i risultati con i tuoi log prima di scegliere una risposta più restrittiva.&lt;/p&gt;

&lt;h2&gt;
  
  
  Il risultato utile del test
&lt;/h2&gt;

&lt;p&gt;Alla fine dovresti poter rispondere a tre domande:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;Quali richieste arrivano davvero a WordPress?&lt;/li&gt;
&lt;li&gt;Quali segnali restano disponibili con la cache attiva?&lt;/li&gt;
&lt;li&gt;I percorsi legittimi continuano a funzionare?&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;Se non riesci a rispondere, raccogli prima queste prove. Cambiare una soglia non risolve un punto cieco nella raccolta dei segnali.&lt;/p&gt;

&lt;p&gt;Puoi &lt;a href="https://wordpress.org/plugins/webdecoy/" rel="noopener noreferrer"&gt;installare WebDecoy da WordPress.org&lt;/a&gt; e &lt;a href="https://github.com/WebDecoy/wordpress-plugin" rel="noopener noreferrer"&gt;leggere il codice su GitHub&lt;/a&gt;. Se provi questa verifica con una cache particolare, indica nei commenti configurazione e passaggi riproducibili, senza pubblicare IP dei visitatori o log privati.&lt;/p&gt;

</description>
      <category>wordpress</category>
      <category>security</category>
      <category>tutorial</category>
      <category>italian</category>
    </item>
  </channel>
</rss>
