From a8d1a56b1201b540c58beeb45469f189cf5f3d1b Mon Sep 17 00:00:00 2001 From: arhimede Date: Wed, 2 Sep 2026 16:47:21 +0300 Subject: [PATCH] Update .htaccess Signed-off-by: arhimede --- public/.htaccess | 3 +++ 1 file changed, 3 insertions(+) diff --git a/public/.htaccess b/public/.htaccess index 5b12abc..86d31b3 100644 --- a/public/.htaccess +++ b/public/.htaccess @@ -1,5 +1,8 @@ RewriteEngine On +# send a hard 404 to wordpress robots +RedirectMatch 404 ^/(wp-login\.php|wp-admin|wp-content|wp-includes|xmlrpc\.php) + # Block known spam/probe queries on any URL -> 404 RewriteCond %{REQUEST_URI} ^/ RewriteCond %{QUERY_STRING} ^post_type=wfacp_checkout$ [OR]