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.
In this article, we will show you how to a create temporary login for WordPress without passwords.
When You May Need Temporary Login Accounts for WordPress
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 website 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 require 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 don’t like the video or need more 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.
Lastly, you can also select the language for the new user. This is the language that 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 easier 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.
Under 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.
We hope this article helped you to create a temporary login for WordPress with no passwords. You may also want to learn how to monitor user activity in WordPress with Security Audit Logs, or check out our list of social proof plugins for WordPress and WooCommerce.