Skip to content
Sign in
Clean Login icon

Clean Login

Frontend login, registration, profile and password reset forms with blocks or shortcodes.

Not scanned yet WordPress plugin 5k installs

Install in

No install steps yet

Follow the steps on the source page.

Try it on a free demo site: https://demo.tastewp.com/clean-login

Move login, registration, password reset and profile editing out of wp-login.php and into the pages of your own site. Add a block or a shortcode to any page and the form appears with the look of your theme. The forms find each other and link to each other on their own, and wp-login.php and wp-admin can send your visitors to your new login page.

✅ Tested with WordPress 7.2

✅ More than 5,000 active installations

✅ 100% free, no premium version, no locked features

🆕 New in 2.0

  • Blocks for every form: Login form, Register form, Restore password form, Edit profile form, Change password form and Logout link, with a live preview in the block editor
  • Send wp-login.php and wp-admin to your login page, with checks for other plugins and server rules before it is enabled, and an emergency switch in wp-config.php so you never get locked out
  • Safer password reset links: they work only once and expire like the ones of WordPress
  • WPML: the texts of the settings are translated in String Translation and every language keeps its own form pages

🔑 Login

  • Login form with show/hide password and “Remember me”
  • Logged-in preview with the avatar, a link to edit the profile and a logout link
  • Redirect after log in and after log out to any URL
  • Optional redirection of wp-login.php and wp-admin to your login page
  • Use the email address as username
  • Customisable “Lost password?” link text
  • Timestamp option to avoid problems with page cache

📝 Registration

  • Registration form with optional first and last name
  • Letters CAPTCHA, Google reCAPTCHA and an invisible honeypot against spam
  • Terms and conditions checkbox with a link to your terms page
  • Email validation before the account is active, or automatic login after registration
  • Standby role: new users wait until an administrator approves them
  • Let users choose their role from a list you control, or set it with [clean-login-register role="..."]
  • Password complexity rules and a customisable welcome email
  • Redirect after registration

🔒 Password and profile

  • Forgot password form that sends a one-time reset link
  • Change password form with an animated strength meter (Weak / Fair / Good / Strong)
  • Profile editor on the front end: first and last name, email and password
  • Redirect after a password change or a reset request

🛡️ Control the dashboard

  • Hide the admin bar for the roles you choose
  • Block the dashboard for users who are not administrators
  • Login and registration pages are marked noindex and left out of the sitemap

🧩 Blocks or shortcodes

Every form is a block in the “Clean Login” category of the block editor, and also a shortcode:

  • [clean-login]: login form, or the logged-in preview
  • [clean-login-register]: registration form
  • [clean-login-restore]: forgot password form
  • [clean-login-edit]: profile editor
  • [clean-login-change-password]: password change form with strength meter
  • [clean-login-logout]: logout link, with an optional text attribute

Copy any template to your-theme/clean-login/ to change its HTML. Your changes survive the updates.

🔌 Works with your plugins

  • WPML: officially certified, forms follow the language of the visitor
  • WooCommerce: works alongside WooCommerce without conflicts
  • Yoast SEO, Rank Math and AIOSEO: the form pages are kept out of search results
  • Multisite: settings and redirection per site
  • Import and export users and customers: the login link of its welcome emails takes your imported users to your Clean Login page

💬 What users say

“I needed a lightweight plugin with some straightforward redirects and the option for users to create their own (strong) passwords. I’m really happy with this solution.”
— Maarten Visman

“It’s simply fast and clean and it works every time!”
— grabe

“I needed a simple plugin for login and logout and this plugin solved my purpose. Most importantly they added the Logout feature on my request and without any delay.”
— anjanphukan

Credits

Clean Login was created by Alberto Hornero in 2014 and is maintained by Codection.

More plugins by Codection

Written by Joobi from the project's own listing. See the source page

custom login pageloginpassword resetregistrationuser profile
25 Nov 2026
Version 2.0.3 released. Not scanned yet.

2.0.3 – 2026-11-16

  • Fixed: the image of the letters CAPTCHA of the registration form was not shown since version 1.16 (a PHP error), so nobody could register while the CAPTCHA was enabled
  • Fixed: when the page of a form already had parameters in its URL (for example ?lang=en with WPML, or a campaign link), the redirections after logging in, registering, updating the profile or restoring the password broke them with & and the message of the result was lost
  • Below the status table of Settings Clean Login, a line to import a list of users or export the ones who registered with Import and export users and customers, our free plugin (links to its screens when it is active). It replaces the suggestion of that plugin in the box of related plugins
  • With Import and export users and customers 3.1.2, the login link of its welcome emails takes users to the Clean Login page
  • New banner and screenshots, and a new plugin description
  • Credits to Alberto Hornero, who created the plugin, in the description and in the settings screen

2.0.2 – 2026-11-16

  • WPML: new wpml-config.xml, so the “Lost password?” link text, the terms and conditions text and the new user email text of Settings Clean Login can be translated in WPML String Translation, and the text of [clean-login-logout] is sent to translation
  • Fixed: with WPML, a redirect target that is not a post or a page (the home page, which is the default, an archive or an external URL) took the visitor to the wrong page, and logging out from the admin bar showed a blank page. Now the URL is translated to the visitor’s language, and the logout goes to the home page if there is no URL
  • Fixed: with WPML, the Clean Login widget linked the pages of one language on every language
  • Fixed: with WPML, moving one translation of a form page to the trash or unpublishing it removed the links to that form in every language. Now another published translation is used
  • Thanks to the WPML compatibility team for the report

2.0.1 – 2026-10-30

  • New “More plugins by Codection” section in the plugin description
  • The settings screen shows a box with our related plugins: the RedSys, Bizum and Ceca gateways for the plugins active on the site (WooCommerce, Paid Memberships Pro, GiveWP, forms, tickets…) on sites in Spanish, Catalan, Galician or Basque or with a WooCommerce store based in Spain, and the users import and export plugin and its addons on the rest
  • Fewer links in the plugin row of the Plugins screen: only one link to our other plugins, the gateways in Spain and the premium addons elsewhere
  • Links to our other plugins now include campaign parameters to know which ones are useful

2.0 – 2026-10-28

  • New: optional redirection of wp-login.php (and of wp-admin for visitors who are not logged in) to the [clean-login] page, in Settings Clean Login Login page redirection. The register and lost password screens go to the [clean-login-register] and [clean-login-restore] pages when they exist (registration only when “Anyone can register” is enabled, so in multisite the network registration of wp-signup.php is kept unless the site enables it), and the page the visitor wanted to open is kept so they get there after logging in. Logout, password reset links, password protected posts, the “session expired” box and any form sent to wp-login.php keep working as usual. It is only applied while the login page is published, and it can be turned off from wp-config.php with define( 'CLEAN_LOGIN_DISABLE_LOGIN_REDIRECT', true ); in case of lockout. In multisite it is set per site, and the constant disables it in the whole network
  • New: Gutenberg blocks for every form (Login form, Register form, Restore password form, Edit profile form, Change password form and Logout link) in a “Clean Login” category, with a live preview in the editor (the login, register and restore forms are previewed even if you are logged in). Pages using the blocks are detected like the ones using the shortcodes, and the styles are loaded wherever a block is rendered, including block theme templates
  • New: login page redirection checks in Settings Clean Login. Before enabling the redirection they look for plugins that hide, rename or replace wp-login.php, security plugins with similar options, other plugins or themes using the login hooks, and open wp-login.php, wp-admin and the login page as a visitor. The redirection is not enabled while any check fails
  • Security: the password restore link now uses the WordPress password reset key instead of a nonce, so it can only be used once and expires like the one of WordPress (1 day by default). Before, a leaked link could be opened again during 12-24 hours to log in as that user. Thanks to StickyFingaz420 for the responsible disclosure
  • Fixed: a post type that cannot be viewed on its own (template parts, synced patterns, navigation menus…) could be taken as the login, register, restore, edit or change password page when it contained the shortcode or the block, so the forms pointed to it
  • Fixed: the pages of the forms are forgotten when they are deleted permanently, not only when they are moved to the trash
  • Fixed: [clean-login-register] printed the “Registration is not allowed” message outside of its place in the page instead of returning it
  • Fixed: the login page ID was saved in the option of the login page URL when it had to be recovered from the URL
  • Fixed: the edit profile page could not be recovered from its URL and it was not translated with WPML
  • Fixed: the register page ID recovered from its URL was never saved

1.22.2 – 2026-10-27

  • Fixed: when a password restore is requested for a username or email that does not exist (or the email cannot be sent), the error is always shown on the same restore page and the restore redirection is never applied. Only a successful request follows the redirection

1.22.1 – 2026-10-27

  • New: optional redirection after a password change (from [clean-login-change-password] or [clean-login-edit]), in Settings Clean Login Redirections. Filterable with clean_login_change_password_redirect_url
  • New: optional redirection after a restore password request, once the email with the link has been sent. Filterable with clean_login_restore_redirect_url

1.21 – 2026-10-27

  • Security: the pages used by the plugin’s shortcodes (login, edit, register, restore and change password) can now only be set by users who can manage the plugin settings (administrators, or the capability set with the clean_login_admin_capability filter) and only from published content. Before, a Contributor or Author could replace them with a post of their own just by adding a shortcode to it
  • Fixed: after clicking the reset link, users are now redirected to the [clean-login-change-password] page when it exists (it falls back to the [clean-login-edit] page, and otherwise a new password is generated)

1.20.1 – 2026-10-25

  • Fixed: the [clean-login-change-password] shortcode caused a critical error (and “Publishing failed” in the editor) because its template file was missing from the 1.20 package

1.20

  • New: Google reCAPTCHA diagnostics in Settings Clean Login — automatic checks (keys, theme template overrides without the reCAPTCHA box, cache/optimisation and cookie consent plugins that can block the Google script), a live test of the Site Key and Secret Key against Google, and an optional log of failed validations with the reason returned by Google
  • Improved: reCAPTCHA answers are now verified with a POST request to Google and connection errors no longer trigger PHP warnings

1.19

  • Security: registration handler now enforces WordPress’s “Anyone can register” setting server-side, closing a bug that let an unauthenticated visitor create an account even while registration was disabled (reported by Artus KG)
  • Security: registration CAPTCHA can no longer be bypassed by submitting the form without loading the CAPTCHA image (reported by Arthur Morgan)

1.18

  • New: shortcode [clean-login-logout] — standalone logout link, usable anywhere on the site. Renders only for logged-in users and accepts an optional text attribute to customise the label

1.17

  • New: shortcode [clean-login-change-password] — dedicated password change form, ideal as the destination after a password reset link
  • New: password strength meter in [clean-login-change-password] with four animated levels (Weak / Fair / Good / Strong), fully translatable
  • New: customisable “Lost password?” link text via Settings Clean Login
  • Fixed: error message not showing after failed login — redirect now uses the configured login page URL directly instead of relying on the HTTP referer
  • SEO: login and registration pages automatically marked noindex, nofollow (compatible with Yoast SEO, RankMath and AIOSEO)
  • SEO: canonical URL tag added to prevent duplicate content from query parameters
  • SEO: plugin pages excluded from the WordPress native sitemap (WordPress 5.5+)
  • Code: missing exit() added after wp_safe_redirect() in the login handler, as required by WordPress
  • Code: unused $atts parameter removed from shortcode callbacks that accept no attributes

1.16.3

  • SEO: login, register, restore and change-password pages are now automatically marked as noindex, nofollow — compatible with WordPress native robots API, Yoast SEO and RankMath
  • SEO: canonical URL tag added on plugin pages to prevent duplicate content caused by query parameters (?authentication=failed, ?nocache_login=..., etc.). Skipped automatically when Yoast, RankMath or AIOSEO are active
  • SEO: plugin pages excluded from the WordPress native sitemap (WordPress 5.5+)

1.16.2

  • Fixed: wrong-credentials error message not showing after a failed login. The redirect URL now uses the configured login page directly instead of relying on the HTTP referer, which could be absent or blocked. Added missing exit() after wp_safe_redirect() in the login handler, as required by WordPress
  • New: customizable “Lost password?” link text via Settings Clean Login Lost password link text
  • New: shortcode [clean-login-change-password] — dedicated form for changing password, ideal as destination after a password reset link. Shows only the two password fields without exposing name or email
  • New: password strength meter in [clean-login-change-password] — animated bar with four levels (Weak / Fair / Good / Strong), fully translatable via .po/.mo files

1.16.1

  • Documentation updated with upgrade notes for breaking changes introduced in 1.16

Upgrade notes for 1.16:

Mandatory nonces: Strict nonce verification (clean_login_wpnonce and cl_nonce) was added to login and password recovery. Anyone overriding login-form.php or restore-form.php in their theme will get broken submissions (?sent=failed) until they manually add these hidden inputs. There are no log messages that identify what has failed. On the reset password page it just says “An error has ocurred sending the email”. Note there’s a typo on “occurred” too.

Hook changes: The note “Hooks renamed” is too generic. For example, changing the filter cl_login_form to clean_login_login_form silently breaks custom templates based on previous versions. Please list the specific changes.

1.16

  • Security issues fixed
  • Code improvements
  • Hooks renamed

1.15

  • Ready for WordPress 6.9.4
  • Now, when a user changes their email, the plugin no longer redirects them to profile.php in wp-admin. All the UI is handled within the plugin’s profile page

1.14.6

  • Sanitized file templates variables

1.14.5

  • Ready for WordPress 6.6

1.14.4

  • Fixed a bug

1.14.3

  • Ready for WordPress 6.4
  • Compatible with PHP 8

1.14.2

  • Ready for WordPress 6.3
  • A mention of the WP Email Login plugin has been removed because it is not required

1.14.1

  • Included a button to “Select all” items in the metabox added for nav menu items in 1.14

1.14

  • Included a metabox in the nav menu items to make easier to link the pages managed by this plugin

1.13.9

  • Included an eye in password field in edit profile form to make password visible if the eye is clicked and viceversa

1.13.8

  • New hook added to force to generate and notify new password althought the edit profile page exists

1.13.7

  • Links included

1.13.6

  • Ready for WordPress 6.1.1
  • In register form, the default role is validated to check if the one used in the shortcode is not valid

1.13.5

  • Change email now can be handled into the plugin without being redirect to default WordPress profile page

1.13.4

  • Ready for WordPress 6.0
  • Fixed a bug in restore password controller, thanks to @modernwoe https://wordpress.org/support/topic/customise-notifications/

1.13.3

  • Added more complexity to passwords generated when restoring passwords, now they have 12 characters and special characters in order to avoid problems with complexity password checker of WordPress
  • Avoid multiple submits in forms if multiple clicks are done, thanks to Gerard Enter for suggesting these two new fixes

1.13.2

  • Ready for WordPress 5.9

1.13.1

  • Included labels tags in every form to improve accesibility

1.13

  • Now you can hide the admin bar selecting roles, instead of only admins

1.12.9.1

  • Bug fixed found in 1.12.9

1.12.9

  • You can now redirect users after registering

1.12.8.3

  • Force update to 1.12.8.2

1.12.8.2

  • New bug fix in controller created in 1.12.8.1

1.12.8.1

  • Bug fix in controller to allow filter login_redirect works

1.12.8

  • Included an eye in password field in login form to make password visible if the eye is clicked and viceversa

1.12.7

  • Added optional reCaptcha to login form

1.12.6.6

  • New hooks added to admin email notification

1.12.6.5

  • New hooks added to email validation

1.12.6.4

  • Variable escaped to prevent security problems (fixed the problem generated in previous version 1.12.6.3)

1.12.6.3

  • If url GET parameter is present in a login page, the user will be redirected their instead of any other URL

1.12.6.2

  • Ready for WordPress 5.8
  • Added new hooks to override the default admin capability

1.12.6.1

  • Fixed problem in hook with a non accesible variable

1.12.6

  • Legacy installations support recovering where the shortcodes are used

1.12.5

  • If page with a shortcode used is detected, Clean Login detects it and remove the link
  • Fixed problem saving notification new email content
  • Fixed problem that display links to not used shortcodes

1.12.4.8

  • Fixed problem with WPML integration

1.12.4.7

  • Fixed problem with login form and failed messages when prevent cache was activated

1.12.4.6

  • More problems fixed in register form

1.12.4.5

  • Different problems solved

1.12.4.4

  • Fixed problem saving some options

1.12.4.3

  • Hide admin bar functionality fixed

1.12.4.2

  • Non-cache method in login page now is optional
  • Code improvements

1.12.4.1

  • Fixed bug in login action because of non-cache method

1.12.4

  • Included a non-cache method to prevent problems with nonce in login form

1.12.3.2

  • Included more aria-labels

1.12.3.1

  • Nonce in activation emails are calculated in a different way to prevent problems checking them

1.12.3

  • In the edit profile form, if you change the email, the standard WordPress change email notification is sent to avoid problems with unwanted changes

1.12.2.1

  • Restore shortcode lost fixed

1.12.2

  • Lost fixed widget

1.12.1

  • aria-labels now can be translated
  • id included in some tags to improve usability

1.12

  • Code refactorized
  • Error updating profile when email is hidden fixed

1.11.3

  • Included aria-labels to improve accesibility

1.11.2

  • Automatic password generated now it is hidden from url when you are reseting it

1.11.1

  • New hooks added thanks again to @harrowmykel

1.11

  • New hooks added thanks to @harrowmykel
  • Nonces added in frontend forms thanks again to @harrowmykel

1.10.5

  • Fixed captcha not displaying when register template was overriden thanks to @harrowmykel

1.10.4

  • Added nonce in settings form

1.10.3

  • Email optional using attribute of shortcode in [clean-login-edit]

1.10.2

  • Email headers included instead of using a filter

1.10.1

  • Include filter to validate emails with custom rules

1.10

  • If a shortcode is removed, the url where is it saved is updated
  • If a site does not allow register, plugin does not allow use shortcode for register, does not show register link in login form and it shows an error if you try to se
2 Jun 2014Listed on Joobi from WordPress.org.

Follow this listing's changes (Atom feed)