ScrapeLock – Content & AI Bot Protection
Block AI scrapers like GPTBot, catch fake Googlebot, rate-limit content scraping per IP and guard WooCommerce.
Install in
Most content protection plugins disable right click in the browser. Scrapers and AI crawlers don’t click or copy: they download the raw HTML, read the REST API and the feeds, or drive a (headless) browser. ScrapeLock works on the server, where automated copying actually happens, and leaves real visitors, customers and search engines alone.
- Runs on your own server. No account and no API key needed, and no visitor data sent anywhere by default. It downloads public IP lists; only if you turn on CDN blocking does it send the IPs it blocks to your own Cloudflare or Bunny account, with your API token (see External services).
- Starts in Monitor only. For its first 7 days a new install blocks nobody: requests that would be refused are logged as “Would block”, so you can see what it would do and adjust before it enforces. You can switch Monitor only on again at any time.
New in 3.8: see where bots attack, and close it with one click
- Attack report (Attacks tab). Where bots hit, also when nothing is refused: failed sign-ins and the usernames tried, how many try wp-admin and wp-login.php, XML-RPC calls, scanner and plugin probes, per day and hour, with country, “Block IP”, CSV, a dashboard widget and an optional weekly email.
- Vulnerable points. Lock XML-RPC, wp-admin, the sign-in page, readme.html, PHP in uploads and more with one click, with the risk explained; Apache rules written with a self-test and rollback, Nginx rules to copy.
- Sign-in protection. Failed logins limited per IP and per username (wp-login.php, every XML-RPC multicall call, application passwords), one error message, and an optional sign-in address of your own.
- Bunny CDN, deeper. Reads your pull zone’s logs to see attacks on cached pages, and locks wp-login.php, xmlrpc.php and .env/.git probes at Bunny. New in 3.9: every lock first shows what it would block and who hit it, and waits for your Confirm.
- Stealth (optional). BuiltWith and Wappalyzer get neutral addresses (/assets/…) instead of /wp-content/, another REST prefix and /sitemap.xml, without WordPress-only markup. Tested before it turns on.
What it stops, and what it cannot
Who
Result
How
AI training crawlers that say who they are (GPTBot, ClaudeBot, CCBot, Bytespider…)
Stopped
Bot list, 403
Fake Googlebot or Bingbot
Stopped
Official IP lists plus reverse and forward DNS
Fast scrapers from one IP (IPv6: one /64)
Stopped
Per-IP limits and temporary blocks
Scanners asking for .env, .git or backups
Stopped (optional)
Ban on the first probe
Site rippers (HTTrack, WebCopier, Offline Explorer…) and attacks in the User-Agent
Stopped
Built-in list, 403
Scrapers that read only the REST API, feeds or sitemaps
Slowed (optional)
Limit for IPs that never opened a page
Scrapers spread over many IPs
Slowed
Data center limit, CrowdSec blocklist, IP reputation, surge email, Emergency Mode
Headless browsers on home connections
Slowed
Human check, bot trap, limits
Copying by hand, screenshots, logged-in scraping
Cannot be stopped
Watermark, source link and TDM leave traces
Attackers who can run PHP on your server
Out of scope
No plugin can stop them
Whatever a visitor sees has already reached their device, so nothing stops a determined human. ScrapeLock closes the automated routes and leaves traces.
Who it is for
- Publishers, recipe, course and news sites: block AI training but stay in AI search, keep post text out of the REST API, GraphQL and full-text RSS, TDM opt-out.
- WooCommerce shops: limits for the product catalogue (Store API too), cart actions and coupon attempts, private feeds for price comparison sites and Google Merchant.
- Photographers: watermarks with the clean originals kept, hotlink rules for Nginx, Apache and Cloudflare.
- Directories and listing sites: page, search and “page not found” limits, a stricter limit for data centers.
- Agencies: presets, settings export and import, WP-CLI and Site Health.
Bots and crawlers
- Real search engines vs. fakes. Googlebot, Bingbot, Applebot and Yandex are verified against their official IP lists and with reverse + forward DNS. Real crawlers are never limited or blocked; fakes get a 403.
- AI training vs. AI search. Training crawlers (GPTBot, ClaudeBot, CCBot, Google-Extended, Bytespider and more) are blocked. AI search assistants (OAI-SearchBot, ChatGPT-User, PerplexityBot, Claude-SearchBot and more) can be allowed with one option and are verified with their official IP lists, so your site still appears in AI answers with a link.
- robots.txt gets the AI crawler lines, Content Signals and the Disallow line of an invisible bot trap that catches bots ignoring it. robots.txt, llms.txt and llms-full.txt are never blocked.
- Generic HTTP libraries (curl, python-requests and the like, used by apps and integrations) pass by default; a strict option blocks them too, and the Log has an “Always allow this User-Agent” button.
- Optional blocking of headless browsers and of scripts that copy a browser’s User-Agent but not its headers. A carefully disguised automated browser is not detected this way; the limits, the human check and the bot trap still apply to it.
- New in 3.5, optional (off by default): ban scanners on their first request for .env, .git, wp-config.php backups, database dumps and backup archives.
- 3.7: site rippers (HTTrack, WebCopier, Offline Explorer…) and attacks in the User-Agent are blocked; optional: SEO data crawlers (Ahrefs, Semrush, Majestic…) and requests that use the site’s IP instead of its name.
Limits and blocks
- Per-IP limits for pages, searches, REST / GraphQL, “page not found” (404) requests, sitemaps, visitors from data centers and, with WooCommerce, cart actions and coupon attempts (IPv6: per /64). Verified search engines and real shoppers are not affected.
- IPs that keep exceeding the limits are blocked for a while, optionally also at Cloudflare or Bunny CDN (“Test connection” checks the token, the zone and the permissions).
- Emergency Mode: stricter limits for 1 hour to 3 days, then your settings return on their own. When traffic suddenly jumps, ScrapeLock emails you a one-click button to start it.
- Optional human check without a captcha: visitors who have not scrolled, tapped or typed get a stricter page limit.
- 3.7, optional: IP reputation (good IPs are never blocked for a limit, bad ones stay slowed for days), a limit for IPs that read only the API, feeds or sitemaps, the CrowdSec community blocklist, and fail2ban. See the FAQ.
- Optional country rules, from Cloudflare’s or Bunny CDN’s country header or the free DB-IP Lite database.
- Optional pre-cache check (the bot list, the limits and the blocks also apply to pages served by WP Super Cache, W3 Total Cache, Cache Enabler, WP Rocket and the like) and early check (stops known bots and blocked IPs before the theme and the other plugins load).
- Always-blocked IPs / CIDR and referrers, usernames hidden from visitors, and trusted proxies (Cloudflare, Bunny CDN, your own), so the real IP cannot be spoofed.
Feeds, API and server rules
- Post, page and product text hidden from the REST API, WPGraphQL and full-text RSS for visitors: the routes scrapers use instead of the HTML.
- RSS with a short excerpt only, or disabled; with full text, an optional “The post … first appeared on …” line.
- Private XML feeds (Skroutz, BestPrice, Google Merchant, ERP) with a token in a header or the URL; only its hash is stored, it can be rotated with a grace period, and each feed has statistics.
- Optional: hide the REST API map and the versions of WordPress, PHP and the plugins, turn off XML-RPC pingbacks, list the REST routes open to anyone.
- Ready-made Nginx, Apache and Cloudflare rules for your own site, so cached pages and static files are protected too.
Check, test and tune
- Check a request (Log tab): pick GPTBot, a fake Googlebot, curl, a real browser or your own IP, User-Agent and address, and see whether ScrapeLock would allow, block or limit it, and why. Nothing is counted, logged or blocked; copy-ready curl lines test it for real.
- Staff are exempt while logged in (by default), so the admin bar reminds you: test in a private window.
- Site Health warns about settings that do not work as intended: robots.txt lines that crawlers do not get, private folders readable from the web, text still open through the REST API, feeds or WPGraphQL, another plugin doing the same job. These tests only fetch your own site.
- Settings that explain themselves: rejected lines are named, unsaved changes flagged, defaults labelled, options that may affect visitors or SEO tagged.
- Presets (Balanced, Strict, Maximum) with undo, settings export and import, and a block log with a 24-hour summary and automatic deletion.
- 3.7: visitors from AI assistants (ChatGPT, Perplexity, Claude, Gemini…) per assistant and page, counted on your server without personal data.
- Traffic (3.12): every request, from the Bunny CDN logs, your web server’s access log or WordPress itself: User-Agents by family, pages answering 404 or 5xx with the links that lead there, visitors, CSV and email alerts. Kept only in your database; off until you start it.
- WP-CLI:
wp scrapelock status,block,unblock,blocked,emergency,log,check --ip=<ip>(what ScrapeLock would answer, without side effects),settings,lockdown status,reputation,crowdsec,ai-referrals, in 3.8attacks,attack-report,login,harden,bunnyandstealth, in 3.12traffic, in 3.12.6rules,cdnandverify-file, in 3.12.7cache, in 3.12.8stealth checkandstealth debug, and in 3.12.9precheckandbreaker. - Abilities API (WordPress 6.9+) for administrators: read the summary, block or unblock an IP and start Emergency Mode from an AI agent or MCP client. None of them unlocks Lockdown.
On the page and images
- Block right click, copy, drag and common shortcuts, or allow copying with the source link appended. Text selection stays allowed by default, because blocking it also stops screen readers’ “read selection” and translation tools.
- Printing with the page link at the bottom, or no printing; optional page blur on screenshot shortcuts (for everyone, or only for visitors who are not signed in); no framing by other sites.
- AI opt-out declaration (TDM): header, meta,
/.well-known/tdmrep.json,noai. - Watermark in a corner, the centre or repeated diagonally, optionally on the full-size image too; otherwise visitors get the largest watermarked size, also in the WooCommerce zoom, lightbox and Store API. The clean original is kept, so the watermark can always be removed. Product images are not watermarked by default, because Google Merchant Center rejects them.
Members, courses and paid content (3.6)
- Who is reading, on every screenshot: a faint line over the page with the member’s user name and the time, so a screenshot, a screen recording or a photo of the screen shows whose account it came from. No web page can block screenshots; this makes them traceable.
- An invisible trace in the text: copied text carries the account and the day, hidden in invisible characters. Paste it under Log “Find whose copy this is”.
- Shared accounts: a page limit per account, and an email when one account is used from several addresses at once, optionally signing it out everywhere else.
- Fewer signs of WordPress for tools such as BuiltWith and for scanners.
Lockdown
- Freeze the site with a code from your authenticator app (Google Authenticator, Microsoft Authenticator, Authy and the like). While it is locked, nobody can change plugins, themes, WordPress core, users, roles or settings from wp-admin, the REST API or XML-RPC, not even an administrator or someone who stole a password.
- Administrators are frozen completely. Shop managers and other staff roles you do not tick keep their work (orders, products, coupons, posts, media), but not the rights that could take over the site. Visitors and customers browse, order, pay, register and comment as usual.
- Also enforced against code: a bug in another plugin cannot be used to activate plugins, change the site address or the admin email, add an administrator or unlock the lock. Code that can run its own PHP on your server can get around any plugin, ScrapeLock included. While the site is unlocked for a while, these rules are off for code too: unlock only for as long as you need.
- Sealed: the lock is signed with the keys in wp-config.php and kept outside the database (a guard file, a lock file, or a line in wp-config.php), so SQL injection in another plugin cannot unlock the site.
- Changes made straight in the database to the plugins, theme, site address, admin email, roles and ScrapeLock’s settings are put back; new administrators and changed staff passwords are refused at sign-in. See the FAQ for the full list.
- File integrity: every PHP, .htaccess and .user.ini file is fingerprinted and checked every hour while locked, and WordPress and the plugins from WordPress.org are compared with their official checksums. New or changed files are emailed to you and shown in Site Health; optional quarantine. When the site is locked again after an unlock, the files that changed while it was open are emailed to you too, before they become part of the new fingerprint.
- Unlock for 15 minutes to 2 hours for yourself only, or until you lock it again; every lock and unlock is logged and emailed. Ten one-time recovery codes for a lost phone. The QR code is drawn in your browser and the secret is stored encrypted, never sent anywhere.
External services
ScrapeLock downloads public lists of IP addresses, only for the features that use them. Each download is a plain GET request for a public file, made from your server by WordPress (User-Agent “ScrapeLock/version”). No data about your site, your content or your visitors is sent, and the request does not include your site address; as with any download, the provider sees your server’s IP address. The lists are stored in your database (or, for the country database, in uploads/scrapelock-geo) and checked on your server. They are data, not code or assets: no script, style, font or image is ever loaded from these addresses.
- Google crawler IP ranges, to tell real Googlebot from fakes. Downloaded once a day while protection is enabled, from https://developers.google.com/static/search/apis/ipranges/googlebot.json, https://developers.google.com/static/search/apis/ipranges/special-crawlers.json and https://developers.google.com/static/search/apis/ipranges/user-triggered-fetchers-google.json. Provided by Google LLC: Terms of service, Privacy policy.
- Bing crawler IP ranges, to tell real Bingbot from fakes. Downloaded once a day while protection is enabled, from https://www.bing.com/toolbox/bingbot.json. Provided by Microsoft Corporation: Terms of service, Privacy policy.
- Apple crawler IP ranges (3.10), to tell real Applebot from fakes without a DNS lookup. Downloaded once a day while protection is enabled, from https://search.developer.apple.com/applebot.json. Provided by Apple Inc.: Terms of use, Privacy policy.
- DuckDuckGo crawler IP …
Written by Joobi from the project's own listing. See the source page
3.12.10
- Fix: when WP-CLI ran as root (
--allow-root) and a change turned on the pre-cache check or the early check, ScrapeLock rewrote wp-config.php (new file, then rename) as root:root with root’s mode; PHP-FPM could no longer read it (“Failed opening required wp-config.php”) and the site went down. Every file ScrapeLock rewrites now keeps its owner, group and permissions (wp-config.php, the mu-plugin, .htaccess, the Seal and Lockdown files, the server rules), and a file or folder it creates as root (mu-plugins/scrapelock-early.php, uploads/scrapelock/*, logs, caches) is given to the owner of the WordPress folder (0644 files, 0755 folders). The pre-cache check’s cleanup, run as root, also hands back the data files 3.12.9 left to root. - WP-CLI: a warning when it runs as root, before every
wp scrapelockcommand andwp option update pncp_*/wp plugin deactivate scrapelock(not with –quiet or a machine-readable –format), naming the user to run it as (sudo -u <user> wp …). - A visitor’s request is unchanged: with APCu or Redis still no file access and no query of ScrapeLock.
3.12.9
- Fix: on a server whose disk stalls (iowait), requests waited in ScrapeLock’s own file and database work (the pre-cache check’s counter files, the cleanup of old minutes, the site-wide page count written with update_option) until PHP-FPM ran out of workers and the web server answered 504. With APCu or a Redis object cache, a visitor’s request now makes no file access and no database query of ScrapeLock at all: the pre-cache check keeps its counters, bans, strikes, probe memory, nonces, events and its configuration in APCu or Redis; in WordPress the log rows, new bans, attack records, Traffic rows, AI referrals and the automatic Emergency Mode wait in the object cache or APCu and a scheduled event writes them to the database once a minute, and ScrapeLock’s options and bans are read from there. Checked with strace on Nginx + PHP-FPM: 0 system calls on uploads/scrapelock and 0 queries of ScrapeLock per guest request. In a load test with the disk frozen for 20 seconds (30 requests a second, 20 PHP workers) no response took more than 1 second and none was a 504 (3.12.8: 69).
- Fix: without APCu or Redis, the pre-cache check never waits for a lock: counters are appended to their files, bans and strikes are replaced whole (written to a new file, then renamed), events are appended without a lock, and the old minutes are removed by the hourly event (without WP-Cron by one request a minute, at most 25 ms and never waiting).
- New: a circuit breaker. A counting or storage step of a visitor’s request that takes longer than 200 ms (the pre-cache check, the site-wide page count; DNS verification of crawlers: 1 second) is suspended for 10 minutes: requests pass without it, bans already in place still apply. Site Health shows what was suspended and why (“ScrapeLock counting and storage speed”) and where the counters are kept (“ScrapeLock counters”); the ScrapeLock page has “Resume counting now”. Filters
pncp_breaker_msandpncp_breaker_minutes. - New:
wp scrapelock precheck [status|sync|cleanup](which store the pre-cache check uses, asked of the web server’s PHP since WP-CLI cannot see its APCu; the copy of the bans between memory and the files; the hourly cleanup for a system cron job) andwp scrapelock breaker [status|reset]. - Change: where the object cache is Redis (Redis Object Cache’s
WP_REDIS_*constants orWP_REDIS_CONFIG) and PHP has the Redis extension, the pre-cache check’s line in wp-config.php now also carries the Redis connection (the password masked): the check runs before the rest of wp-config.php. ScrapeLock writes the new line itself after the update; turn Redis off for the check withdefine( 'SCRAPELOCK_PRECHECK_REDIS', false );. - Fix: with “Early check” on, APCu and no persistent object cache, the early check no longer reads four ScrapeLock options from the database in every request.
- Greek translation of the new texts.
3.12.8
- Fix: with Stealth on Nginx, the pages kept the inner wp-content of WP Rocket’s minified files (/assets//cache/min/1/wp-content/themes/…) when Stealth had been tested before 3.12.6 or before WP Rocket was active. The pages were rewritten with the words of the last “Test again”, while the rules shown and installed (and their “up to date” status) were made from the current map. ScrapeLock now tests a new map by itself and uses it as soon as the server serves its rules (the check address answers their fingerprint and the self-test passes), then empties the page caches. A new base folder still needs “Test again”.
- Fix: an address already made new by an earlier pass with fewer words gets the codes of the words it still carries, so every pass gives the same result.
- New:
wp scrapelock stealth check [<url>]: a page as a visitor gets it (through the caches), with the wp-content / wp-includes left, WP Rocket’s minified addresses, the codes found, the cache headers, whether the Stealth rules are current and what to do next.wp scrapelock stealth statusshows whether the address map is in use or waiting for its rules. - New: an opt-in Stealth debug log (
define( 'SCRAPELOCK_STEALTH_DEBUG', true );, or 1 to 72 hours): one line per stage of a page with counts only, no visitor data, at most 256 KB, ends by itself;wp scrapelock stealth debug [--clear]. - New:
wp scrapelock cdn purgefirst empties the page caches of the active cache plugins (WP Rocket, LiteSpeed Cache, W3 Total Cache, WP Super Cache, WP Fastest Cache, Nginx Helper, Cache Enabler, SiteGround Optimizer) and says which, then the fastcgi cache, then the CDN (--no-plugin-cacheto skip).--minify(with--all) also empties WP Rocket’s and Autoptimize’s minified CSS / JS. - New:
wp scrapelock cache statussays whether SCRAPELOCK_FASTCGI_CACHE_PATH is defined and prints the ready-made linewp config set SCRAPELOCK_FASTCGI_CACHE_PATH '<dir>' --type=constant --anchor="require_once ABSPATH . 'wp-settings.php';" --placement=before(WP-CLI’s default anchor is missing in some wp-config.php files);--save-constantadds it after a trial on a copy. - Fix: Stealth serves the sibling folders a stylesheet reaches with “../” (a child theme’s @import of its parent theme, a plugin’s url() into another plugin), unless the site has a real folder at the base address. These are new rules: copy the Stealth rules again.
- Fix: Stealth leaves links to uploads it does not serve (.zip, .docx, .csv…) at their real address (they answered 404), rewrites root-relative addresses after an escaped quote (url(“…”)), this site’s addresses URL-encoded in share links, and WooCommerce’s cart fragments (wc-ajax) for guests. A plugin or theme folder with a space or another character the rules cannot carry gets no address of its own (nginx -t failed, Apache answered 500 until the self-test).
- Fix: where ScrapeLock writes the Stealth rules into .htaccess, an update that changes the rules writes them again (they stayed “out of date”).
- Fix:
wp scrapelock cache purge <path>andcdn purge <path>with WordPress in a folder of the host use the home address (/about/ was purged at the root); verification files and /.well-known/ stay at the root. - Fix:
wp scrapelock rules installnever says “installed” without reloading the server (systemctl as the fallback, otherwise it stops and puts every file back), and keeps the owner and group of the file it replaces. The Stealth rules say in a comment why each word’s rule is there twice. - Fix: uninstall also removes the counts of the last fastcgi cache purge; the heading of
wp scrapelock selfcheck --logis translated. - Greek translation of the new texts.
3.12.7
- New: ScrapeLock also empties this site’s pages in the Nginx fastcgi cache wherever it empties the page caches (settings saved, Stealth turned on or off or its addresses changed, upgrades), when it knows the folder: the constant
SCRAPELOCK_FASTCGI_CACHE_PATHin wp-config.php, or Nginx Helper’s folder. Nginx Helper’s own purge does nothing when its method or folder is not the server’s. Only cache files whose key names this site’s host are deleted; links are never followed and system, home and WordPress folders are refused. - New:
wp scrapelock cache status | purge(finds the cache folder in the Nginx configuration with nginx -T or--nginx-conf, shows this site’s cached pages, purges all of them or some addresses,--dry-run, and prints the wp-config.php line to add).wp scrapelock cdn purge --allnow empties the server cache first, so the CDN does not fetch a stale page again (--no-server-cacheto skip it;--server-cachefor addresses). - Fix: with Stealth or “Hide that the site runs on WordPress”, WP Rocket’s footer comment (“This website is like a Rocket … Performance optimized by WP Rocket”) and Redis Object Cache’s note are turned off (WP_ROCKET_WHITE_LABEL_FOOTPRINT and WP_REDIS_DISABLE_COMMENT, unless the site set them). Stealth also removes the footer comments of other performance and cache plugins that reach its buffer; conditional and other comments stay.
- Fix: with Stealth, the translations of scripts no longer carry file paths (wp-includes/js/dist/…, a plugin’s path) or the tool that made them; translations and text domain stay.
- Change: “What can never be hidden” (Stealth) names the comments a page-cache plugin adds when it stores the page (turn them off in that plugin).
- Greek translation of the new texts.
3.12.6
- New: Stealth with WP Rocket, Autoptimize, LiteSpeed Cache and W3 Total Cache: the inner wp-content / wp-includes of their minified and combined files (e.g. WP Rocket’s cache/min/1/wp-content/themes/…) get neutral codes too, also in their stored pages. The rules map them back by pattern, so files written after “Clear cache” keep working. Copy the Stealth rules again.
- New: the Stealth rules carry a fingerprint of their own. Server rules Stealth (and Site Health) say whether they are installed and up to date, out of date, from before 3.12.6, or not found, asking the server directly first; after a change of the folder of the addresses or a new plugin or theme folder, a notice asks to copy them again. The aaPanel place: a file of its own in extension// after scrapelock.conf, e.g. z-scrapelock-stealth.conf.
- New:
wp scrapelock rules show | status | install(install writes only the files named: .new, diff, .old, nginx -t, reload, everything put back on failure) andwp scrapelock cdn purge <address>… | --allwith the stored Bunny CDN and Cloudflare keys (never printed). - New: Verification files (Server rules, and
wp scrapelock verify-file): a file a service asks for to verify the site (/builtwith.txt, /google….html, /BingSiteAuth.xml, /.well-known/…), served to every bot for a few hours, purged at the CDN, allowed in robots.txt, then removed. - New: “Block technology profilers (BuiltWith, Wappalyzer, WhatCMS…)” on the Bots tab, off by default, with an updatable list (filter
pncp_tech_profiler_agents). “For my site” proposes it (not ticked) when such names are in the bot list, and removes those lines. - New: “For my site”: “Dismiss” per proposal (it comes back only when the setting or the proposal changes), “Show dismissed” with “Restore”, and “you chose this” next to a value you set against a proposal.
wp scrapelock wizard dismiss | restore <setting>. - Fix: the notice “The server rules are out of date (installed: not found, …)” right after saving the Bots tab although part 2 was installed. “Installed” is what the server last reported; “not found” only after a second check a few seconds later; when only part 1 or part 2 differs, the notice names it.
- Fix: a verification file refuses every PHP or ASP opening tag; deactivation removes the verification files; uninstall removes the new options and events.
- Change: the note under “Addresses that do not exist” (Log tab) is one line, the rest under “More”.
- Greek translation of the new texts.
3.12.5
- New: “Blur the page on screenshot shortcuts” (On the page) has “Applies to: Everyone / Only visitors who are not signed in”. Everyone is the default and what every existing site keeps. With the second choice signed-in members can take screenshots; staff in “Who is excluded” never get the blur, as before.
- New: the choice is made by the page itself, so it works with page caches (WP Rocket, Bunny CDN): ScrapeLock sets a small cookie,
pncp_si=1, in signed-in browsers (no personal data; the logged_in cookie’s paths, domain, Secure flag and expiry, SameSite=Lax, readable by the page) and removes it at sign-out. The page also reads WordPress’slogged-inbody class. Accounts signed in before the update get the cookie on their next page that is not served from a cache, or when they sign in again. Not set while the protection is off. The suggested privacy policy text names it. Someone who adds the cookie by hand only turns the blur off in their own browser: like the blur itself, it is a deterrent. - Greek translation of the new texts.
3.12.4
- Fix: on aaPanel (and BT Panel, CloudPanel) the Server rules tab read “Not installed” with part 2 of the Nginx rules in the site’s server { }: the panel’s WordPress rewrite is a server-level
if (!-e $request_filename) { rewrite ... /index.php last; }, which runs before Nginx chooses a location, so the check address went to WordPress (404). Part 2 now also answers its check address at server level, above every other line (not part of the fingerprint: installed rules stay current). Copy part 2 again. - Fix: the “installed / up to date” status asks the server itself first (the site’s host pinned to 127.0.0.1, the server address or
SCRAPELOCK_SERVER_IPS, signed), then the public address. Behind Bunny CDN without “Forward Host Header”, or with a cached 404, the CDN answered instead of the server. Without an answer at the check address theX-ScrapeLock-Rulesheader of the site’s own page counts, so the tab and the out-of-date notice agree; an http:// site address sent to https:// is followed. - New: when the rules are not seen, the tab, Site Health and
wp scrapelock status/selfchecksay in one line what answered and what to do: WordPress (part 2 not active, or behind a server-level rewrite), Nginx itself (another location took the address), only the CDN (Forward Host Header), the CDN’s cache (purge), something else. - New: the Apache card shows whether the Apache rules are installed (their header, the server asked first; the .htaccess is never read).
- Change: part 2 says where it goes (“directly inside server { }, not inside a location { }”), and the aaPanel instructions name both places that work (Config below #SSL-END, or the extension folder included at the top), once only.
- Greek translation of the new texts.
3.12.3
- Fix: ScrapeLock’s own generated Nginx rules refused the site’s own checks with 403 (Vulnerable points “Check again”, Site Health, “Run a real self-check now”,
wp scrapelock selfcheck): they sent a Chrome User-Agent without Sec-Fetch-Mode and Sec-CH-UA over HTTPS, which the fake browser rule refuses before PHP can see the signature. Every self-check now sendsScrapeLock-Selftest/<version> (+<site address>), which is no browser’s, plus the signature; ScrapeLock’s PHP checks let it through by the signature, never by the name. - New: the generated Nginx and Apache rules never block the server itself: its own addresses (127.0.0.1, ::1, the server address, the outbound address learned from the site’s signed requests,
SCRAPELOCK_SERVER_IPS) are exempt from every block, the loopback and private ones only when no proxy passed the request on. Never a CDN edge, never an invalid entry. The Server rules tab lists them; behind a CDN,real_ip(Nginx) ormod_remoteip(Apache) makes the server’s own requests through the CDN keep its address. - New: the rules carry their fingerprint in the header
X-ScrapeLock-Rules, sent only to the site’s own signed requests. Every self-check compares it with the rules the current settings give; when they differ (also right after saving a setting that changes them), an admin notice on ScrapeLock’s pages and the dashboard and a Site Health result say “The server rules are out of date (installed: X, current: Y)”, with “See what changed” (a line diff). Sites that never installed the rules are not told anything. Nginx rules of before 3.12.3 are recognised by their check address. - New: when the web server refuses the site’s own request before WordPress, the self-check checks it against ScrapeLock’s own rules and says “Refused by ScrapeLock’s own server rule (fake browser)” (or the rule it was) and what to do, instead of “web server”.
- Change: with “Always allowed IPs” the page limit of the Nginx rules does not count the server either. A zone without them keeps its key, so Nginx reloads the new rules.
- Greek translation of the new texts.
3.12.2
- Fix: behind Bunny CDN without “Forward Host Header” (its default) the site’s own requests still got a 403 (Vulnerable points “Check again”, Site Health): the server gets the pull zone’s origin name as Host, and the signature was bound to it. The signature now names the site host it was made for and is verified for that host, whatever Host header arrives; a path with “//” and a HEAD passed on as GET match too. Signatures of 3.12.1 are still accepted.
- New: when something on the way refuses the site’s own request, the note says who: ScrapeLock (with the check), Bunny’s edge, Cloudflare, Wordfence, another plugin or the web server, and what to check there. ScrapeLock’s refusals carry the header
X-ScrapeLock: refused(the reason only for the site’s own request). - New: the request is then made once more straight to the server (the site’s own host and port pinned to 127.0.0.1, the server’s address
Follow this listing's changes (Atom feed)