Temporary Logins
- What is the Temporary Logins feature?
- When You May Need Temporary Login Accounts for WordPress
- Temporary Login Settings
- Create a New Temporary Login
- Managing Temporary Logins
- Edit Temporary Login User
- Lock/Unlock Temporary Login User
- Delete Temporary Login User
- Copy the Temporary Login URL
- Troubleshooting
- The temporary login URL is redirecting me to the home page
What is the Temporary Logins feature?
The Temporary Logins feature helps you create a temporary login URL with any user role which grants access to the website dashboard without requiring a username and password.
This feature will come in handy whenever you may need to create temporary accounts to give access to the admin area of your site for a limited amount of time.
Keep reading to learn more about this feature and how to use it to increase security for your site.
When You May Need Temporary Login Accounts for WordPress
Many website owners often hire developers to make small adjustments or changes on their websites. To implement said tweaks, make edits or check certain things on websites, these developers may need access to the admin area.
If the developer you hired for the job is someone you trust, you can always create an administrator account for them.
Then, when they finish their work on your website, you can delete the account you’ve created for them.
Another option is to add new users and authors in WordPress and later block the user (this does NOT require deleting their account).
The problem with both these options is that sometimes you may forget that you’ve given someone privileges that allow them to make changes on your site.
This puts your website at risk. With the Temporary Logins feature, you’ll no longer have to worry about possible security threats and data safety issues.
That’s because this feature allows you to create temporary accounts that require no password to login and are automatically disabled after a given time.
In other words, you won’t have to worry about having to remember to remove someone’s access yourself.
Having said that, let’s see how you can easily create temporary logins in WordPress that require no passwords.
Temporary Login Settings
To activate the Temporary Logins feature for your site, simply activate Hide My WP > Overview > Features > Use Temporary Logins.
Click on Start Feature Setup to access the Temporary Login Settings page.
Now, customize your Temporary Login Settings:
Default User Role: this option lets you select a default user role for the user. Use the drop-down list to select your desired user role.
Default Redirect After Login: this option allows you to set a default custom page where you want the user to be redirected to after they log in. Use the drop-down list to select where the user should be redirect to after login.
Default Temporary Expire Time: this option allows you to define a default time period after which the temporary account will automatically expire. This period will start after the user’s first access on your site.
IMPORTANT NOTE! The settings you make for every individual temporary login that you create for your site override the default settings you’ve enabled here.
Another option you’ll see in this section is: Delete Temporary Users on Plugin Uninstall.
By activating this setting, Hide My WP Ghost will automatically delete all Temporary Users you’ve created using the Temporary Logins feature IF you uninstall Hide My WP Ghost on your site.
Create a New Temporary Login
Go to Hide My WP Ghost > Temporary Logins and click on Create New Temporary Login. (as shown in the screenshot below)
Once you click on Create New Temporary login, you will be able to configure the following:
Email: provide an email address for the user to which you want to grant temporary login rights (required)
First Name: add the user’s first name
Last Name: add the user’s last name
User Role: select a user role for the user
Redirect after login: this option allows you to redirect the user to a custom page after they log in. Use the drop-down list to select where the user should be redirect to after login.
Expire time: this option allows you to define the time period after which the temporary account will automatically expire. This period will start after the user’s first access on your site.
Language: The last thing you can customize here is the language for the new user. The language you choose is the language the user will see the WordPress dashboard.
Once you are happy with your settings, don’t forget to click on the Create button to save your new temporary login user!
Managing Temporary Logins
Once you’ve created your temporary logins, you will be able to easily manage them from the Temporary Logins section.
This section shows you the complete list of temporary logins you have created for your website.
Plus, for each temporary login user you’ve added to your site, Hide My WP Ghost will show you:
- the user’s name and email address
- the role currently assigned to them
- the date when they last logged in
- expiry duration
For every temporary login user you’ve created for your site, Hide My WP Ghost also enables you to take different actions.
These actions are located under the Options column and include:
- option to Lock/Unlock a temporary login user
- option to Edit a temporary login user
- option to Delete a temporary login user
- option to Copy the temporary login URL
We’ll go through each one of these options one by one next.
Edit Temporary Login User
At any given time, you can edit your existing temporary login users by clicking on the Edit icon shown in the screenshot below.
Make the edits you want and then click on Save User to save your changes.
Lock/Unlock Temporary Login User
The lock option allows you to expire a login before its expiry. The unlock option reverses this setting.
To lock or unlock a temporary login user, simply click on the icon shown in the screenshot below.
Delete Temporary Login User
To permanently delete a temporary login user from your website, all you have to do is click on the X icon shown in the screenshot below.
Copy the Temporary Login URL
To copy the temporary login URL, click on the link icon shown in the screenshot below.
Troubleshooting
The temporary login URL is redirecting me to the home page
The temporary login URL redirecting to the home page might be caused by other security plugins installed on your website. These plugins could delete the session created by the Hide My WP Ghost plugin, disrupting the temporary login process.
To identify and resolve this conflict, I recommend creating a staging website. Start by testing only the theme with the Hide My WP Ghost plugin active on this staging site. Then, activate your other plugins one by one. This method will help you pinpoint which plugin is causing the conflict, allowing you to adjust settings or find an alternative solution.