TUTORIAL

WordPress Login 101: How to Log Into WordPress & Create a Custom Login Page (2026)

Last Updated: 10 mins By: Akriti Pant

It’s a given that you must know the WordPress login URL to access the admin panel of your website. Every WordPress site has a default login URL.

Most beginners spend more time hunting for it than they should. And once site owners do find it, they quickly realize the default login page has three problems – it’s unbranded, it’s a known bot target, and it offers no customization.

This guide covers both: where your WordPress login URL is right now, and how to replace the default page with a custom branded login page that’s faster, safer, and actually looks like your site.

What Is the WordPress Login URL?

Quick Answer: Your WordPress login URL is yoursite.com/wp-login.php — replace yoursite.com with your actual domain name and go there in any browser.

Every WordPress site uses one of two default login addresses:

SetupLogin URL
Main domainwww.example.com/wp-login.php
Main domain (alternative)www.example.com/wp-admin
Subdomainwww.subdomain.example.com/wp-login.php
Subdirectorywww.example.com/blog/wp-login.php

Both wp-login.php and wp-admin take you to the same login screen. If you’re not logged in, /wp-admin redirects to /wp-login.php automatically.


How to Log Into WordPress (Step by Step)

Type your login URL into the browser address bar and hit Enter. You’ll land on the WordPress login screen.

Find WordPress Login URL

Enter your Username (or the email address associated with your account) and your Password. Check Remember Me if you’re on a personal device — this keeps you logged in between browser sessions.

Click Log In.

You’re now in the WordPress dashboard. From here you can create posts, manage pages, install plugins, configure settings, and access everything else on your site.

💡 Pro Tip: Bookmark your login URL (yoursite.com/wp-login.php) the first time you visit it. It saves typing every time you come back. In Chrome and Firefox, press Ctrl+D (Windows) or Cmd+D (Mac) to bookmark the current page instantly.

Bookmark WordPress Login URL

How to Add a Login Link to Your Navigation Menu

If you want members and users to find the login page without typing the URL manually, add it to your site’s navigation menu.

Go to Appearance → Menus in your WordPress dashboard.

Create New Main Menu

In the Menu Structure section, enter a menu name like Main Menu.

Tick the checkbox for Primary Menu since you want to display the menu in the main location i.e. the header section. Finally, click Create Menu.

Then, in the Edit Menus tab, you’ll see a section titled Add menu items.

Add Menu Items Section

Here, click on Custom Links and add the login URL in the URL field. After that, provide a Link Text and press Add to Menu.

Add Custom Login Link

Finally, hit the Save Menu button. 

Save Main Menu

Your navigation menu will now display the Login link at the top. You can just click on the menu to go to the login page.

WordPress Login URL Menu

Why the Default Login Page Is a Problem

The default WordPress login page at /wp-login.php works. But once your site has real users, it creates three problems worth fixing.

Bots know exactly where to find it. The /wp-login.php URL is the same on every WordPress site. Automated bots scan millions of sites continuously, hammering this URL with credential combinations in what’s called a brute force attack. It’s not targeted — it’s automated and relentless.

It’s unbranded. The default page shows the WordPress logo, not yours. Users land on what looks like a generic system page rather than a screen that feels like part of your site.

It’s not customizable. You can’t add your logo, change field labels, redirect users based on their role, or apply your brand’s colors — not without replacing it entirely.

A custom login page built with User Registration & Membership solves all three. The next section shows you how to build one.


How to Create a Custom WordPress Login Page

User Registration & Membership gives you a fully branded, customizable login page in four steps. The free version is all you need.

Step 1: Install User Registration & Membership

Go to Plugins → Add New in your WordPress dashboard and search for User Registration & Membership. Click Install Now then Activate.

install urm

After activation, the setup wizard launches. At the Install Pages step, select Install Default Pages and Forms — this creates a pre-built My Account page on your site that includes the login form automatically.

advanced registration in setup wizard

Complete the remaining wizard steps and click Finish.


Step 2: Create a Custom Login Page

If you used the Install Pages option during setup, your My Account page already exists with the login form embedded. Go to Pages → All Pages to confirm — look for Login page in the list.

login page

Note: You can also choose the My Account page. This page shows the login form to logged-out visitors and the user’s profile dashboard to logged-in members – all from a single page URL.

If you need to create it manually, go to Pages → Add New, give the page a title like Login or My Account, then click the + block inserter and search for Login Form.

login form in block

Select the Login Form block.

login settings

Click Publish.

login page frontend

Step 3: Replace the Default Login URL

Now tell WordPress to send users to your new page instead of /wp-login.php.

Go to User Registration & Membership → Settings → General → Login Page.

login page as default

Click Save Changes.

Then, go to User Registration & Membership > Login Form > Form Settings > Advanced and enable the Disable Default WordPress Login Screen. Then, click Update Form.

disable default login

From this point, anyone who visits yoursite.com/wp-login.php is automatically redirected to your custom page.


Step 4: Configure Login Options

While you’re in User Registration & Membership → Login Form → Form Settings, a few more settings are worth configuring:

Login Redirect URL — where users land after a successful login. Set this to your My Account page, a specific dashboard, or any URL that makes sense for your site.

Enable Ajax Login — submits the login form without a full page reload. Faster, smoother experience for users.

Enable Captcha — adds reCAPTCHA to the login form to block automated login attempts.

Custom field labels and messages — rename “Username” to “Email Address” if that’s how users registered, and customize error messages like “Incorrect password” to match your brand voice.

login form settiings

Click Save Changes when you’re done.


How to Secure Your WordPress Login Page

A custom login page is the first layer of security. Here are the additional measures we recommend layering on top.

Enable Strong Passwords on Registration Forms

Weak user passwords create vulnerabilities that are easy to exploit. User Registration & Membership lets you enforce strong passwords directly on your registration forms — users can’t complete signup with a password that doesn’t meet your minimum requirements.

To enable it, open any registration form in User Registration & Membership → Registration Form, go to Form Settings → General, and toggle Enable Strong Password on.

strong password

Require Admin Approval for New Users

For private sites or membership communities, auto-approving every registration is a risk. With admin approval enabled, new users submit the registration form and receive a pending message — they can’t log in until you manually approve them from User Registration & Membership → Members.

Go to any registration form → Form Settings → General → set User Approval to Admin Approval.

admin approval in login

Limit Login Attempts

Install a plugin like BruteFort – Rate Limit, Custom Login URL, Geo Blocking & IP Restriction (free, WordPress.org) to block IPs after a set number of failed login attempts. This directly counters brute force attacks.

After installation, set your preferred number of retries and lockout duration from the plugin’s settings page.

Use HTTPS

If your site is still running on HTTP, login credentials are transmitted as plain text — readable by anyone intercepting the connection. Switch to HTTPS using an SSL certificate. Most hosting providers offer free SSL through Let’s Encrypt, and many activate it automatically. Once HTTPS is active, a padlock icon appears in your browser’s address bar.

Warning: Never log into your WordPress site on a public WiFi network unless your site is running HTTPS. Without it, your username and password can be intercepted.

Use a Security Plugin

A dedicated security plugin adds firewall protection, malware scanning, and login monitoring for the whole site. Wordfence Security and Sucuri Security are both well-established options with free tiers worth using.


How to Fix Common WordPress Login Problems

Forgot Your Password?

On the login screen, click Lost your password? below the login form. Enter the email address associated with your account. WordPress sends a password reset link to that email — click it, set a new password, and log in.

If the email doesn’t arrive within a few minutes, check your spam folder. If it’s not there either, your site may have an email deliverability issue – install an SMTP plugin like SmartSMTP to fix outgoing email reliability.

Login Loop (Keeps Redirecting Back to Login Page)

You enter correct credentials but get sent straight back to the login page. This is almost always a cookie or .htaccess problem.

Fix it in this order: first, clear your browser cookies and cache. If that doesn’t work, try a different browser. If it still persists, connect to your site via FTP or your hosting file manager, rename your .htaccess file to .htaccess_old, then try logging in again. WordPress will generate a fresh .htaccess file.

Locked Out After Too Many Attempts

If you have login attempt limiting active and get locked out, wait for the lockout period to expire (usually 10–30 minutes depending on settings). If you need immediate access, connect to your site’s database via phpMyAdmin and deactivate the limiting plugin by updating the active_plugins option in the wp_options table.

Lost or Forgotten Login URL

If you’ve replaced the default login page with a custom one and can’t remember the URL, try these in order: yoursite.com/wp-login.php, yoursite.com/wp-admin, and yoursite.com/login. One of them will either show the login screen or redirect to your custom page.

Database Connection Error

A “Error establishing a database connection” message on the login page means WordPress can’t connect to its database. Check your wp-config.php file to confirm the database name, username, password, and host are correct. If your hosting provider recently changed server settings, the credentials in wp-config.php may need updating. Contact your host if the values look correct but the error persists.

White Screen on Login (White Screen of Death)

A blank white page after submitting login credentials usually means a PHP error triggered by a plugin or theme. Connect via SFTP, navigate to wp-content/plugins, and rename the plugins folder to plugins_old – this deactivates all plugins. Try logging in again. If it works, rename the folder back and reactivate plugins one by one to identify the culprit.


Wrapping Up

Your WordPress login URL is yoursite.com/wp-login.php – easy to find, but not something you want to leave as-is for long. The default page is an open target for bots, unbranded for your users, and impossible to customize.

A custom login page built with User Registration & Membership gives you full control over what users see, how they authenticate, and where they land after signing in – with a free setup that takes under an hour.

Once your login page is sorted, the natural next steps are setting up role-based redirects, enabling admin approval for registrations, and adding membership plans to your site.

You might also like:

WordPress Login 101: How to Log Into WordPress & Create a Custom Login Page (2026)
Scroll to top

Pin It on Pinterest