Leftover login pages: wp-login, XML-RPC, and admin panels you may not use
A plain-language guide to default WordPress login and XML-RPC endpoints, and why leftover admin pages are a common target for automated password guessing.
Many small-business websites still advertise their back door. A default WordPress login, an old XML-RPC endpoint, or an admin path left over from a plugin can be found by anyone who knows the usual addresses. You may never visit those pages. Automated tools visit them all day.
WordPress's own guidance on brute-force attacks puts this in plain terms: an attacker repeatedly tries username and password combinations until one works. The attempts are automated and often distributed, and even unsuccessful attacks can overwhelm a site with requests. The document notes that this is not unique to WordPress, but that WordPress's popularity makes it a common focus. [1]
The login page almost every WordPress site has
On a typical WordPress site, the sign-in form lives at /wp-login.php, and the dashboard is under /wp-admin/. If those URLs load for the public internet, they can be guessed without any special knowledge of your business.
WordPress recommends strong, unique passwords and a password manager; two-factor authentication for all administrator accounts (added with a plugin or identity provider, because WordPress core does not include 2FA); rate-limiting login attempts at the edge or the web server; and a CAPTCHA or similar challenge on the login form to slow bots. It also says not to use the username "admin," to limit how many administrator accounts you keep, and to use least-privilege roles for day-to-day work. HTTPS is recommended so passwords are not sent in the clear. [1]
A related hardening document says that security through obscurity is generally an unsound primary strategy, though avoiding easily guessed administrator names such as "admin" or "webmaster" can still help. [2] The brute-force article makes a similar point about hiding the login URL: obscuring it can reduce noise, but it should not be your only defense. [1]
If you need a second gate in front of the login form, WordPress documents server and host options such as allowing only known office IP addresses to reach wp-login.php, or using a host or CDN firewall to rate-limit and challenge those requests before they reach your server. Those steps need to be tested so you do not lock out legitimate staff, mobile apps, or services you still use. [1]
XML-RPC is a second door
XML-RPC is an older interface, usually at /xmlrpc.php, that lets other programs talk to WordPress. Some sites still need it. Many do not.
WordPress calls xmlrpc.php a frequent brute-force target, especially the system.multicall method, which can pack many login attempts into fewer requests. The official advice is direct: if you do not use XML-RPC, disable it. If you do use it (for example with Jetpack or official mobile apps), restrict it and rate-limit it aggressively. [1]
One important caveat comes from WordPress's own developer documentation for the xmlrpc_enabled filter, a common snippet people paste into a theme or must-use plugin. Despite its name, that filter does not fully turn XML-RPC off. It only controls methods that require authentication, such as publishing. Pingbacks and other endpoints that do not require authentication can remain available. WordPress says that behavior is expected, and it points to other hooks (xmlrpc_methods and xmlrpc_element_limit) for more complete control. [3]
In practice, "I added a one-line filter" is not the same as "this endpoint is closed." If you do not need XML-RPC, ask your developer or host to block the file at the server or firewall, and then visit /xmlrpc.php yourself to see what still answers.
Other leftover admin pages
WordPress is not the only software that leaves a default door in place. Shopping carts, billing panels, database tools, staging copies, and old administrator paths sometimes remain reachable after a migration or a plugin uninstall. A leftover login page is a problem because it is a guessable target, and because it may still accept the same weak or reused password you used years ago.
You do not need a special tool to start looking. In a browser, try the addresses you remember from setup, and ask your host for a list of admin URLs the account still serves. Remove or restrict anything you no longer use. Keep WordPress core, themes, and plugins up to date, which WordPress lists among its key defenses. [1][2]
WordPress also warns against installing plugins and themes from untrusted sources and recommends sticking to WordPress.org or well-known companies. [2]
What to do this week
- Open your site in a private browser window and visit /wp-login.php and /xmlrpc.php. Note whether they load for the public.
- Confirm that every administrator uses a unique password and 2FA. WordPress core will not do the second part for you. [1]
- If nobody uses XML-RPC, have it disabled or blocked, and do not rely only on the xmlrpc_enabled filter. [1][3]
- If you still need remote publishing, Jetpack, or a mobile app, keep the endpoint but put rate limits or a firewall rule in front of it. [1]
- Change any remaining "admin" username, trim extra administrator accounts, and keep a tested backup. [1][2]
Closing a door you do not use will not fix a stolen password or an outdated plugin. It does remove a noisy, well-known target.
Our take
Login pages exist so you can do your work. They should not be an easy target for every script on the internet. A default WordPress login and a forgotten XML-RPC endpoint are two well-known leftover surfaces, and both are documented by WordPress itself.
Curious which login doors your site shows the public? A free Hackbait scan looks from the outside, without logging in or guessing anything, and it is for sites you own or are authorized to check.
See what a scan sees on your site
A free Surface Scan takes a few minutes: a grade, the openings visible from outside, and a private report link by email.
If you already have a report and want a closer look, a Deep Scan goes further than the free Surface Scan. You can start one from your report when you are ready. See pricing
Sources
- WordPress.org, “Brute Force Attacks”, WordPress Developer Resources, October 14, 2026.developer.wordpress.org · accessed November 29, 2026
- WordPress.org, “Hardening WordPress”, WordPress Developer Resources, October 14, 2026.developer.wordpress.org · accessed November 29, 2026
- WordPress.org, “xmlrpc_enabled”, WordPress Developer Resources, August 20, 2026.developer.wordpress.org · accessed November 29, 2026
Summarized in our own words; any quoted text is short and marked. Spotted an error or want a correction? Tell us.