| 开发者 | codebunnyhube |
|---|---|
| 更新时间 | 2026年11月27日 20:01 |
| PHP版本: | 7.4 及以上 |
| WordPress版本: | 7.2 |
| 版权: | GPLv2 or later |
| 版权网址: | 版权信息 |
scrapelock folder to /wp-content/plugins/, or install the plugin from the Plugins screen.content-protect), the former name of this plugin: deactivate the old plugin, activate ScrapeLock. Your settings, tokens and log are kept. If you pasted the old Apache rules, replace the "# BEGIN Content Protect" block with the new "# BEGIN ScrapeLock" block.Often, yes: the cause is usually a crawler reading thousands of pages. Open the Log: the 24-hour summary shows the top IPs, User-Agents and reasons. The bot list, the per-IP limits and the data center limit handle most of it; during an attack, start Emergency Mode.
They are on the bot list, which is on by default, and are refused with a 403 (in Monitor only they are just logged). robots.txt also asks them to stay away. A 403 costs your server far less than a full page.
With WooCommerce, ScrapeLock limits cart actions and coupon attempts per IP and blocks IPs that keep going. It is not a fraud or card-testing tool: use your payment provider's fraud protection for that.
Verified search engines are never limited or blocked, there is no captcha, and the first 7 days are Monitor only. If someone is blocked, the Log shows why: unblock the IP under "IPs blocked now", add it to "Always allowed IPs", or press "Always allow this User-Agent".
No. Verified search engines are never limited or blocked. Only fakes that pretend to be Googlebot or Bingbot are blocked.
Yes. Turn on "Allow AI search engines and assistants" (Bots and limits). Training crawlers stay blocked. With "Verify AI search bots" on, only requests from the official addresses count as those bots; copies of the name get a 403. Turn the option off and ScrapeLock blocks them again from its own list, whether or not they are in your bot list.
No plugin can: the phone or computer takes the screenshot itself. ScrapeLock can blur the page on known screenshot keys, put the reader's user name and time over protected pages, and hide an invisible trace of the account in copied text (On the page → Members and readers).
Probably: staff are exempt while logged in ("Who is excluded", On the page tab). Test in a private window ("Check a request" tests the server-side checks, not the browser scripts). Right-click, copy, print and devtools blocking are deterrents for casual copying: the text is still in the page source.
"Check a request" (Log tab) shows what ScrapeLock would answer to GPTBot, a fake Googlebot, curl and more, without sending anything. Its "Check it yourself" lines test for real with curl from another computer.
WP Rocket does not serve cached pages to listed bots. For other page caches turn on the pre-cache check (Bots and limits): on cached pages it applies the bot list, blocks, the page, network and human-check limits, fake Googlebot / Bingbot (with fresh official lists) and headless browsers; not "Browsers only", countries, data centers, reputation or the trap. A cache in the web server (Nginx FastCGI cache, LiteSpeed, Varnish) answers before PHP: use the "Server rules" tab or the CDN.
Set "Real visitor IP" to CF-Connecting-IP and keep "Trust Cloudflare addresses" on. With Nginx, also set real_ip_header CF-Connecting-IP; and set_real_ip_from for the Cloudflare ranges, so the server rules see the real IP.
"Real visitor IP" X-Real-IP, "Trust Bunny CDN addresses" on, then "Send the secret from Bunny" in the Bunny card. Without the secret anyone's pull zone can write X-Real-IP: those IPs stay unreliable (no bans or CDN blocks; no login lock at Bunny).
For a blocked request: the IP, User-Agent, page and time, deleted after 1, 7 or 30 days (over a per-account limit, also the username). The attack record keeps the IP, the address asked for, the hour and, for a failed sign-in, the username tried, for 7 to 90 days. The optional features keep only hashes or a signed expiry. No visitor data is sent anywhere by default. The full list is in the user guide.
Type a recovery code instead of an app code. With none left, add define( 'SCRAPELOCK_UNLOCK', true ); to wp-config.php (over SSH: wp config set SCRAPELOCK_UNLOCK true --raw --type=constant), connect a new app on the Lockdown page, then remove the line (also for a forgotten staff password). If another plugin or the theme keeps you out of wp-admin while locked, unlock at wp-login.php?action=scrapelock-unlock.
CDN setups (Cloudflare, Bunny CDN), the server rules and aaPanel, the pre-cache and early checks, Stealth, Lockdown, WP-CLI, the filters for developers and more: see the user guide.
wp scrapelock rules install runs the server's test and reload commands through WP-CLI's own runner instead of starting a process itself; the traffic and report queries pass every value through prepared statements; the translations load without load_plugin_textdomain() (a language pack still comes first, also on WordPress 6.2 to 6.6); temporary file names use PHP's random_bytes(); the readme is shorter, with the full feature list and the other answers in the user guide and the older changes in changelog.txt.