Disable and Hide WP-JSON
Without the use of plugin how is possible to deactivate wp-json and redirect the URL to a 404 page. Whenever someone calls example.com/wp-json
it redirects it to 404 page instead of loading?
I tried to do it via htaccess but it's not working any possible solution please?