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

How To Log Out Of WordPress

This quick tutorial shows you how to log out of WordPress.

If you’re new to using 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 a WordPress site in a secure environment and your own computer, the easiest way to exit your site is to type another URL into your browser window, or by closing the browser altogether 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 by viewing the browser history and get inside your WordPress Dashboard.

You can avoid security issues by signing off when you are done working.

The step-by-step tutorial below shows you how to log out of WordPress and provides additional information about ways to extend the WordPress logout function.

Note: When you sign into your WordPress site, WordPress stores a “cookie” 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 be asked to log in again.

Important: 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 computer can access the administration screens 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 admin screen, 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 WordPress posts on your site (this is mainly due to the WordPress autosave feature).

These server requests can add up to a large amount of resource usage if you leave your computer unattended throughout the day, especially if your site is hosted on a shared server. This is another reason why it is also recommended that you log out of your WordPress admin whenever you’re no longer actively working on your computer or website.

How To Log Off WordPress

On the far right-hand side at the top of your screen is the “Howdy, User” section with an image of your Gravatar.

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

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

This will log you out of the site …

How To Terminate All Other User Sessions In WordPress

As an additional security measure, WordPress lets you log out of all current sessions except the one in your present 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 out of all sessions in WordPress, go to the “Howdy, User” section and click on the “Edit My Profile” link …

Click “Log Out of All Other Sessions” …

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

WordPress Plugins – Log Out Options

In addition to the built-in logout functions shown above, you can expand your site’s log out capabilities with plugins.

Here are just some of the logout functionality you can extend with WordPress plugins:

WP Idle Logout Plugin – Automatically Log Out Idle Users

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 some minutes later, a notice will tell you that 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 financial details.

WordPress lets you do the same thing. You can automatically log out all inactive users 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 ”Session Expired” notice)

This 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 WP 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 …

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

The plugin lets you set the following options:

You can test your settings by opening up a browser session in incognito mode …

Inside your incognito window, log into WordPress and then letting your session go idle for the number of seconds you have specified in the settings …

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

You can edit the options and add your own custom message instead of the default …

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

(Custom message to inactive users)

To download this plugin, visit this site:

WP One Click Logout – WordPress Plugin

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

Visit this site to download and use the plugin:

Protected Posts Logout Button

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 message informing users they have logged out …

Use this plugin if you need to share private information with privileged individuals and the default WordPress cookie expiration setting is too long for your liking.

To download and use this plugin, go here:

Login-Logout

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 your user is logged into your site or not …

Visit this site to download the plugin:

As you can see, WordPress not only comes with a native logout function, but with simple, free plugins, you can also extend the functionality of the log out feature for your business.

***

"I was absolutely amazed at the scope and breadth of these tutorials! The most in-depth training I have ever received on any subject!" - Myke O'Neill, DailyGreenPost.com