Skip to content

Commit a8d1a56

Browse files
authored
Update .htaccess
Signed-off-by: arhimede <julian@dotkernel.com>
1 parent 9309305 commit a8d1a56

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

‎public/.htaccess‎

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,8 @@
11
RewriteEngine On
22

3+
# send a hard 404 to wordpress robots
4+
RedirectMatch 404 ^/(wp-login\.php|wp-admin|wp-content|wp-includes|xmlrpc\.php)
5+
36
# Block known spam/probe queries on any URL -> 404
47
RewriteCond %{REQUEST_URI} ^/
58
RewriteCond %{QUERY_STRING} ^post_type=wfacp_checkout$ [OR]

0 commit comments

Comments
 (0)