All posts
Blog

WordPress Login URL: How to Find Your Login Page (Every Setup)

By Dakshesh13 min read

  • wordpress
  • wordpress maintenance
  • wordpress plugins
  • website monitoring
Continue with GoogleFree plan · No credit card required

Listen to this article

15 minute listen

Narrated by an AI voice · 13 chapters

0:00-15:04

AI Overview

Your WordPress login URL is your site address plus /wp-admin or /wp-login.php, such as example.com/wp-admin. If WordPress is in a subfolder or subdomain, add the path there, like example.com/blog/wp-admin. WordPress.com sites log in at wordpress.com, and if nothing works, a security plugin has likely changed the URL.

Key takeaways

  • The default login pages are /wp-login.php and /wp-admin on your WordPress Address.
  • Shortcuts like /login and /admin redirect only when pretty permalinks are on.
  • Subfolder, subdomain and multisite installs add their own path before /wp-admin.
  • A forgotten custom login URL is recovered by renaming the plugin folder over FTP.
  • Strong passwords, 2FA and login limits protect you more than hiding the URL.

Free WordPress plugin

Know which plugin update broke your site.

The free MyKavo plugin watches your site through every plugin, theme and core update, and tells you which one caused a change, before your visitors find it.

  • Records every plugin, theme and WordPress update
  • Checks your key pages right after each update and names the one that broke something
  • One-click rollback when an update goes wrong, free
  • Changes, alerts and before-and-after proof inside wp-admin

Free on WordPress.org · WordPress 6.2+ · PHP 7.4+ · The check after each update comes with every paid plan

Summarize with AI

Opens the assistant in a new tab with a link to this post.

On this page

Your WordPress login URL is almost always your site address followed by /wp-admin or /wp-login.php, for example https://example.com/wp-admin. If that doesn't work, WordPress is probably installed in a subfolder or on a subdomain, a plugin has moved the login page, or you're on WordPress.com, which logs you in a different way.

This guide shows you every default login URL, how to find the login page for subdirectory, subdomain and multisite installs, the difference between WordPress.com and self-hosted WordPress, how to recover a login URL a plugin has hidden, and whether changing your login URL is worth it for security.

Logged in and worried something changed? The free MyKavo WordPress plugin checks your pages after every plugin, theme and core update and shows before-and-after screenshots right in wp-admin. Start monitoring free.

Quick answer: how to find your WordPress login page#

  1. Add /wp-admin to your domain, such as https://example.com/wp-admin. If you're logged out, WordPress sends you to the login form.
  2. Or go straight to /wp-login.php, such as https://example.com/wp-login.php. This is the login form itself.
  3. Try /login or /admin as shortcuts. On most sites with pretty permalinks, WordPress redirects these to the right place.
  4. If WordPress lives in a subfolder or subdomain, add the path there instead: https://example.com/blog/wp-admin or https://blog.example.com/wp-admin.
  5. On WordPress.com, log in at wordpress.com with your WordPress.com account.
  6. If none of these work, a security plugin may have changed the URL. Check your hosting dashboard, or temporarily disable the plugin over FTP (steps below).

Once it loads, bookmark the login page so you never have to search for it again.

The default WordPress login URLs#

A standard self-hosted WordPress install gives you several ways to reach the same login form. Replace example.com with your own domain.

URLWhat it does
example.com/wp-login.phpThe actual login form. Always works unless a plugin has changed it.
example.com/wp-adminThe dashboard. Logged-out visitors are redirected to wp-login.php.
example.com/loginShortcut that WordPress redirects to wp-login.php.
example.com/adminShortcut that WordPress redirects to wp-admin.
example.com/dashboardAnother shortcut that WordPress redirects to wp-admin.
example.com/wp-login.php?action=lostpasswordThe "Lost your password?" form.
example.com/wp-login.php?action=registerRegistration form, only if "Anyone can register" is turned on.

How the /login and /admin shortcuts work#

WordPress core includes a function, wp_redirect_admin_locations(), that catches common guesses like /login, /admin and /dashboard and redirects them to the real login or admin URL.

Two conditions apply. The shortcut only works when pretty permalinks are enabled (Settings > Permalinks is set to anything other than "Plain"), and only when nothing else on your site uses that address. If you have a page with the slug "login", WordPress shows that page instead of redirecting.

What happens when you visit /wp-admin#

When you're logged out and open /wp-admin, WordPress sends you to a URL like this:

https://example.com/wp-login.php?redirect_to=https%3A%2F%2Fexample.com%2Fwp-admin%2F&reauth=1

The redirect_to part tells WordPress where to send you after you log in. That's why bookmarking a specific admin screen, such as Posts or Plugins, works: you log in and land right where you wanted to be.

How to find the login URL for different installs#

WordPress in a subdirectory#

If WordPress is installed in a folder, the login page is inside that folder:

https://example.com/blog/wp-admin
https://example.com/blog/wp-login.php

Some sites run WordPress from a subfolder but show the site at the root domain. In Settings > General, the WordPress Address (URL) is where the core files live, and the Site Address (URL) is where visitors see the site. Your login page is always based on the WordPress Address. If that's https://example.com/wp, log in at https://example.com/wp/wp-login.php.

WordPress on a subdomain#

For a site on a subdomain, add the path to the subdomain:

https://blog.example.com/wp-admin
https://shop.example.com/wp-login.php

WordPress multisite#

On a multisite network, each site has its own login URL, such as example.com/site-two/wp-admin (subdirectory network) or site-two.example.com/wp-admin (subdomain network). Super admins reach the network dashboard at example.com/wp-admin/network/.

Local and staging sites#

Local tools and staging sites work the same way: add /wp-admin to the local or staging address, such as http://mysite.local/wp-admin. Staging copies usually have their own users table, so the password may differ from production if someone changed it after the copy was made.

Try it on your site · free

Check your own page's meta tags

Title, description, canonical and robots - including an accidental noindex - in a few seconds.

Open the full tool

WordPress.com vs self-hosted WordPress login#

The two products log you in differently, and mixing them up is a common reason people can't find the login page.

Self-hosted (WordPress.org software)WordPress.com
Where you log inyourdomain.com/wp-admin or /wp-login.phpwordpress.com, with your WordPress.com account
AccountA user account on your own siteOne WordPress.com account for all your sites
Who manages the login pageYou (and your plugins)WordPress.com
Password resetwp-login.php?action=lostpassword on your siteWordPress.com account recovery

If you bought hosting and installed WordPress yourself, you're self-hosted. If you signed up at wordpress.com, use your WordPress.com account. On WordPress.com sites, going to yoursite.wordpress.com/wp-admin also takes you to the WordPress.com login if you're signed out.

Find your login URL when you've forgotten the site address#

If you manage several sites or inherited one, you may not even know which URL WordPress uses. These methods find it:

  • Hosting dashboard: most hosts list your WordPress installs with a "Log in to WordPress" or "WP Admin" button.
  • WP-CLI: if you have SSH access, run the commands below in the site's folder.
  • phpMyAdmin: open the wp_options table (your prefix may differ) and read the siteurl row.
  • Welcome email: the email WordPress sends when a site or user is created includes the login link.
# The WordPress Address: your login page is this URL plus /wp-login.php
wp option get siteurl

# The Site Address that visitors see
wp option get home

# Print the exact login URL
wp eval 'echo wp_login_url() . PHP_EOL;'

The last command is useful when a plugin has changed the login URL through WordPress's login_url filter, because it prints whatever WordPress currently reports.

Bookmark the login page (and use "Remember Me")#

Once you've found the right page, save it:

  1. Open the login page or a specific admin screen you use often, such as Posts.
  2. Press Ctrl+D (Windows and Linux) or Cmd+D (Mac) to bookmark it.
  3. Name it clearly, such as "Example.com admin", especially if you manage several sites.

Tick "Remember Me" only on your own devices. By default WordPress keeps you logged in for about 2 days, or 14 days with Remember Me checked. On a shared or public computer, leave it unchecked and log out when you're done.

Changing your WordPress login URL with a plugin#

Plugins such as WPS Hide Login let you move the login page from wp-login.php to a custom address, like example.com/team-entrance. Several security plugins include a similar option. Requests to the old wp-login.php and wp-admin addresses then return a 404 or a page you choose for logged-out visitors.

Pros#

  • Less bot noise. Automated scripts that hammer wp-login.php with password guesses stop reaching your login form, which can reduce load and clean up your logs.
  • Fewer lockout emails from brute-force protection plugins, because fewer attempts get through.
  • Simple to set up and easy to undo.

Cons#

  • It's obscurity, not protection. A weak password is still a weak password. Attackers who find the new URL face exactly the same login form.
  • You can lock yourself out. If you forget the custom URL, you'll need FTP or SSH to recover it.
  • Some things expect the default URL. Certain plugins, themes, membership tools and hosting dashboards link to wp-login.php directly. Test logins, password resets and any front-end login forms after the change.
  • Other doors stay open. XML-RPC and the REST API are separate from the login page and need their own protection.
  • Caching can interfere. Make sure your caching plugin or CDN doesn't cache the new login page. If something looks stale, see how to clear cache in WordPress.

Verdict: changing the login URL is a reasonable extra layer if bot traffic bothers you, but do it after strong passwords, two-factor authentication and login limits, never instead of them.

How to recover a custom login URL you've forgotten#

  1. Connect to your site with FTP, SFTP or your host's file manager.
  2. Go to wp-content/plugins/.
  3. Rename the plugin's folder, for example wps-hide-login to wps-hide-login-off.
  4. WordPress deactivates the plugin, and /wp-login.php works again.
  5. Log in, rename the folder back, reactivate the plugin and check its settings page for the custom URL.

With SSH access, wp plugin deactivate wps-hide-login does the same thing in one command.

Secure your WordPress login page#

Because every WordPress site has its login page in the same place, bots try password guesses against it constantly. These steps matter far more than hiding it:

1. Use strong, unique passwords#

Use a password manager and give every admin account a long, unique password. Remove old admin accounts you no longer need, and don't use "admin" as a username.

2. Turn on two-factor authentication#

Two-factor authentication (2FA) asks for a code from an app or a security key after the password. WordPress core doesn't include it, but plugins do: the Two Factor plugin on WordPress.org, Wordfence Login Security and WP 2FA are popular options. Turn it on for every account with admin or editor access.

3. Limit login attempts#

WordPress core doesn't limit how many times someone can guess a password. A plugin such as Limit Login Attempts Reloaded or a security suite such as Wordfence locks out an IP address after repeated failures. Many hosts and firewalls (including Cloudflare's tools) can also rate-limit requests to wp-login.php.

4. Always log in over HTTPS#

Your login URL should start with https://. If the login page shows a certificate warning, fix it before entering a password. Our guide to your connection is not private explains the common causes, and the free SSL certificate checker shows when your certificate expires.

5. Keep WordPress, plugins and themes updated#

Outdated plugins and themes are a common way into WordPress sites, so a locked-down login page is only part of the job. For the complete picture, read our WordPress security guide.

Login page not loading or not working?#

Finding the URL is only half the battle if the page itself misbehaves.

What you seeLikely causeWhat to try
404 on /wp-admin and /wp-login.phpLogin URL changed by a plugin, or wrong install pathCheck hosting dashboard; rename the plugin folder over FTP
Login page reloads after you submitCookie, cache or URL mismatchClear cookies, exclude the login page from caching, check Settings > General URLs
"Too many redirects" errorHTTP/HTTPS or www mismatch, or a redirect pluginSee ERR_TOO_MANY_REDIRECTS
Blank white pagePHP fatal error in a plugin or themeCheck the recovery mode email, or enable debugging
"Incorrect password" with the right passwordWrong site, staging copy, or changed accountReset the password with the lost password link

For step-by-step fixes, see our full guide on what to do when you can't log in to WordPress. If you see unknown admin users or a changed login page you didn't set up, treat it as a possible compromise and follow our guide to a hacked WordPress site.

How to catch login and admin problems automatically#

Login problems usually show up right after something changes: a security plugin update, a new redirect rule, a moved certificate. Visitors won't tell you your login page is broken, and you may not notice until you need to get in urgently.

MyKavo monitors the pages you choose and checks HTTP status and redirects, so a page that suddenly returns a 404 or starts redirecting somewhere new raises an alert with before-and-after proof and a severity. It also checks each website is up every 5 minutes and warns you before your SSL certificate expires. The free MyKavo WordPress plugin checks your pages after every plugin, theme and core update, names the update when something broke, and adds nothing to the pages visitors load.

Frequently asked questions#

Frequently asked questions

What is the default WordPress login URL?

For a self-hosted site it's your domain followed by /wp-login.php or /wp-admin, such as example.com/wp-login.php. Visiting /wp-admin while logged out redirects you to the login form.

How do I find my WordPress login page if /wp-admin doesn't work?

Check whether WordPress is in a subfolder or subdomain, such as example.com/blog/wp-admin. If it still fails, a security plugin may have changed the URL, so look in your hosting dashboard or rename the plugin's folder over FTP to restore the default.

Does /login work on every WordPress site?

No. WordPress redirects /login to wp-login.php only when pretty permalinks are enabled and no page or post already uses that address. A custom login URL plugin can also disable the shortcut.

How do I log in to a WordPress.com site?

Log in at wordpress.com with your WordPress.com account. That one account gives you access to every WordPress.com site you manage, and visiting your site's /wp-admin address while signed out sends you to the same login.

Should I change my WordPress login URL?

It can reduce bot traffic, but it doesn't make weak passwords safe. Set up strong passwords, two-factor authentication and login attempt limits first, then hide the login URL only if you want an extra layer.

How do I recover a custom login URL I forgot?

Connect with FTP or your host's file manager, go to wp-content/plugins and rename the folder of the plugin that changed the URL. The default wp-login.php address works again, and you can check the plugin's settings after logging in.

Is it safe to bookmark the WordPress login page?

Yes. The login URL isn't a secret on most sites, and bookmarking it is safer than searching for it. Just keep your password in a password manager rather than saved in a shared browser.

The bottom line#

Your WordPress login URL is your site address plus /wp-admin or /wp-login.php, adjusted for any subfolder or subdomain where WordPress is installed. WordPress.com sites use your WordPress.com account instead. Bookmark the page once it works, protect it with strong passwords, two-factor authentication and login limits, and treat a custom login URL as an optional extra rather than your main defense.

Know when your site changes before you need to log in and fix it. Start monitoring your site free with MyKavo and add the free MyKavo WordPress plugin, no card needed.

Share this post

Write for MyKavo

Know website monitoring, WordPress or SEO from real work? Pitch us a guide. You keep a byline with one link to your site. Read the guidelines

Get alerted when your site breaks. Free, no card.

Start free