WordPress For Beginners: How To Log Off WordPress

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

If you’re brand 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.

Normally, if working on a WordPress website or blog in your own device in a secure environment, the easiest way to leave your website is to type some other URL into your browser, or by closing the web browser without logging out.

If you’re working on a shared or public computer, or in an unsecured space, however, this can present a security risk. Someone may be able to access your account just by viewing your browser history and get into your Dashboard.

You can protect your account by logging out when you are done working on your site.

The tutorial below will show you how to log out of WordPress and some additional enhancements you can add to your WordPress logout feature.

important

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 and come back again later, WordPress will recognize the cookie and you will not be asked to log in again.

ImportantImportant: 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 dashboard, your web browser could be sending multiple requests to your server, depending on what kind of plugins you have installed, and if you are in the process of editing WP pages on your site (this is largely due to the WordPress autosave feature).

These frequent server requests can add up to a large amount of resource usage if you leave your computer unattended over the course of the day, especially if your site is hosted on a shared server. For this reason, it is also recommended that you log out of WordPress if you’re not actively working on your computer or website.

How To Log Out Of WordPress

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

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

To log out of WordPress, click on the “Log Out” link in this section …

Logging Out Of WordPress

You will be logged off your site …

How To Log Off WordPress

How To Terminate All Other Sessions In WordPress

As an added security measure, WordPress lets you log out of all current sessions except your existing browser session. 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, go to the “Howdy, User” section and choose the “Edit My Profile” link …

How To Log Out Of WordPress

Click “Log Out of All Other Sessions” …

Logging Out Of WordPress

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

How To Log Off WordPress

WordPress Log Out Plugins

In addition to the built-in log out functions shown above, you can enhance the WordPress log out capabilities with plugins.

Here are some of the log out functionality you can enhance when signing out of WordPress:

WP Idle Logout

WP Idle Logout Plugin - Automatically Log Out Idle Users

Have you noticed how all financial sites offering online banking, credit card payments or financial services log out users after a certain period of inactivity? This is because inactive users pose a security threat to online accounts. Someone could hijack the session and access your financial details.

WordPress gives you a similar functionality. You can automatically log out all inactive users on your site by installing the WP Idle Logout plugin.

Information

This is not the same as the default WordPress expired session notice that users will sometimes get when working on their site …

How To Log Off WordPress

(Default WordPress expired session notice)

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

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

WP Idle Logout Plugin

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

WP Idle Logout

The plugin lets you configure the following:

  • Idle Time – specify how long (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 when redirected to the login screen, or leave this field blank to use the plugin’s default message (“You have been logged out due to inactivity”) …

WP Idle Logout Plugin - Log Out Idle Users

You can test the plugin by opening up a private web browser session …

Browsing The Net Privately

Inside your private window, log into WordPress and then letting your current session go idle for the time interval you have specified in the settings …

Private Browsing

You will automatically be logged out after the specified period of inactivity has occurred …

WP Idle Logout

Edit the time and add your own custom message …

WP Idle Logout

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

WP Idle Logout Plugin - Automatically Log Out Idle Users

(Custom message to idle users)

To learn more about using the plugin, go here: WP Idle Logout Plugin

WP One Click Logout – One-Click Logout Plugin For WordPress

How To Log Off WordPress

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

Logging Out Of WordPress

Visit this site for more information about this plugin: WP One Click Logout

Protected Posts Logout Button

How To Log Out Of WordPress

Protected Posts Logout Button automatically adds a logout button to your password-protected posts.

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

Logging Out Of WordPress

Use this plugin if you want to share private content with privileged individuals and the default WordPress settings for session cookies to expire is too long for your liking.

To download and use the plugin, go here: Protected Posts Logout Button Plugin

Login-Logout

Login-Logout WordPress Plugin

Protected Posts Logout Button replaces the default WordPress meta widget with a custom widget that displays either a “login” or “logout” link and additional information depending on whether the user is logged in on your site or not …

Login-Logout

To download this plugin, go here: Login-Logout

***

As you can see, WordPress not only comes with a native log out function, but with simple plugins, you can even enhance the functionality of the logout feature to suit your specific needs.

***

[INSERT YOUR CALL TO ACTION / SPECIAL OFFER / PROMOTION / OWN CONTENT / RESOURCE BOX HERE]

***

Need help with WordPress? Please post a comment below and share this article with your friends.

Disclaimer: We are not associated with WordPress or any of the WP-related 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 details on this page have been sourced from the plugin’s own website and sites that provide Premium WordPress Services

You May Also Like

About the Author: admin