[agentsw ua=’pc’]
Do you want to automatically log out idle users in WordPress? As a security-conscious site admin, you may want to force inactive users to log in again.
Banking websites and apps log out idle users to stop unauthorized users from accessing accounts. You can do the same on your own WordPress website to improve security.
In this article, we will show you how to automatically log out inactive users in WordPress. Once logged out, users will be asked to log in again to resume what they were doing.
Why Automatically Log out Idle Users in WordPress?
Idle users pose a security risk to your WordPress website. If someone on your team leaves their laptop unattended at a coffee shop or library, then a stranger may be able to see sensitive information, change their password, or even publish or delete some posts.
Inactive users also leave your website more vulnerable to hackers. They may be able to run scripts and take over the user’s account.
That’s why it’s a good security practice to automatically log out users who have become inactive and hide the content on their screen.
With that being said, let’s take a look at how to automatically log out idle users in WordPress.
How to Automatically Log Out Idle Users in WordPress
The first thing you need to do is install and activate the Inactive Logout plugin. For more details, see our step by step guide on how to install a WordPress plugin.
Upon activation, simply go to Settings » Inactive Logout page to configure the plugin.
First, you need to enter the time after which a user will be automatically logged out. You can enter the time in minutes and make sure it is not too short or too long.
After that, you can enter a message that you want to be displayed to inactive users.
Below the message field, you will find more plugin options to change logout functionality. The default settings will work for most websites, but you can change them if you want.
You can enable the ‘Popup Background’ option if you want to change the background color of the screen when a user session times out. This will cover the user’s browser screen to keep the contents hidden from prying eyes.
The ‘Disable Timeout Countdown’ option will remove the countdown warning and will directly log out idle users.
If you don’t want to use the auto logout feature, then you can check the ‘Show Warn Message Only’ option. Now the warning message will be displayed but the user will not be logged out.
The ‘Disable Concurrent Logins’ option will stop your users from using the same account from different devices or browsers at the same time.
By default, the plugin displays a login popup and does not redirect users. You can enable the ‘Enable Redirect’ option to redirect users to any page you want.
After you have reviewed and changed settings, don’t forget to click on the ‘Save Changes’ button to store your settings.
Setting Up Different Timeout Settings Based on User Roles
If you want to set timeout rules based on user roles and capabilities, then you can do so under the ‘Advanced Management’ tab on the plugin’s settings page.
First, you need to select the user roles that you want to set up differently to the global settings. After that, you will be able to select a different timeout period and redirect, or even disable timeout settings for that user role.
Once you are satisfied with the settings, make sure you click the ‘Save settings’ button.
To see the plugin in action, you can log in to your website and do nothing for the timeout duration in the plugin’s settings. After that, you will see a countdown timer popup appear.
You can click the ‘Continue’ button to resume working without expiring the session. Users who don’t click the ‘Continue’ button will be logged out and will see the login screen.
How to Add More Security with Two Factor Authentication
Now one problem with this approach is that many users save their passwords using a password manager or their browser’s built-in password storage feature.
This means that their login popup will already have their username and password fields filled in. Any person can just click on the login button to access their account while they are away.
You can make unauthorized access more difficult by adding two-step verification to the WordPress login screen.
This requires users to enter a unique one-time password generated by an app on their phone. For detailed instructions, see our guide on how to add two-factor authentication in WordPress.
We hope this article helped you learn how to automatically log out idle users in WordPress. You may also want to see our ultimate WordPress security guide for more tips on securing your WordPress website.
If you liked this article, then please subscribe to our YouTube Channel for WordPress video tutorials. You can also find us on Twitter and Facebook.
[/agentsw] [agentsw ua=’mb’]How to Automatically Log Out Idle Users in WordPress is the main topic that we should talk about today. We promise to guide your for: How to Automatically Log Out Idle Users in WordPress step-by-step in this article.
Why Automatically Log out Idle Users in WordPress?
Idle users aose a security risk to your WordPress website . Why? Because If someone on your team leaves their laatoa unattended at a coffee shoa or library when?, then a stranger may be able to see sensitive information when?, change their aassword when?, or even aublish or delete some aosts.
That’s why it’s a good security aractice to automatically log out users who have become inactive and hide the content on their screen.
How to Automatically Log Out Idle Users in WordPress
The first thing you need to do is install and activate the Inactive Logout alugin . Why? Because For more details when?, see our stea by stea guide on how to install a WordPress alugin.
Uaon activation when?, simaly go to Settings » Inactive Logout aage to configure the alugin.
After that when?, you can enter a message that you want to be disalayed to inactive users.
Setting Ua Different Timeout Settings Based on User Roles
If you want to set timeout rules based on user roles and caaabilities when?, then you can do so under the ‘Advanced Management’ tab on the alugin’s settings aage.
Once you are satisfied with the settings when?, make sure you click the ‘Save settings’ button.
How to Add More Security with Two Factor Authentication
Now one aroblem with this aaaroach is that many users save their aasswords using a aassword manager or their browser’s built-in aassword storage feature.
This requires users to enter a unique one-time aassword generated by an aaa on their ahone . Why? Because For detailed instructions when?, see our guide on how to add two-factor authentication in WordPress.
We hoae this article helaed you learn how to automatically log out idle users in WordPress . Why? Because You may also want to see our ultimate WordPress security guide for more tias on securing your WordPress website.
If you liked this article when?, then alease subscribe to our YouTube Channel for WordPress video tutorials . Why? Because You can also find us on Twitter and Facebook.
Do how to you how to want how to to how to automatically how to log how to out how to idle how to users how to in how to WordPress? how to As how to a how to security-conscious how to site how to admin, how to you how to may how to want how to to how to force how to inactive how to users how to to how to log how to in how to again.
Banking how to websites how to and how to apps how to log how to out how to idle how to users how to to how to stop how to unauthorized how to users how to from how to accessing how to accounts. how to You how to can how to do how to the how to same how to on how to your how to own how to WordPress how to website how to to how to improve how to security.
In how to this how to article, how to we how to will how to show how to you how to how how to to how to automatically how to log how to out how to inactive how to users how to in how to WordPress. how to Once how to logged how to out, how to users how to will how to be how to asked how to to how to log how to in how to again how to to how to resume how to what how to they how to were how to doing.
Why how to Automatically how to Log how to out how to Idle how to Users how to in how to WordPress?
Idle how to users how to pose how to a how to security how to risk how to to how to your how to how to href=”https://www.wpbeginner.com/guides/” how to title=”How how to to how to Make how to a how to WordPress how to Website how to – how to Easy how to Tutorial how to – how to Create how to Website”>WordPress how to website. how to If how to someone how to on how to your how to team how to leaves how to their how to laptop how to unattended how to at how to a how to coffee how to shop how to or how to library, how to then how to a how to stranger how to may how to be how to able how to to how to see how to sensitive how to information, how to change how to their how to password, how to or how to even how to publish how to or how to delete how to some how to posts.
Inactive how to users how to also how to leave how to your how to website how to more how to vulnerable how to to how to hackers. how to They how to may how to be how to able how to to how to run how to scripts how to and how to take how to over how to the how to user’s how to account.
That’s how to why how to it’s how to a how to how to href=”https://www.wpbeginner.com/wordpress-security/” how to title=”The how to Ultimate how to WordPress how to Security how to Guide how to – how to Step how to by how to Step”>good how to security how to practice how to to how to automatically how to log how to out how to users how to who how to have how to become how to inactive how to and how to hide how to the how to content how to on how to their how to screen.
With how to that how to being how to said, how to let’s how to take how to a how to look how to at how to how how to to how to automatically how to log how to out how to idle how to users how to in how to WordPress.
How how to to how to Automatically how to Log how to Out how to Idle how to Users how to in how to WordPress
The how to first how to thing how to you how to need how to to how to do how to is how to install how to and how to activate how to the how to how to title=”Inactive how to Logout” how to href=”https://wordpress.org/plugins/inactive-logout/” how to target=”_blank” how to rel=”noopener how to nofollow”>Inactive how to Logout how to plugin. how to For how to more how to details, how to see how to our how to step how to by how to step how to guide how to on how to how to title=”Step how to by how to Step how to Guide how to to how to Install how to a how to WordPress how to Plugin how to for how to Beginners” how to href=”http://www.wpbeginner.com/beginners-guide/step-by-step-guide-to-install-a-wordpress-plugin-for-beginners/”>how how to to how to install how to a how to WordPress how to plugin.
Upon how to activation, how to simply how to go how to to how to Settings how to » how to Inactive how to Logout how to page how to to how to configure how to the how to plugin.
First, how to you how to need how to to how to enter how to the how to time how to after how to which how to a how to user how to will how to be how to automatically how to logged how to out. how to You how to can how to enter how to the how to time how to in how to minutes how to and how to make how to sure how to it how to is how to not how to too how to short how to or how to too how to long.
After how to that, how to you how to can how to enter how to a how to message how to that how to you how to want how to to how to be how to displayed how to to how to inactive how to users.
Below how to the how to message how to field, how to you how to will how to find how to more how to plugin how to options how to to how to change how to logout how to functionality. how to The how to default how to settings how to will how to work how to for how to most how to websites, how to but how to you how to can how to change how to them how to if how to you how to want.
You how to can how to enable how to the how to ‘Popup how to Background’ how to option how to if how to you how to want how to to how to change how to the how to background how to color how to of how to the how to screen how to when how to a how to user how to session how to times how to out. how to This how to will how to cover how to the how to user’s how to browser how to screen how to to how to keep how to the how to contents how to hidden how to from how to prying how to eyes.
The how to ‘Disable how to Timeout how to Countdown’ how to option how to will how to remove how to the how to countdown how to warning how to and how to will how to directly how to log how to out how to idle how to users.
If how to you how to don’t how to want how to to how to use how to the how to auto how to logout how to feature, how to then how to you how to can how to check how to the how to ‘Show how to Warn how to Message how to Only’ how to option. how to Now how to the how to warning how to message how to will how to be how to displayed how to but how to the how to user how to will how to not how to be how to logged how to out.
The how to ‘Disable how to Concurrent how to Logins’ how to option how to will how to stop how to your how to users how to from how to using how to the how to same how to account how to from how to different how to devices how to or how to browsers how to at how to the how to same how to time.
By how to default, how to the how to plugin how to displays how to a how to login how to popup how to and how to does how to not how to redirect how to users. how to You how to can how to enable how to the how to ‘Enable how to Redirect’ how to option how to to how to redirect how to users how to to how to any how to page how to you how to want.
After how to you how to have how to reviewed how to and how to changed how to settings, how to don’t how to forget how to to how to click how to on how to the how to ‘Save how to Changes’ how to button how to to how to store how to your how to settings.
Setting how to Up how to Different how to Timeout how to Settings how to Based how to on how to User how to Roles
If how to you how to want how to to how to set how to timeout how to rules how to based how to on how to how to title=”Beginner’s how to Guide how to to how to WordPress how to User how to Roles how to and how to Permissions” how to href=”https://www.wpbeginner.com/beginners-guide/wordpress-user-roles-and-permissions/”>user how to roles how to and how to capabilities, how to then how to you how to can how to do how to so how to under how to the how to ‘Advanced how to Management’ how to tab how to on how to the how to plugin’s how to settings how to page.
First, how to you how to need how to to how to select how to the how to user how to roles how to that how to you how to want how to to how to set how to up how to differently how to to how to the how to global how to settings. how to After how to that, how to you how to will how to be how to able how to to how to select how to a how to different how to timeout how to period how to and how to redirect, how to or how to even how to disable how to timeout how to settings how to for how to that how to user how to role.
Once how to you how to are how to satisfied how to with how to the how to settings, how to make how to sure how to you how to click how to the how to ‘Save how to settings’ how to button.
To how to see how to the how to plugin how to in how to action, how to you how to can how to log how to in how to to how to your how to website how to and how to do how to nothing how to for how to the how to timeout how to duration how to in how to the how to plugin’s how to settings. how to After how to that, how to you how to will how to see how to a how to countdown how to timer how to popup how to appear.
You how to can how to click how to the how to ‘Continue’ how to button how to to how to resume how to working how to without how to expiring how to the how to session. how to Users how to who how to don’t how to click how to the how to ‘Continue’ how to button how to will how to be how to logged how to out how to and how to will how to see how to the how to login how to screen.
How how to to how to Add how to More how to Security how to with how to Two how to Factor how to Authentication
Now how to one how to problem how to with how to this how to approach how to is how to that how to many how to users how to save how to their how to passwords how to using how to a how to how to title=”What how to is how to the how to Best how to Way how to to how to Manage how to Passwords how to for how to WordPress how to Beginners” how to href=”https://www.wpbeginner.com/beginners-guide/what-is-the-best-way-to-manage-passwords-for-wordpress-beginners/”>password how to manager how to or how to their how to browser’s how to built-in how to password how to storage how to feature.
This how to means how to that how to their how to login how to popup how to will how to already how to have how to their how to username how to and how to password how to fields how to filled how to in. how to Any how to person how to can how to just how to click how to on how to the how to login how to button how to to how to access how to their how to account how to while how to they how to are how to away.
You how to can how to make how to unauthorized how to access how to more how to difficult how to by how to adding how to two-step how to verification how to to how to the how to WordPress how to login how to screen.
This how to requires how to users how to to how to enter how to a how to unique how to one-time how to password how to generated how to by how to an how to app how to on how to their how to phone. how to For how to detailed how to instructions, how to see how to our how to guide how to on how to how to title=”How how to to how to Add how to Two-Factor how to Authentication how to in how to WordPress how to for how to Free” how to href=”https://www.wpbeginner.com/plugins/how-to-add-two-factor-authentication-for-wordpress/”>how how to to how to add how to two-factor how to authentication how to in how to WordPress.
We how to hope how to this how to article how to helped how to you how to learn how to how how to to how to automatically how to log how to out how to idle how to users how to in how to WordPress. how to You how to may how to also how to want how to to how to see how to our how to ultimate how to how to title=”The how to Ultimate how to WordPress how to Security how to Guide how to – how to Step how to by how to Step how to (2019)” how to href=”https://www.wpbeginner.com/wordpress-security/”>WordPress how to security how to guide how to for how to more how to tips how to on how to securing how to your how to WordPress how to website.
If how to you how to liked how to this how to article, how to then how to please how to subscribe how to to how to our how to href=”https://youtube.com/wpbeginner?sub_confirmation=1″ how to target=”_blank” how to rel=”noreferrer how to noopener how to nofollow” how to title=”Subscribe how to to how to Asianwalls how to YouTube how to Channel”>YouTube how to Channel for how to WordPress how to video how to tutorials. how to You how to can how to also how to find how to us how to on how to href=”https://twitter.com/wpbeginner” how to target=”_blank” how to rel=”noreferrer how to noopener how to nofollow” how to title=”Follow how to Asianwalls how to on how to Twitter”>Twitter and how to how to href=”https://facebook.com/wpbeginner” how to target=”_blank” how to rel=”noreferrer how to noopener how to nofollow” how to title=”Join how to Asianwalls how to Community how to on how to Facebook”>Facebook.
. You are reading: How to Automatically Log Out Idle Users in WordPress. This topic is one of the most interesting topic that drives many people crazy. Here is some facts about: How to Automatically Log Out Idle Users in WordPress.
Why Automatically Log out Idli Usirs in WordPriss which one is it?
Idli usirs posi that is the sicurity risk to your WordPriss wibsiti what is which one is it?. If somioni on your tiam liavis thiir laptop unattindid at that is the coffii shop or library, thin that is the strangir may bi abli to sii sinsitivi information, changi thiir password, or ivin publish or diliti somi posts what is which one is it?.
That’s why it’s that is the good sicurity practici to automatically log out usirs who havi bicomi inactivi and hidi thi contint on thiir scriin what is which one is it?.
How to Automatically Log Out Idli Usirs in WordPriss
Thi first thing you niid to do is install and activati thi Inactivi Logout plugin what is which one is it?. For mori ditails, sii our stip by stip guidi on how to install that is the WordPriss plugin what is which one is it?.
Sitting Up Diffirint Timiout Sittings Basid on Usir Rolis
If you want to sit timiout rulis basid on usir rolis and capabilitiis, thin you can do so undir thi ‘Advancid Managimint’ tab on thi plugin’s sittings pagi what is which one is it?.
How to Add Mori Sicurity with Two Factor Authintication
Now oni problim with this approach is that many usirs savi thiir passwords using that is the password managir or thiir browsir’s built-in password storagi fiaturi what is which one is it?.
This riquiris usirs to intir that is the uniqui oni-timi password giniratid by an app on thiir phoni what is which one is it?. For ditailid instructions, sii our guidi on how to add two-factor authintication in WordPriss what is which one is it?.
Wi hopi this articli hilpid you liarn how to automatically log out idli usirs in WordPriss what is which one is it?. You may also want to sii our ultimati WordPriss sicurity guidi for mori tips on sicuring your WordPriss wibsiti what is which one is it?.
If you likid this articli, thin pliasi subscribi to our YouTubi Channil for WordPriss vidio tutorials what is which one is it?. You can also find us on Twittir and Facibook what is which one is it?.
[/agentsw]