You are currently viewing Logging Out Of WordPress – Step-By-Step Tutorial

Logging Out Of WordPress – Step-By-Step Tutorial

Learn To Use WordPressThis short tutorial shows you how to log out of WordPress.

If you’re new to WordPress, the information below will help you if you or someone you know is having difficulties working out how to log out of the WordPress administration area.

If you are working on your website in a secure environment and in your own computer, the easiest way to leave your site is to type a different URL into your browser window, or just close your browser altogether without logging out.

If you’re working on a shared or public computer, or in an unsecured space, however, this presents a security risk. Someone could view your browser history, access your account and get inside your Dashboard.

You can avoid leaving your account exposed by signing out when you are finished working on your site.

The simple tutorial below explains how to log out of WordPress and provides additional information about ways to enhance the WordPress logout function.

information

Note: When you log into your WordPress site, a “cookie” is stored in your web browser. This cookie allows WordPress to remember who you are. If you leave your site for a while but come back again later, WordPress will recognize the cookie and you will not have to log in again.

WarningImportant: The cookie cannot tell WordPress who is actually logged into your site. If you have a WordPress cookie set in your web browser, anyone using your device can access your admin area.

To prevent this from happening (especially when using a public or shared computer) click on the Log Out link and WordPress will delete the cookie from your web browser. To reset the cookie just log into WordPress again.

Also, while you are logged into the WordPress admin, your browser may be sending multiple requests to your server, depending on what kind of plugins you have installed, and if you are editing WP pages on your site (this is largely due to the WordPress autosave feature).

Frequent server requests can add up to a large amount of resource usage if you leave your computer unattended throughout the day, especially on a shared server. For this reason, it is also recommended that you log out of your WP admin whenever you’re not working on your web site.

Logging Out Of WordPress

At the far right-hand side of the Admin Toolbar is the “Howdy, User” section with an image of your Gravatar.

Hover over this panel with your mouse and it displays your name and username, and links pointing to your “Profile Screen” and a “Log Out” link.

To log out of WordPress, click on “Log Out” …

How To Log Off WordPress

Your WordPress session is now terminated …

How To Log Out Of WordPress

How To End All Other Sessions In WordPress

As an extra security measure, WordPress lets you log out everywhere except the one in your current browser. This is useful if, for example, you’ve left your account logged in at a public computer, or if you’ve lost or misplaced your phone.

To log off all sessions in WordPress, go to the “Howdy, User” section and select “Edit My Profile” …

How To Log Off WordPress

Click on the “Log Out of All Other Sessions” button …

How To Log Out Of WordPress

You will be logged out of all other sessions, except for your current browser session …

Logging Out Of WordPress

WordPress Plugins – Log Out Options

In addition to the native logout functions shown above, you can expand your site’s log out capabilities using plugins.

Let’s take a look at just some of the log out functions you can extend with WordPress plugins:

WP Idle Logout

WP Idle Logout Plugin

Do you do any online banking, or buy things online using credit cards or PayPal? Have you seen how, if you don’t do anything inside the browser for a while and return a few minutes later, your session has “expired”? This is because inactive users pose a security threat to online accounts. Someone could hijack the session and access the user’s account.

With WordPress you can do the same thing. You can automatically log out all inactive users by installing the WP Idle Logout plugin.

Information

This is not the same as the default WordPress “Session Expired” notice that users will sometimes get when working on their site …

How To Log Out Of WordPress

(Default WordPress “Session Expired” notice)

The WP Idle Logout plugin allows the site administrator to specify how long a user can be inactive on the site, before their session is automatically expired, giving you precise control of this event

To install the plugin, go to your WordPress admin dashboard and in the “Add Plugins” screen (Plugins > Add New), enter “wp idle logout” in the search by keyword field and click on the “Install Now” button …

WP Idle Logout Plugin

Once the plugin has been activated, you can configure the plugin’s settings from the Settings > Idle Logout menu …

WP Idle Logout - Automatically Log Out Idle Users

The plugin lets you set the following:

  • Idle Time – specify the time (in seconds) that users can be idle before the system will log them out
  • Idle Message – enter a message that will show to idle users, or leave this field blank to show the plugin’s default message …

WP Idle Logout

You can test the plugin by opening up a browser session in incognito mode …

Going Incognito

From your private browser window, log into WordPress and then letting your existing session go inactive …

Browsing The Net Privately

Users will automatically be logged out after the specified period of inactivity has passed …

WP Idle Logout Plugin - Automatically Log Out Idle Users

Edit the time and add your own custom message instead of the default …

WP Idle Logout Plugin

Logged out users will be redirected to your login page and the custom message will appear to logged out users above the login box …

WP Idle Logout - Automatically Log Out Idle Users

(Custom message to idle users)

To download this plugin, visit this site: WP Idle Logout

WP One Click Logout

Logging Off WordPress

WP One Click Logout helps to avoid confusion and replaces the “two-click” WP logout process by installing a “Log Out” link right on the admin toolbar, making the log out link visible and allowing you to log out of WordPress with just “1” click …

Logging Out Of WordPress

Visit this site to download and use the plugin: WP One Click Logout

Protected Posts Logout Button – WordPress Plugin

How To Log Out Of WordPress

This plugin automatically adds a logout button to your password-protected posts.

This allows users to log out immediately after viewing your private content. You can also add an optional alert message informing users they have logged out …

Logging Off WordPress

Use this plugin if you want to share private content with clients and the default WordPress cookie expiration setting is too long for your purposes.

To download this plugin, visit this site: Protected Posts Logout Button Plugin

Login-Logout

Login-Logout WordPress Plugin

Protected Posts Logout Button adds a widget to your site that displays either a “login” or “logout” link and additional information depending on whether your user is logged into your site or not …

Login-Logout

Visit this site for more information about using this plugin: Login-Logout Plugin

***

Hopefully, you have found this tutorial on how to log out of WordPress useful.

[su_shadow style=”right”][su_panel shadow=”none”]

Have an idea for a website but don’t know where to start?

Check out the WordPress Website Design Packages on offer.

[/su_panel][/su_shadow]

Disclaimer: This site is not associated with WordPress or any of the WordPress products written about on this site. We may derive a financial benefit from sales of products advertised, reviewed or linked to from this site. The product images used in this review have been sourced from the plugin’s own website.

Need help with WordPress? Please comment below and take a moment to share this information with your friends.

This Post Has One Comment

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.