Skip to content

Commit 4e9279c

Browse files
authored
Merge pull request #199 from dotkernel/htacces-update
Update .htaccess configuration
2 parents 9309305 + a8d1a56 commit 4e9279c

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)