Created
February 20, 2024 20:03
-
-
Save kevinquillen/d32dd7bb5ce1f288452241b9205312aa to your computer and use it in GitHub Desktop.
Forbid all Wordpress traffic on Drupal sites with htaccess, any URI beginning with "wp-".
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Block common Wordpress paths. | |
RewriteCond %{REQUEST_URI} ^/wp-(.*)? [NC] | |
RewriteRule ^ - [F] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment