Don’t Give Your Admin User Name Away

During the last month, my personal website had 67,068 brute force attacks blocked. A brute force attack is when some hacker is making guesses at your username and password so they can bet access to your site. This is one of the reasons why WordPress tells you NOT to use the default “Admin” for your username. That makes one less thing for the hacker to figure out.

But out of the box, WordPress has the REST API enabled and, unless you turn if off, hackers can easily request a list of user ids from your WordPress site, revealing the Admin user name. How do you tell if your WordPress installation is opening revealing the admin account?

Append “/wp-json/wp/v2/users” to your website address.


For example, if a hacker tries going to they will get

{“code”:”rest_cannot_access”,”message”:”DRA: Only authenticated users can access the REST API.”,”data”:{“status”:401}}

Which is ok, non authenticated users do not need to access the rest API on my website. They shouldn’t be allowed access on your site either.

Blocking REST API

This can be done with a plugin. I used “Disable REST API” by Dave McHale

David Riewe

David Riewe

Hey, I’m David Riewe. In the vast digital world, I specialize in harnessing the power of AI and crafting precision-driven funnels to amplify your online presence. My mission? To help entrepreneurs and business owners, especially those aged 30 to 65, navigate the complex landscape of digital marketing with ease. Ready to transform your online strategy with AI and funnels? Let’s get started. 🚀

Leave a Reply

Your email address will not be published. Required fields are marked *

Master digital earnings with Online Profit Secrets—unlock marketing strategies, funnel tips, and ad hacks!
AI Secrets for Digital Marketers
FREE Course: Learn How To Create 30 Pieces Of Content in 10 Minutes With A.I.
Ready to transform your business in under 5 minutes? Join us in this FREE video as one of the world's leading funnel builders reveals the secrets to rapid, powerful funnel creation.

Recent Posts