How to disable WP JSON Rest API in WordPress without plugin? | 2022
WordPress tutorial: Is your username exposed on your WordPress website? If yes, then this could be a security threat, thus in this video, we will learn how you can disable WP Json Rest API without using any plugins but some simple codes.
By default, WordPress exposes the username to your website simply by going to a specific website URL (provided below). If the username is exposed, it will make it a lot easier for the hackers to hack into the website compared to those whose username is not exposed. Anyway, simply use the following code to give a 404 status error or disable JSON rest API in your WordPress website.
How to Convert Any Page to HTML
Smart way to prevent brute Force #WordPress
Fool the BOT: Tricks to Prevent Brute Force Attacks by modifying the Login Page | WordPress Security