Skip to Main Content

How to create a login page on WordPress

Divi: the easiest WordPress theme to use

Divi: The best WordPress theme of all time!

With over 701.000 downloads, Divi is the most popular WordPress theme in the world. It is complete, easy to use and comes with more than 62 free templates. [Recommended]

Would you like to create a WordPress login page?

Sending users to the default login page which usually redirects them to the WordPress dashboard after login can be confusing and it's bad for the user.User experience

Wouldn't it be nice if users could log into your website directly from any page?

In this article, we'll show you how to add a login page on WordPress.

But before, if you have never installed WordPress discover How to Install a WordPress Blog in 7 Steps et How to search, install and activate a WordPress theme on your blog 

Then back to why we are here.

create a WordPress login page - frontend-login-page

Why should you use a custom login page?

By default, WordPress sends users to their profile pages on the dashboard when they connect. If they can perform other tasks like writing articles, then their access is justified.

However, in the case of member-space websites, not all of your users will have access to the WordPress dashboard. In fact, many users will feel a little confused after the connexion.

Allowing users to log in from a page on your website will improve the user experience. They will be able to continue doing what they wanted to do, without necessarily accessing the dashboard

If you are looking for a WordPress plugin dedicated to this task, we recommend these 13 WordPress plugins to customize your login page

How to add a login page on WordPress

The first thing to do is to install and activate the plugin « Theme My Login". After activating the plugin, it will create a login, logout, password recovery and registration page for you.

create a WordPress login page - tml-pages

Just visit one of these pages to see the plugin in action.


Theme My Login works without configuration (out-of-the-box), but you can also configure the plugin to suit your needs. To do this, click on the "TML" menu available on your dashboard.


The first option allows you to load the default style. If you have difficulty posting the form on your blog, then you can uncheck this option.

Theme My Login can also allow your users with email address, username to login.

Easily create your website with Elementor

Elementor allows you to easily create any website design with a professional look. Stop paying expensive for what you can do yourself. [Free]

The modules available Theme My Login

Theme My Login offers some default modules. You can activate them according to your needs. Simply check each module you want to activate.

Discover the 9 WordPress plugins to activate the connection to your website via social networks

As you activate the modules, sub-pages will be added to the menu. Here is what these modules consist of:

1. Customized Email

This module allows you to change the emails sent by WordPress to users and administrators of the website. After activating this module, you can personalize the email messages by accessing the location " TML "Email".


2. Custom passwords

By default WordPress sends users an email asking them to visit your blog to complete registration by specifying a password. By using the custom passwords module, you can allow users to choose a password during registration.

This module does not have a settings page. By activating the plugin, it will add the password fields to your blog registration form.


3. Custom redirection

By default, when a user logs in, WordPress redirects users to the profile page on the dashboard. The redirect module allows you to change this behavior.

After activating this module, you must navigate to the following location " TML> Redirection To configure the settings.


The plugin allows you to configure the redirection depending of user roles on your blog. This way, you will have different redirects depending on the roles of the users.

You can even send users to the pages they were visiting or to a specific page.

See also the list of the best premium redirect WordPress plugins.

4. Create personalized links for users

This module allows you to create personalized links for users. These links will be displayed in the plugin widget After activating the module, you need to visit the location " TML> Custom Links" page (in French).


Are you looking for the best WordPress themes and plugins?

Download the best plugins and WordPress themes on Envato and easily create your website. Already more than 49.720.000 downloads. [EXCLUSIVE]

5. Recaptcha

As the name suggests, this module allows you to display codes recaptcha on the registration pages. After activation, you need to visit the location TML »reCAPTCHA to configure the module.


Just enter your website key, the secret key and save your changes. You can generate the website key and the secret key by visiting the official website reCAPTCHA.

These are just a few modules available.

How to add a widget with a login form

In addition to the different features available, you can take advantage of widget with a login form that you can add to any of your sidebars. 


All you have to do is navigate to the " Appearance> Widgets". You will certainly find the widget " Theme My Login" page (in French).

Check out the list of premium WordPress plugins from the most used Widgets

It is this widget that you will add to your sidebars. You will notice that this widget has a few options that allow you:

  • To use Gravatar
  • Display the password recovery link
  • Display a title
  • Display the widget when the user is logged in or not
  • Display the registration link

We suggest you also consult the list of the best premium WordPress plugins to create registration forms.

Discover also some premium WordPress plugins  

You can use other WordPress plugins to give a modern look and optimize the grip of your blog or website.

We offer you here some premium WordPress plugins that will help you do that.

1. Block Double Logins

The Double Logins Block WordPress plugin allows your website to block the connection via a shared account. A user will not be able to connect to your website in two separate places.

Block Double Logins Protect Your Membership Site

Its features include: prevent users from simultaneously using the same WordPress account, prevent users from simultaneously connecting to multiple accounts from the same IP address, block users who are hiding behind a proxy, see who is in online at any time, see who is trying to share their account, choose which user roles are affected by this plugin's rules and which are not, works with all recent WordPress themes and more

Download Demo | Web hosting

2. Security Ninja PRO

Security Ninja PRO is another premium WordPress plugin that will help you to perfectly improve the security of your website. It offers a plethora of options and features that will allow you to take control of every aspect of the security of your website.Security Ninja PRO wordpress plugins protect site against malware virus attacks

Its features are: more than 40 security tests available, a complete scan of your website in order to detect all vulnerabilities and security flaws, the integration of a malware scanner, the backup of your website activities, the planning of different scans and much more

DownloadDemo | Web hosting

3. Zxeion

Zxeion is a powerful WordPress plugin responsible for improving the security of your website. This plugin contains a collection of protection and security tools that will protect your website from possible attacks.Zxeion wordpress plugins protect site against malware virus attacks

Easily create your Online Store

Download free WooCommerce, the best e-commerce plugins to sell your physical and digital products on WordPress. [Recommended]

Its real-time protection system will help you identify threats on your website, and block them, without you having to do anything. Its features are: real-time protection, excellent customer support, regular updates, an IP address blocker, excellent documentation, modern and professional interface, dedicated support and others.

Download | Demo | Web hosting

Other recommended resources

If you want to go further, we also suggest you to consult the following list: 


Here is ! That's all for this tutorial, I hope you can now easily create a login page on WordPress. We urge you to share this article on your different social networks.

However, you will also be able to consult our resources, if you need more elements to carry out your projects of creation of Internet sites, by consulting our guide on the WordPress blog creation.

If you have suggestions or remarks, leave them in our section Comments.


This article features 5 comments

  1. I found there were many pages left in the trash which prevented the creation of new pages, I deleted them and it works, you had to know


  2. hello and thank you for everything I found on your site

    brand new on WP and DIVI I would like to use Theme My Login this one does not install me login pages etc… why?
    thank you for your reply

Leave a comment

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

This site uses Akismet to reduce unwanted. Learn more about how your comments data is used.

Back To Top