How To Force Logout All Users In WordPress At Once?

How To Force Logout All Users In WordPress At Once? [STEP BY STEP]☑️

In this tutorial, we will demonstrate how to force the log out every user in WordPress. This part of the tutorial focuses on editing the wp-config file, which stores all of the settings for your website. It is an extremely important file, and you should make a backup of your site before beginning.

Before beginning this tutorial let us Watch this short video on “How To Force Logout All Users In WordPress”

Follow the steps to force logout all users in WordPress at once:

Step::1 Let’s start by logging into the cPanel of your WordPress hosting

Step::2 Click on File Manager to access the root directory of your WordPress site.

How To Force Logout All Users In WordPress
How To Force Logout All Users In WordPress

Step::3 Navigate wp-config.php file which is located inside the public_html folder of the root directory of your website.

How To Force Logout All Users In WordPress

How To Force Logout All Users In WordPress

Step::4 Right click on the wp-config.php file and choose the Edit option.

How To Force Logout All Users In WordPress

When you click edit, a dialog box will appear like the one shown below. Click Edit button to edit the configuration file in the Text editor.

How To Force Logout All Users In WordPress

Step::5 In the Text editor, you will find code which is related with the authentication of the user. You can simply press Ctrl+F in your browser and search for the keyword “Auth” and it will take you directly to the code. These lines are also known as authentication keys & salts.

How To Force Logout All Users In WordPress

Step::6 Go to WordPress Secret key api page URL- https://api.wordpress.org/secret-key/1.1/salt/

This page generates new key randomly that can be implemented in the wp-config files.

How To Force Logout All Users In WordPress

Step::7 Copy the newly generated keys and paste them in your wp-config.php file. Save all the changes.

How To Force Logout All Users In WordPress

This will automatically throw all the user out of the system and force them to log in to the system again.

By following the above steps, you can save your website from unauthorized access by logging out everyone in the system.

For more information, kindly follow us on social media like Twitter and Facebook and for video tutorials, subscribe to our YouTube channelhttps://youtube.com/redserverhost.com

Facebook Page https://facebook.com/redserverhost

Twitter Pagehttps://twitter.com/redserverhost.com

Thanks for Reading this article !!! We hope this was helpful to you all.

If you have any suggestions or problems related to this video, please let us know via the comment section below.

Tags: cheap linux hostingbuy linux hostingcheap reseller hostingbuy reseller hostingbest reseller hostingcheap web hostingcheapest web hostingcheapest reseller hosting,  cheap reseller hostcheap linux hostcheapest linux hostingbest linux hostingbest web hosting

Scroll to Top