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

When working on a WordPress site or blog in a secure environment and your own computer, the easiest way to exit your website is by entering a new URL into your browser, or simply close the browser altogether 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 may be able to view your browser history, access your account and go back to your Dashboard.

You can avoid security issues by logging out when you are done working.

The step-by-step tutorial below shows you how to log out of WordPress and some additional ways to enhance your WordPress logout feature.

Note: When you log 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 come back again later, WordPress will recognize the cookie and not ask you 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 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 your WordPress admin screen, your web browser could 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 pages on your site (this is mainly due to the WordPress autosave feature).

If you simply leave open the WordPress dashboard and walk away from your computer, WordPress will go on sending 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.

How To Terminate Your WordPress Session

At the far right-hand side in your administration area is the “Howdy, User” section with an image of your Gravatar.

Hover over this panel with your mouse and it expands to display 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 your site …

How To Log Out Of All Sessions In WordPress

As an additional security measure, WordPress lets you log out everywhere except the one in 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, go to the “Howdy, User” section and choose the “Edit My Profile” link …

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

You will be logged out of all other sessions, except for your present browser session …

WordPress Plugins – Log Out Options

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

Here are some of the functions you can extend by installing 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 the user’s financial details.

WordPress gives you a similar functionality. 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)

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

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

The plugin lets you set the following:

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

From your incognito window, log into WordPress and then letting your existing session go inactive …

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

You can edit the time interval and add a custom message to suit your needs …

Logged out users will be redirected to your login page and your custom message will display to idle 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 users having to log out of WordPress in two clicks, by installing a “Log Out” link right on the toolbar, making the log out link visible and allowing users to logout of WordPress with just “one” click …

To download the plugin, visit this site:

Protected Posts Logout Button Plugin

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

Use this plugin if you want to have a password-protected page to share information with privileged individuals and the default WordPress cookie expiration setting is too long for your purposes.

To download and use the plugin, visit this site:

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 the 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 log out function, but using plugins, you can also enhance the functionality of the log out feature to suit your needs.


"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

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

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

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

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

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

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