WordPress For Non-Techies: Free WordPress Tutorials – WPCompendium.org

How To Log Out Of WordPress

This 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 experiencing difficulties working out how to log out of the WordPress administration area.

When working on your web site in a secure environment and in your own computer, the easiest way to leave your website is by entering another URL into your browser window, or simply close your web browser altogether without logging out.

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

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

The simple tutorial below shows you how to log out of WordPress and provides additional information about enhancements you can add to your WordPress logout function.

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.

Important: The cookie cannot tell WordPress who is actually logged into your site. If a WordPress cookie has been set in your web browser, anyone using your computer can access the admin pages of your site.

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 your WordPress dashboard, your browser may be sending frequent 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 posts on your site (this is mainly 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 on a shared server. For this reason, it is also recommended that you log out of WordPress when you’re no longer actively working on your computer or website.

How To Log Out Of WordPress

On the far right in your admin area 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, with links pointing to your “Profile Screen” and a “Log Out” link.

To end your WordPress session, click on the “Log Out” link in this section …

Your WordPress session is now ended …

How To End All Other User Sessions In WordPress

As an added security prevention measure, WordPress lets you log out of all current sessions except your current browser. This is useful if, for example, you have left your account logged in at a public computer, or if you’ve lost or misplaced your phone.

To log out of all sessions in WordPress, go to the “Howdy, User” section and click on the “Edit My Profile” link …

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

You will be logged out of everywhere else, except for your current browser session …

WordPress Log Out Plugins

In addition to the native logout functions shown above, you can expand the WordPress log out functionality with plugins.

Let’s take a look at just some of the logout functionality you can enhance when signing out of WordPress:

WP Idle Logout Plugin

Have you noticed how most 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 account.

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

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

(Default WordPress expired session notice)

The WP Idle Logout plugin lets your site administrator 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 WP Idle Logout plugin, go to your WordPress admin dashboard and in the “Add Plugins” screen (Plugins > Add New), type “wp idle logout” in the keyword search field …

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

The plugin lets you configure the following options:

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

From your incognito browser window, log into WordPress and then letting your existing session go idle for the number of seconds you’ve specified in the settings …

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

You can edit the time and add a custom message …

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

(Custom message displayed to inactive users)

Go here to download and use this plugin:

WP One Click Logout – WordPress Plugin

This plugin helps to avoid confusion and saves you having to log out of WordPress in 2 clicks, 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 “1” click …

Visit this site to download and use this plugin:

Protected Posts Logout Button – WordPress Plugin

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

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

This is a great plugin if you need to share private information with clients and the default WordPress cookie expiration setting is too long for your liking.

Go here to download the plugin:

Login-Logout

This plugin replaces the default WordPress meta widget with a custom widget that displays either a “login” or “logout” link and additional information depending on whether users are logged into your site or not …

Go here to download and use this plugin:

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

***

"If you're new to WordPress, this can stand on its own as a training course and will stay with you as you progress from beginner to advanced and even guru status." - Bruce (Columbus, Ohio)