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

Normally, when working on a web site in your own computer device in a secure environment, the easiest way to exit your website is to type some other URL into your browser window, 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 presents a security risk. Someone could view your browser history, access your account and go back to your WordPress Dashboard.

You can avoid security issues by logging off when you are done working on your site.

The step-by-step tutorial below explains how to log out of WordPress and some additional enhancements you can add to the WordPress logout feature.

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

If you leave your WordPress admin screen open 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 your WP backend area if you’re not working on your computer or website.

Logging Off WordPress

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

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

To terminate your WordPress session, click on ”Log Out” …

You are now logged off your site …

How To End All Other Sessions In WordPress

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

Click “Log Out of All Other Sessions” …

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

WordPress Plugins – Log Out Options

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

Here are some of the functionality you can extend by installing WordPress plugins:

WP Idle Logout – Log Out Idle Users

Do you do any online banking, or buy things online using credit cards or PayPal? Have you noticed how, if you walk away from your computer for a while and return some minutes later, your session has “expired”? 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. 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 …

(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 WP Idle Logout, go to your WP admin dashboard and in the “Add Plugins” screen (Plugins > Add New), type “wp idle logout” in the keyword search field and click on the “Install Now” button …

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 private web browser session …

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

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

Edit the time interval and add your own custom message to suit your needs …

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

(Custom message to idle users)

To download and use the plugin, go here:

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

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

Visit this site to download and use the plugin:

Protected Posts Logout Button Plugin

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

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

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

Visit this site to download and use this plugin:

Login-Logout 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 user is logged in on your site or not …

To download and use the plugin, go here:

As you can see, WordPress not only comes with a default log out function, but through the use of plugins, you can also extend the functionality of this feature for specific needs.


"Learning WordPress has been a huge stumbling block for me. I've been looking for something that covers absolutely everything but doesn't cost an arm and a leg. Thank you so much ... you have just provided me with what I have been looking for! Truly appreciated!" - Tanya

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

Recommended Video Courses For WordPress Users

How To Create Engaging Presentations

Learn how to create beautiful and engaging presentations that will help you sell more products and services online.

More info: How To Create Engaging Presentations

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

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

WordPress SEO

In this WordPress SEO training series you will learn how to optimize your WordPress site and how to craft website pages and blog posts that will help you get better search engine rankings and improve your traffic results.

More info: WordPress SEO

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