Are you wondering how to create a temporary login for WordPress that will automatically expire after a given time?
Sometimes, you may need to give someone temporary access to your WordPress admin area. For example, you might have a developer working on your website.
In this article, we will show you how to create temporary logins for WordPress without passwords.
When You May Need Temporary Login Accounts for WordPress
Beginners often hire developers to perform small tweaks on their WordPress websites. These developers may ask for admin access to your site to edit or check something.
If you trust the developer, then you can create an administrator account for them and later delete it when they have done their job. Similarly, you can add new users and authors in WordPress and later block the user without deleting their account.
However, sometimes you may forget that you added someone with privileges to make changes to your website. This leaves your WordPress site open to possible security threats and data safety issues.
An alternative is to create a temporary account that is automatically disabled after a given time and doesn’t need a password.
Having said that, let’s see how to easily create a temporary login in WordPress that doesn’t require a password.
If you prefer written instructions, then continue reading.
Adding Temporary Login Accounts in WordPress
Upon activation, you need to visit the Users » Temporary Logins page and click the ‘Create New’ button to add a new temporary login account.
This will show a form where you can enter information for the new temporary login.
First, you need to provide an email address for the user and then their first and last name.
Next, you need to select a user role. You should do this with care.
If you are unsure about which user role to assign, then take a look at our beginner’s guide to WordPress user roles and permissions.
You will also need to choose the expiry duration for this temporary account. This is the period after which the account will automatically expire, such as ‘one week’.
Lastly, you can also select the language for the new user. This language will be used when the user accesses the WordPress dashboard.
Once you click the ‘Submit’ button, you will see a success message and a URL that anyone can use to log in to the temporary account you just added.
Now, you can click the ‘Click to Copy’ button to copy the URL and share it with anyone you want to have access.
The temporary account will automatically expire after the time period you selected.
Managing Temporary Logins
The plugin also makes it easy for you to manage temporary logins. Simply visit Users » Temporary Logins to see the list of temporary logins you have added to your site.
For each account, you will be able to see the user’s name and email address. You will also be able to see the role assigned to them, their last login date, and the time remaining until the account expires.
In the ‘Actions’ column, you can expire a login before its expiry, delete an account, edit the user, and email or copy the temporary login URL.
Once a temporary account is permanently deleted, all the content created by that user, such as posts and pages, will now show the administrator account as the author.
Expert Guides on WordPress Login
Now that you know how to create a temporary login for WordPress with no password, you may wish to see some other guides on WordPress login:
- How to Add Passwordless Login in WordPress with Magic Links
- How to Add One-Click Login With Google in WordPress
- How to Create a Custom WordPress Login Page (Ultimate Guide)
- How to Create a WordPress Login Popup Modal (Step by Step)
- How to Add CAPTCHA in WordPress Login and Registration Form
- How to Add Security Questions to the WordPress Login Screen
- How to Add a Custom Login URL in WordPress (Step by Step)
- Beginner’s Guide: How to Find Your WordPress Login URL
We hope this article helped you learn how to create a temporary login for WordPress with no passwords. You may also want to see our guide on how to monitor user activity in WordPress with security audit logs or our expert picks for social proof plugins for WordPress and WooCommerce.