Hi all,
I’ve been getting user enumeration attempts on my WordPress site. The server’s blocked all attempts (so far!) but I was thinking of blocking any request made via the author
query variable.
Trawling the web I found the following to add to my .htaccess file:
RewriteCond %{REQUEST_URI} !^/wp-admin [NC]
RewriteCond %{QUERY_STRING} author=\d
RewriteRule .* - [R=403,L]
However I was wondering whether it would be more efficient to add it as a CF firewall rule - assuming that’s possible?