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 your WordPress site.

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.

Normally, if working on a site or blog in a secure environment and your own computer, the easiest way to exit your site is to enter a new 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 leave your account exposed. Someone could access your account just by viewing the 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 things you can do with the 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 and return 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 a WordPress cookie has been set in your web browser, anyone using your computer can access the administration 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 the WordPress admin screen, 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 posts on your site (this is largely due to the WordPress autosave feature).

If you don’t close down your web browser and leave your computer for a while, WordPress will go on sending requests to your server. This is another reason why it is also recommended that you log out of WordPress if you’re no longer working on your website or blog.

How To Terminate Your WordPress Session

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

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

To log off WordPress, click on ”Log Out” …

You will be logged off the site …

How To Terminate All Other Sessions In WordPress

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

Click “Log Out of All Other Sessions” …

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

WordPress Plugins – Log Out Options

In addition to the native logout functions shown above, you can extend WordPress log out capabilities using plugins.

Here are just some of the logout functions you can enhance using WordPress plugins:

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 financial details.

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 allows you 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 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 …

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 settings:

You can test your settings by opening up a anonymous browser session …

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

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

You can edit the options and add a custom message …

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

(Custom message displayed to idle users)

Go here to download and use the plugin:

WP One Click Logout – WordPress Plugin

This plugin helps to avoid confusion and saves users having to log out of WordPress in 2 clicks, by installing a “Log Out” link right on the admin toolbar, making the logout link visible and allowing users to logout of WordPress with just “1” click …

Go here to download and use this plugin:

Protected Posts Logout Button

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

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

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

Go here to download and use the plugin:

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 your users are logged in on your site or not …

To download and use the plugin, go here:

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


"This is AMAZING! I had learnt about how to use WordPress previously, but this covers absolutely everything and more!! Incredible value! Thank you!" - Monique, Warrior Forum


Recommended Video Courses For WordPress Users

Build A WordPress Site ... Fast!

Need a new website or blog in a hurry?

This video course shows you how to quickly install and configure a WordPress website or blog on your own domain name and be up and running in no time!

More info: Build A WordPress Site ... Fast!

Recommended Video Courses For WordPress Users

Google Tools

This video course will help you learn the basics of using Google Tools like Google Analytics and Gmail.

More info: Google Tools

Recommended Video Courses For WordPress Users

Why Your Business Needs WordPress

Learn about the unique features, benefits, and advantages of using WordPress to start or grow your business online.

More info: Why Your Business Needs WordPress

Recommended Video Courses For WordPress Users

Keyword Research Tools

This video course shows you how to do keyword research using tools like the Google Keyword Planner.

More info: Keyword Research Tools

Recommended Video Courses For WordPress Users

WordPress 101: How To Use WordPress

Learn how to unlock the power of the WordPress content management system (CMS) using the many powerful features inside your WordPress administration area.

More info: WordPress 101: How To Use WordPress

Recommended Video Courses For WordPress Users

WordPress Traffic & User Engagement

Learn how to drive more targeted traffic to your website and discover ways to improve user engagement with your business online.

More info: WordPress Traffic & User Engagement