How To Log Off WordPress

How To Log Off WordPress


WordPress For BeginnersThis short tutorial guides you on how to log out from your WordPress site.

If you’re new to 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 site in your own device in a secure environment, the easiest way to exit your website is to enter a different URL into your browser window. Or just close the web browser without logging out.

If you’re working on a public school or shared computer, or in an unsecured space. However, this can leave your account exposed. Someone may be able to gain access your account just by viewing your browser history and go back to your WordPress Dashboard.

You can avoid leaving your account unprotected by signing off when you are done working on your site.

The quick tutorial below will show you how to log out of WordPress and provides additional information about ways to extend the WordPress log out function.


Note: When you log into your WordPress site, a “cookie” is stored in your web browser. The cookie allows WordPress to remember who you are. If you leave your site for a while and return later, WP will remember the stored cookie and will not require your to login again.

ImportantImportant: The cookie cannot tell WordPress, who is logged into your site. If a WordPress cookie is set in your web browser, anyone using your device can access your WordPress dashboard.

To stop this from happening (especially when using a public or shared work computer) click on the “Log Out” link and WP will delete the cookie from your web browser history. To reset the cookie just log into WordPress again.

Also, while you are logged in the WP admin area, your web browser will be sending infrequent requests to your web server. Depending on what plugins you have installed. If you are editing WP pages or posts on your site (this is due in large part to the WP autosave feature).

These frequent server requests can add up to a considerable amount of server resource usage if you leave your WP signed-in over the course of the day, especially on a shared server. This is another reason we recommended that you log out of WordPress when you’re not actively working on your website.

How To Terminate Your WordPress Session

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 will expand with your username and name, with links pointing to your “Profile Screen” and a “Log Out” link.

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


Logging Out Of WordPress

You are now logged out of your site …

How To Log Out Of WordPress

Logging Out Of All Other Sessions In WordPress

As an extra security measure, WordPress lets you log out everywhere except the one in your existing browser. This is useful if, for example, you have left your account logged in on a shared computer, or if you’ve misplaced or lost your phone.

To log off all sessions in WordPress, go to the “Howdy, User” section and choose the “Edit My Profile” link …


How To Log Out Of WordPress

Click “Log Out of All Other Sessions” .

How To Log Out Of WordPress

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

Logging Off WordPress

WordPress Plugins – Log Out Options

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

Below are just some of the logout functionality you can extend by installing WordPress plugins:

WP Idle Logout Plugin

WP Idle Logout

Have you noticed how all financial sites offering online banking, financial services, and/or credit card payments log out users after a certain period of inactivity? This is because inactive users pose a security threat to online accounts. Hackers 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.


his is not the same as the default WP “Session Expired” notice that users will sometimes get when working on their site.

How To Log Out Of WordPress

(Default WordPress “Session Expired” notice)

This plugin allows you to control how long a user can be inactive on the website before their session automatically expires. The plugin gives you exact control of this event

To install WP Idle Logout, go to your WordPress admin dashboard and in the “Add Plugins” screen (Plugins > Add New). Type “wp idle logout” in the search by keyword field and click on the “Install Now” button.

WP Idle Logout - Log Out Idle Users

Once the plugin has been activated, you can configure plugin options by selecting the Settings > Idle Logout menu.

WP Idle Logout Plugin - Automatically Log Out Idle Users

The plugin lets you configure the following:

  • Idle Time – specify how long (in seconds) that users can be idle before the system will log them out
  • Idle Message – enter a message that will display to idle users, or leave this field blank to display the plugin’s default message …

WP Idle Logout - Log Out Idle Users

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

Surfing The Web Privately

In your private browser window, log into WP and then letting your current session go idle for the period you have specified in your settings.

Incognito Mode

You will be automatically logged out after the specified period of inactivity has passed.

WP Idle Logout - Automatically Log Out Idle Users

Edit the idle time and add your own custom message.

WP Idle Logout

Idle users will be redirected to your login page, and your custom message will appear to inactive users above the login box.

WP Idle Logout - Automatically Log Out Idle Users

(Custom message displayed to logged out users)

To download and use this plugin, go here: WP Idle Logout – Automatically Log Out Idle Users

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

How To Log Out Of WordPress

This plugin helps to avoid confusion and improves the “2-click” logout process. It does this by installing a “Log Out” link right on the toolbar, making the logout link visible and allowing you to log off WordPress with just “one” click.

How To Log Out Of WordPress

Visit this site to learn more about using the plugin: WP One Click Logout

Protected Posts Logout Button

How To Log Out Of WordPress

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

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

Logging Out Of WordPress

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

To download the plugin, visit this site: Protected Posts Logout Button – WordPress Plugin

Login-Logout WordPress Plugin

Login-Logout WordPress Plugin

The Protected Posts Logout Button replaces the default WordPress meta widget with a custom widget. This widget displays either a “login” or “logout” link and additional information depending on if the wp user is logged into your site or not.

Login-Logout WordPress Plugin

Visit this site to download the plugin: Login-Logout


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


As Always Hit me up if you need any help with WordPress!


Comments? Questions? Feel free to post a comment below and share this information with your friends.

Disclaimer: This site is not associated with WordPress or any of the WP products written about on this site. We may derive a financial benefit from sales of products advertised, reviewed or linked to from this site. All details used in this review have been sourced from the plugin’s website and/or from websites that provide

Leave a Comment

This site uses Akismet to reduce spam. Learn how your comment data is processed.