chris portscheller

Who's crawling your WordPress site?It's easy to look at your analytics and miss the clients that download a page without ever running JavaScript. I wanted to share a way to get a better look at those requests from inside WordPress.I work on WebDecoy. We built a WordPress plugin that runs local bot detection without an account or API key. It starts in monitor mode, so you can see what gets flagged before deciding whether to block anything. You can connect it to WebDecoy Cloud later, but that's optional.If you want to try it, install WebDecoy from WordPress.org on a staging site and leave it in monitor mode. Then look through the detections. Which URLs are getting hit? Is a client reading your posts, or looking for files like /.env? What evidence caused the request to be flagged?I wrote up the setup and a small test you can run to check that a detection appears:https://dev.to/webdecoy/whos-hitting-your-wordpress-site-while-you-sleep-42fiOne thing to keep in mind: the plugin can only inspect requests that reach it. If your CDN or page cache serves a request before WordPress runs, you'll need logs from that layer too. And a bot calling itself GPTBot in its User-Agent isn't enough to prove that's who it is.Plugin: https://wordpress.org/plugins/webdecoy/Source: https://github.com/WebDecoy/wordpress-pluginIf you give the walkthrough a try, I'd like to hear where the setup or detection details could be clearer.#plugin #showcase