Block wp-json/wp/v2/users in cyberpanel
-
Hi
I’m using cyberpanel and installed the ALOWS in my wordpress
I active many Items in the plugin , but I can cheek the wp-json/wp/v2/users in my stie and it should show me the error not list the user id
1years a go you give me this code to block that via htaccess , but now it wont work…
#AIOWPS_PINGBACK_HTACCESS_RULES_START <Files xmlrpc.php> order deny,allow deny from all </Files> #AIOWPS_PINGBACK_HTACCESS_RULES_END RewriteRule xmlrpc - [F,L] # BEGIN block author scans RewriteEngine On RewriteBase / RewriteCond %{QUERY_STRING} (author=\d+) [NC] RewriteRule .* - [F] # END block author scans RewriteRule ^wp-json.*$ 404.html <Files *.php>deny from all</Files>
Would you please tell me how to block this json request to my wordpress?
Thanks
The page I need help with: [log in to see the link]
Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
- The topic ‘Block wp-json/wp/v2/users in cyberpanel’ is closed to new replies.