Created
November 10, 2020 14:50
-
-
Save vpnwall-services/139ae23dd60d41803a5755a8ddf0f4c1 to your computer and use it in GitHub Desktop.
[Wordpress API Whitelist] Wordpress API Whitelist #bash #apache2 #htaccess #wordpress #api #whitelist #restriction
This file contains 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
RewriteEngine On | |
RewriteCond %{REMOTE_ADDR} !=xxx.xxx.xxx.xxx | |
RewriteCond %{REQUEST_URI} /wp-json/ [NC] | |
RewriteRule . - [F,L] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment