Monday, May 9, 2016

How To Log Out Of WordPress – Step-By-Step Tutorial

WP For BeginnersThis 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 having difficulties working out how to log out of the WordPress administration area.

If you are working on your web site or blog in your own device and in a secure environment, the easiest way to leave your website is by typing a new URL into your browser window, or just close your browser 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 into your admin area.

You can protect your account by signing out when you are finished working.

The tutorial below will show you how to log out of WordPress and provides additional information about ways to enhance your 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 and return later, WordPress will recognize the cookie and you will not have to log in again.

ImportantImportant: 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 device can access your WordPress dashboard.

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 may be sending frequent requests to your server, depending on what kind of plugins you have installed, and if you are editing pages on your site (this is mainly due to the WordPress autosave feature).

If you don’t close your web browser and leave your computer for a while, WordPress will continue to send requests to your server. For this reason, it is also recommended that you log out of WordPress when you’re not working on your computer or website.

How To End Your WordPress Session

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

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

To end your WordPress session, click on “Log Out” …

How To Log Out Of WordPress

Your WordPress session is now ended …

How To Log Out Of WordPress

How To Log Off 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 in WordPress, go to the “Howdy, User” section and select “Edit My Profile” …

How To Log Out Of WordPress

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

Logging Out Of WordPress

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

How To Log Off WordPress

WordPress Plugins – Log Out Options

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

Let’s review just some of the log out functions you can extend when signing out of WordPress:

WP Idle Logout Plugin

WP Idle Logout

Have you noticed how all financial sites that offer 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 lets you do the same thing. You can automatically log out all inactive users on your site using 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 …

Logging Off WordPress

(Default WordPress “Session Expired” notice)

This plugin lets you 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 WP admin dashboard and in the “Add Plugins” screen (Plugins > Add New), type “wp idle logout” in the search field …

WP Idle Logout - Log Out Idle Users

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

WP Idle Logout - Log Out Idle Users

The plugin lets you configure the following settings:

  • Idle Time – specify how long (in seconds) that users can be idle before your site will log them out
  • Idle Message – enter a message that will display to idle users when redirected to the login screen, or leave this field blank to display the default message (“You have been logged out due to inactivity”) …

WP Idle Logout - Automatically Log Out Idle Users

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

Browsing Online Privately

Inside your private browser window, log into WordPress and then letting your existing session go idle …

Incognito Mode

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

WP Idle Logout

Edit the time and add your own custom message …

WP Idle Logout - Automatically Log Out Idle Users

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

WP Idle Logout Plugin

(Custom message to logged out users)

Go here to download this plugin: WP Idle Logout – Automatically Log Out Idle Users

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

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 toolbar, making the log out link visible and allowing users to log off WordPress with just “one” click …

How To Log Off WordPress

To download and use this plugin, go here: WP One Click Logout

Protected Posts Logout Button – WordPress Plugin

How To Log Out Of WordPress

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

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

Logging Off WordPress

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

For more information about using the plugin, visit this site: Protected Posts Logout Button 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 into your site or not …

Login-Logout Plugin

Go here to download this plugin: Login-Logout


As you can see, WordPress not only has a default logout function, but with simple plugins, you can even extend the functionality of the logout feature for specific situations.

The post How To Log Out Of WordPress – Step-By-Step Tutorial appeared first on Quick Click Hosting.

No comments:

Post a Comment