{"id":20039,"date":"2019-11-27T09:14:35","date_gmt":"2019-11-27T16:14:35","guid":{"rendered":"https:\/\/memberpress.com\/?p=20039"},"modified":"2019-11-27T09:18:52","modified_gmt":"2019-11-27T16:18:52","slug":"how-to-force-logout-all-users-in-your-membership-site","status":"publish","type":"post","link":"https:\/\/memberpress.com\/es\/blog\/how-to-force-logout-all-users-in-your-membership-site\/","title":{"rendered":"C\u00f3mo forzar el cierre de sesi\u00f3n de todos los usuarios en su sitio de membres\u00eda"},"content":{"rendered":"<p>WordPress es ideal para crear sitios web de afiliaci\u00f3n, ya que el software ya cuenta con un buen soporte integrado para gestionar m\u00faltiples usuarios registrados. A continuaci\u00f3n, mediante la instalaci\u00f3n de un <a href=\"https:\/\/memberpress.com\/es\/features\/\">plugin de afiliaci\u00f3n de buena reputaci\u00f3n<\/a>puede mejorar esta funcionalidad para controlar c\u00f3mo acceden esos usuarios a su sitio, qu\u00e9 contenido pueden ver y mucho m\u00e1s.<\/p><div id=\"ez-toc-container\" class=\"ez-toc-v2_0_82_2 ez-toc-wrap-center counter-hierarchy ez-toc-counter ez-toc-custom ez-toc-container-direction\">\n<label for=\"ez-toc-cssicon-toggle-item-6a6c30ff0e75a\" class=\"ez-toc-cssicon-toggle-label\"><p class=\"ez-toc-title\" style=\"cursor:inherit\">QU\u00c9 HAY DENTRO<\/p>\n<span class=\"ez-toc-cssicon\"><span class=\"eztoc-hide\" style=\"display:none;\">Toggle<\/span><span class=\"ez-toc-icon-toggle-span\"><svg style=\"fill: #000000;color:#000000\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\" class=\"list-377408\" width=\"20px\" height=\"20px\" viewbox=\"0 0 24 24\" fill=\"none\"><path d=\"M6 6H4v2h2V6zm14 0H8v2h12V6zM4 11h2v2H4v-2zm16 0H8v2h12v-2zM4 16h2v2H4v-2zm16 0H8v2h12v-2z\" fill=\"currentColor\"><\/path><\/svg><svg style=\"fill: #000000;color:#000000\" class=\"arrow-unsorted-368013\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\" width=\"10px\" height=\"10px\" viewbox=\"0 0 24 24\" version=\"1.2\" baseprofile=\"tiny\"><path d=\"M18.2 9.3l-6.2-6.3-6.2 6.3c-.2.2-.3.4-.3.7s.1.5.3.7c.2.2.4.3.7.3h11c.3 0 .5-.1.7-.3.2-.2.3-.5.3-.7s-.1-.5-.3-.7zM5.8 14.7l6.2 6.3 6.2-6.3c.2-.2.3-.5.3-.7s-.1-.5-.3-.7c-.2-.2-.4-.3-.7-.3h-11c-.3 0-.5.1-.7.3-.2.2-.3.5-.3.7s.1.5.3.7z\"\/><\/svg><\/span><\/span><\/label><input type=\"checkbox\"  id=\"ez-toc-cssicon-toggle-item-6a6c30ff0e75a\"  \/><nav><ul class='ez-toc-list ez-toc-list-level-1' ><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-1\" href=\"https:\/\/memberpress.com\/es\/blog\/how-to-force-logout-all-users-in-your-membership-site\/#Why_Force_Logout_All_Users_in_Your_Membership_Site\" >Por qu\u00e9 forzar el cierre de sesi\u00f3n de todos los usuarios en su sitio de afiliaci\u00f3n<\/a><ul class='ez-toc-list-level-3' ><li class='ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-2\" href=\"https:\/\/memberpress.com\/es\/blog\/how-to-force-logout-all-users-in-your-membership-site\/#Dealing_with_Security_Issues\" >Cuestiones de seguridad<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-3\" href=\"https:\/\/memberpress.com\/es\/blog\/how-to-force-logout-all-users-in-your-membership-site\/#Changing_Registration_Policies\" >Modificaci\u00f3n de las pol\u00edticas de inscripci\u00f3n<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-4\" href=\"https:\/\/memberpress.com\/es\/blog\/how-to-force-logout-all-users-in-your-membership-site\/#Updating_Your_Site_and_Its_Content\" >Actualizar su sitio web y su contenido<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-5\" href=\"https:\/\/memberpress.com\/es\/blog\/how-to-force-logout-all-users-in-your-membership-site\/#Temporarily_Closing_Your_Membership_Site\" >Cierre temporal de su sitio de afiliaci\u00f3n<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-6\" href=\"https:\/\/memberpress.com\/es\/blog\/how-to-force-logout-all-users-in-your-membership-site\/#Removing_Inactive_Members\" >Baja de miembros inactivos<\/a><\/li><\/ul><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-7\" href=\"https:\/\/memberpress.com\/es\/blog\/how-to-force-logout-all-users-in-your-membership-site\/#How_to_Force_Logout_All_Users_of_Your_WordPress_Membership_Site\" >C\u00f3mo forzar el cierre de sesi\u00f3n de todos los usuarios de su sitio de membres\u00eda de WordPress<\/a><ul class='ez-toc-list-level-3' ><li class='ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-8\" href=\"https:\/\/memberpress.com\/es\/blog\/how-to-force-logout-all-users-in-your-membership-site\/#How_to_Force_Logout_Your_WordPress_Users_with_a_Plugin\" >C\u00f3mo forzar el cierre de sesi\u00f3n de los usuarios de WordPress con un plugin<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-9\" href=\"https:\/\/memberpress.com\/es\/blog\/how-to-force-logout-all-users-in-your-membership-site\/#How_to_Force_Logout_All_Users_Without_Using_a_Plugin\" >C\u00f3mo forzar el cierre de sesi\u00f3n de todos los usuarios sin usar un plugin<\/a><\/li><\/ul><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-10\" href=\"https:\/\/memberpress.com\/es\/blog\/how-to-force-logout-all-users-in-your-membership-site\/#Final_Thoughts\" >Reflexiones finales<\/a><\/li><\/ul><\/nav><\/div>\n\n\n\n\n<p>Sin embargo, si llega un momento en que necesita forzar el cierre de sesi\u00f3n de todos los usuarios en su sitio de membres\u00eda, pronto descubrir\u00e1 que esta funcionalidad no est\u00e1 presente en el n\u00facleo del software de WordPress. Por lo tanto, si sospecha que usuarios no autorizados han iniciado sesi\u00f3n en su sitio o necesita restringir el acceso al contenido de sus suscripciones antes de actualizarlo, por defecto no hay mucho que pueda hacer a trav\u00e9s del panel de control de WordPress para forzar a esos usuarios a cerrar la sesi\u00f3n.<\/p>\n\n\n\n<p>Afortunadamente, como vas a ver en esta gu\u00eda, es relativamente f\u00e1cil forzar el cierre de sesi\u00f3n de todos los usuarios en tu sitio de membres\u00eda de WordPress, ya sea instalando un plugin gratuito o tomando un enfoque m\u00e1s pr\u00e1ctico para hacer el trabajo.<\/p>\n\n\n\n<p>Pero antes de llegar a c\u00f3mo puede forzar a todos, o algunos, de sus miembros para cerrar la sesi\u00f3n de su sitio, aqu\u00ed est\u00e1 una mirada r\u00e1pida a por qu\u00e9 es posible que desee hacer esto en primer lugar.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Why_Force_Logout_All_Users_in_Your_Membership_Site\"><\/span>Por qu\u00e9 forzar el cierre de sesi\u00f3n de todos los usuarios en su sitio de afiliaci\u00f3n<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<p>Hay muchas razones por las que podr\u00eda querer forzar a todos los usuarios de su sitio de membres\u00eda a cerrar la sesi\u00f3n. <\/p>\n\n\n\n<h3 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Dealing_with_Security_Issues\"><\/span>Cuestiones de seguridad<span class=\"ez-toc-section-end\"><\/span><\/h3>\n\n\n\n<p>Tal vez uno de los escenarios m\u00e1s comunes es si usted sospecha que su sitio ha sido hackeado o su seguridad se ha visto comprometida de alguna manera. Mediante el uso del plugin WPForce Logout que veremos m\u00e1s adelante en esta gu\u00eda, puedes ver exactamente qui\u00e9n ha iniciado sesi\u00f3n en tu sitio, y luego, si es necesario, forzar individualmente el cierre de sesi\u00f3n de cualquiera de esos usuarios.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Changing_Registration_Policies\"><\/span>Modificaci\u00f3n de las pol\u00edticas de inscripci\u00f3n<span class=\"ez-toc-section-end\"><\/span><\/h3>\n\n\n\n<p>Otra raz\u00f3n por la que podr\u00eda querer forzar a todos sus usuarios a cerrar la sesi\u00f3n es si ha actualizado la seguridad de su sitio de membres\u00eda. Si ahora has empezado a exigir a todos los miembros o usuarios que confirmen su direcci\u00f3n de correo electr\u00f3nico antes de poder iniciar sesi\u00f3n, pero tienes usuarios que ya han iniciado sesi\u00f3n antes de este cambio, ahora puedes forzar el cierre de sesi\u00f3n de esos usuarios, siguiendo los consejos de esta gu\u00eda, y exigirles que confirmen su correo electr\u00f3nico antes de poder iniciar sesi\u00f3n de nuevo.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Updating_Your_Site_and_Its_Content\"><\/span>Actualizar su sitio web y su contenido<span class=\"ez-toc-section-end\"><\/span><\/h3>\n\n\n\n<p>Si est\u00e1 a punto de actualizar su sitio web de socios, a\u00f1adiendo m\u00e1s contenido o quiz\u00e1s cambiando su dise\u00f1o, puede que quiera forzar el cierre de sesi\u00f3n de todos los usuarios antes de empezar a trabajar. De esta forma evitar\u00e1s que tengan problemas mientras trabajas en tu sitio web.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Temporarily_Closing_Your_Membership_Site\"><\/span>Cierre temporal de su sitio de afiliaci\u00f3n<span class=\"ez-toc-section-end\"><\/span><\/h3>\n\n\n\n<p>Si hay otra raz\u00f3n por la que necesita cerrar temporalmente su sitio de membres\u00eda o restringir el acceso, entonces saber c\u00f3mo forzar a todos sus usuarios a cerrar la sesi\u00f3n le permitir\u00e1 asegurarse de que no hay nadie que todav\u00eda tenga acceso a su sitio y su contenido.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Removing_Inactive_Members\"><\/span>Baja de miembros inactivos<span class=\"ez-toc-section-end\"><\/span><\/h3>\n\n\n\n<p>Por \u00faltimo, si un usuario cancela su suscripci\u00f3n o se da de baja por cualquier otro motivo, puedes forzar su cierre de sesi\u00f3n para impedir que acceda a tus contenidos exclusivos para usuarios.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"How_to_Force_Logout_All_Users_of_Your_WordPress_Membership_Site\"><\/span>C\u00f3mo forzar el cierre de sesi\u00f3n de todos los usuarios de su sitio de membres\u00eda de WordPress<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<p>Como utilizas WordPress para tu sitio de membres\u00eda, puedes forzar f\u00e1cilmente el cierre de sesi\u00f3n de todos tus usuarios, o solo de algunos de ellos, con unos pocos clics utilizando un complemento dise\u00f1ado espec\u00edficamente para ello. <\/p>\n\n\n\n<p>En esta gu\u00eda, adem\u00e1s de mostrarle c\u00f3mo forzar el cierre de sesi\u00f3n de sus usuarios registrados con un plugin, le mostraremos c\u00f3mo hacerlo manualmente, por si prefiere no instalar otro plugin en su sitio web WordPress. <\/p>\n\n\n\n<p>Sin embargo, si crees que vas a obligar a tus miembros a cerrar la sesi\u00f3n en varias ocasiones, utilizar el plugin recomendado es el m\u00e9todo m\u00e1s conveniente.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"How_to_Force_Logout_Your_WordPress_Users_with_a_Plugin\"><\/span>C\u00f3mo forzar el cierre de sesi\u00f3n de los usuarios de WordPress con un plugin<span class=\"ez-toc-section-end\"><\/span><\/h3>\n\n\n\n<p>Cuando se trata de elegir un plugin que te permita forzar el cierre de sesi\u00f3n de los usuarios de tu sitio de membres\u00eda, <a rel=\"noreferrer noopener\" href=\"https:\/\/wordpress.org\/plugins\/wp-force-logout\/\" target=\"_blank\">Cierre de sesi\u00f3n WPForce<\/a> es la elecci\u00f3n obvia. Este plugin no solo es gratuito, sino que tambi\u00e9n tiene una impresionante puntuaci\u00f3n de cinco estrellas (aunque solo con seis opiniones).<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img decoding=\"async\" width=\"1600\" height=\"900\" src=\"https:\/\/memberpress.com\/wp-content\/uploads\/2019\/11\/Force-Logout-All-Users-Add-Plugin.png\" alt=\"Plugin de cierre de sesi\u00f3n WPForce\" class=\"wp-image-20040\" srcset=\"https:\/\/memberpress.com\/wp-content\/uploads\/2019\/11\/Force-Logout-All-Users-Add-Plugin.png 1600w, https:\/\/memberpress.com\/wp-content\/uploads\/2019\/11\/Force-Logout-All-Users-Add-Plugin-300x169.png 300w, https:\/\/memberpress.com\/wp-content\/uploads\/2019\/11\/Force-Logout-All-Users-Add-Plugin-1024x576.png 1024w, https:\/\/memberpress.com\/wp-content\/uploads\/2019\/11\/Force-Logout-All-Users-Add-Plugin-768x432.png 768w, https:\/\/memberpress.com\/wp-content\/uploads\/2019\/11\/Force-Logout-All-Users-Add-Plugin-1536x864.png 1536w, https:\/\/memberpress.com\/wp-content\/uploads\/2019\/11\/Force-Logout-All-Users-Add-Plugin-302x170.png 302w, https:\/\/memberpress.com\/wp-content\/uploads\/2019\/11\/Force-Logout-All-Users-Add-Plugin-840x473.png 840w, https:\/\/memberpress.com\/wp-content\/uploads\/2019\/11\/Force-Logout-All-Users-Add-Plugin-1216x684.png 1216w, https:\/\/memberpress.com\/wp-content\/uploads\/2019\/11\/Force-Logout-All-Users-Add-Plugin-700x394.png 700w, https:\/\/memberpress.com\/wp-content\/uploads\/2019\/11\/Force-Logout-All-Users-Add-Plugin-156x88.png 156w, https:\/\/memberpress.com\/wp-content\/uploads\/2019\/11\/Force-Logout-All-Users-Add-Plugin-1080x608.png 1080w\" sizes=\"(max-width: 1600px) 100vw, 1600px\" \/><\/figure>\n\n\n\n<p>Como este plugin es gratuito, puede instalarse directamente desde el panel de control de WordPress. Para a\u00f1adirlo a su sitio, simplemente inicie sesi\u00f3n en su \u00e1rea de administraci\u00f3n de WordPress y haga clic en el elemento A\u00f1adir nuevo del men\u00fa Plugins en la parte izquierda de su panel de control. A continuaci\u00f3n, introduzca WPForce Logout en el cuadro de b\u00fasqueda y haga clic en los botones Instalar ahora y Activar.<\/p>\n\n\n\n<p>Una vez que el plugin est\u00e1 funcionando en su sitio web, usted puede ver cu\u00e1les de sus miembros o usuarios est\u00e1n actualmente conectados a su sitio desde la pantalla de Usuarios de WordPress dentro de su panel de control.<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img decoding=\"async\" width=\"1600\" height=\"691\" src=\"https:\/\/memberpress.com\/wp-content\/uploads\/2019\/11\/Force-Logout-All-Users-View-Users.png\" alt=\"Ver usuarios conectados\" class=\"wp-image-20041\" srcset=\"https:\/\/memberpress.com\/wp-content\/uploads\/2019\/11\/Force-Logout-All-Users-View-Users.png 1600w, https:\/\/memberpress.com\/wp-content\/uploads\/2019\/11\/Force-Logout-All-Users-View-Users-300x130.png 300w, https:\/\/memberpress.com\/wp-content\/uploads\/2019\/11\/Force-Logout-All-Users-View-Users-1024x442.png 1024w, https:\/\/memberpress.com\/wp-content\/uploads\/2019\/11\/Force-Logout-All-Users-View-Users-768x332.png 768w, https:\/\/memberpress.com\/wp-content\/uploads\/2019\/11\/Force-Logout-All-Users-View-Users-1536x663.png 1536w, https:\/\/memberpress.com\/wp-content\/uploads\/2019\/11\/Force-Logout-All-Users-View-Users-394x170.png 394w, https:\/\/memberpress.com\/wp-content\/uploads\/2019\/11\/Force-Logout-All-Users-View-Users-840x363.png 840w, https:\/\/memberpress.com\/wp-content\/uploads\/2019\/11\/Force-Logout-All-Users-View-Users-1216x525.png 1216w, https:\/\/memberpress.com\/wp-content\/uploads\/2019\/11\/Force-Logout-All-Users-View-Users-700x302.png 700w, https:\/\/memberpress.com\/wp-content\/uploads\/2019\/11\/Force-Logout-All-Users-View-Users-156x67.png 156w, https:\/\/memberpress.com\/wp-content\/uploads\/2019\/11\/Force-Logout-All-Users-View-Users-1080x466.png 1080w\" sizes=\"(max-width: 1600px) 100vw, 1600px\" \/><\/figure>\n\n\n\n<p>Desde la pantalla de Usuarios de WordPress puede forzar el cierre de sesi\u00f3n de todos los usuarios de su sitio web o el cierre de sesi\u00f3n de usuarios individuales. Tambi\u00e9n puede cerrar la sesi\u00f3n de varios usuarios al mismo tiempo marcando las casillas junto a sus datos, seleccionando Cerrar sesi\u00f3n en el men\u00fa desplegable Acciones masivas y pulsando el bot\u00f3n Aplicar.<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img decoding=\"async\" width=\"1600\" height=\"455\" src=\"https:\/\/memberpress.com\/wp-content\/uploads\/2019\/11\/Force-Logout-All-Users-Multiple-Users.png\" alt=\"Cerrar la sesi\u00f3n de varios usuarios\" class=\"wp-image-20042\" srcset=\"https:\/\/memberpress.com\/wp-content\/uploads\/2019\/11\/Force-Logout-All-Users-Multiple-Users.png 1600w, https:\/\/memberpress.com\/wp-content\/uploads\/2019\/11\/Force-Logout-All-Users-Multiple-Users-300x85.png 300w, https:\/\/memberpress.com\/wp-content\/uploads\/2019\/11\/Force-Logout-All-Users-Multiple-Users-1024x291.png 1024w, https:\/\/memberpress.com\/wp-content\/uploads\/2019\/11\/Force-Logout-All-Users-Multiple-Users-768x218.png 768w, https:\/\/memberpress.com\/wp-content\/uploads\/2019\/11\/Force-Logout-All-Users-Multiple-Users-1536x437.png 1536w, https:\/\/memberpress.com\/wp-content\/uploads\/2019\/11\/Force-Logout-All-Users-Multiple-Users-598x170.png 598w, https:\/\/memberpress.com\/wp-content\/uploads\/2019\/11\/Force-Logout-All-Users-Multiple-Users-840x239.png 840w, https:\/\/memberpress.com\/wp-content\/uploads\/2019\/11\/Force-Logout-All-Users-Multiple-Users-1216x346.png 1216w, https:\/\/memberpress.com\/wp-content\/uploads\/2019\/11\/Force-Logout-All-Users-Multiple-Users-700x199.png 700w, https:\/\/memberpress.com\/wp-content\/uploads\/2019\/11\/Force-Logout-All-Users-Multiple-Users-156x44.png 156w, https:\/\/memberpress.com\/wp-content\/uploads\/2019\/11\/Force-Logout-All-Users-Multiple-Users-1080x307.png 1080w\" sizes=\"(max-width: 1600px) 100vw, 1600px\" \/><\/figure>\n\n\n\n<p>Una vez que haya desconectado a uno o m\u00e1s usuarios, su estado cambiar\u00e1 a Desconectado y tendr\u00e1n que volver a iniciar sesi\u00f3n en su sitio de afiliaci\u00f3n para poder acceder a su contenido protegido.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"How_to_Force_Logout_All_Users_Without_Using_a_Plugin\"><\/span>C\u00f3mo forzar el cierre de sesi\u00f3n de todos los usuarios sin usar un plugin<span class=\"ez-toc-section-end\"><\/span><\/h3>\n\n\n\n<p>Si no quieres utilizar un plugin, tal vez s\u00f3lo necesitas forzar el cierre de sesi\u00f3n de todos tus usuarios una vez, o simplemente tienes curiosidad por saber c\u00f3mo se hace, esta parte de nuestra gu\u00eda te explicar\u00e1 el proceso para hacerlo de una manera m\u00e1s manual. Para que esto funcione, necesitar\u00e1s acceso a los archivos de tu servidor de alojamiento, con la capacidad de editar el archivo wp-config.php desde tu instalaci\u00f3n de WordPress.<\/p>\n\n\n\n<p>Dos formas habituales de acceder a este archivo son acceder al espacio del servidor a trav\u00e9s del Administrador de archivos de cPanel (u otro tipo de software de panel de control) proporcionado por su proveedor de alojamiento web, o bien a trav\u00e9s de un software FTP. Para saber c\u00f3mo obtener este acceso, deber\u00e1 consultar la documentaci\u00f3n proporcionada por el proveedor de alojamiento web que haya elegido.<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img decoding=\"async\" width=\"1600\" height=\"741\" src=\"https:\/\/memberpress.com\/wp-content\/uploads\/2019\/11\/Force-Logout-All-Users-cPanel.png\" alt=\"cPanel\" class=\"wp-image-20043\" srcset=\"https:\/\/memberpress.com\/wp-content\/uploads\/2019\/11\/Force-Logout-All-Users-cPanel.png 1600w, https:\/\/memberpress.com\/wp-content\/uploads\/2019\/11\/Force-Logout-All-Users-cPanel-300x139.png 300w, https:\/\/memberpress.com\/wp-content\/uploads\/2019\/11\/Force-Logout-All-Users-cPanel-1024x474.png 1024w, https:\/\/memberpress.com\/wp-content\/uploads\/2019\/11\/Force-Logout-All-Users-cPanel-768x356.png 768w, https:\/\/memberpress.com\/wp-content\/uploads\/2019\/11\/Force-Logout-All-Users-cPanel-1536x711.png 1536w, https:\/\/memberpress.com\/wp-content\/uploads\/2019\/11\/Force-Logout-All-Users-cPanel-367x170.png 367w, https:\/\/memberpress.com\/wp-content\/uploads\/2019\/11\/Force-Logout-All-Users-cPanel-840x389.png 840w, https:\/\/memberpress.com\/wp-content\/uploads\/2019\/11\/Force-Logout-All-Users-cPanel-1216x563.png 1216w, https:\/\/memberpress.com\/wp-content\/uploads\/2019\/11\/Force-Logout-All-Users-cPanel-700x324.png 700w, https:\/\/memberpress.com\/wp-content\/uploads\/2019\/11\/Force-Logout-All-Users-cPanel-156x72.png 156w, https:\/\/memberpress.com\/wp-content\/uploads\/2019\/11\/Force-Logout-All-Users-cPanel-1080x500.png 1080w\" sizes=\"(max-width: 1600px) 100vw, 1600px\" \/><\/figure>\n\n\n\n<p>Una vez que sepas c\u00f3mo acceder a los archivos de tu servidor web, tendr\u00e1s que encontrar el archivo wp-config.php que se encuentra dentro de la carpeta public_html del directorio ra\u00edz de tu sitio web.<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img decoding=\"async\" width=\"1600\" height=\"900\" src=\"https:\/\/memberpress.com\/wp-content\/uploads\/2019\/11\/Force-Logout-All-Users-cPanel-File-Manager.png\" alt=\"Administrador de archivos de cPanel\" class=\"wp-image-20044\" srcset=\"https:\/\/memberpress.com\/wp-content\/uploads\/2019\/11\/Force-Logout-All-Users-cPanel-File-Manager.png 1600w, https:\/\/memberpress.com\/wp-content\/uploads\/2019\/11\/Force-Logout-All-Users-cPanel-File-Manager-300x169.png 300w, https:\/\/memberpress.com\/wp-content\/uploads\/2019\/11\/Force-Logout-All-Users-cPanel-File-Manager-1024x576.png 1024w, https:\/\/memberpress.com\/wp-content\/uploads\/2019\/11\/Force-Logout-All-Users-cPanel-File-Manager-768x432.png 768w, https:\/\/memberpress.com\/wp-content\/uploads\/2019\/11\/Force-Logout-All-Users-cPanel-File-Manager-1536x864.png 1536w, https:\/\/memberpress.com\/wp-content\/uploads\/2019\/11\/Force-Logout-All-Users-cPanel-File-Manager-302x170.png 302w, https:\/\/memberpress.com\/wp-content\/uploads\/2019\/11\/Force-Logout-All-Users-cPanel-File-Manager-840x473.png 840w, https:\/\/memberpress.com\/wp-content\/uploads\/2019\/11\/Force-Logout-All-Users-cPanel-File-Manager-1216x684.png 1216w, https:\/\/memberpress.com\/wp-content\/uploads\/2019\/11\/Force-Logout-All-Users-cPanel-File-Manager-700x394.png 700w, https:\/\/memberpress.com\/wp-content\/uploads\/2019\/11\/Force-Logout-All-Users-cPanel-File-Manager-156x88.png 156w, https:\/\/memberpress.com\/wp-content\/uploads\/2019\/11\/Force-Logout-All-Users-cPanel-File-Manager-1080x608.png 1080w\" sizes=\"(max-width: 1600px) 100vw, 1600px\" \/><\/figure>\n\n\n\n<p>Una vez que hayas encontrado el archivo, tendr\u00e1s que abrirlo para editarlo. Antes, sin embargo, es recomendable que hagas una copia de seguridad del archivo, ya sea creando una copia del mismo o descarg\u00e1ndolo a tu ordenador.<\/p>\n\n\n\n<p>Si accede a wp-config.php a trav\u00e9s del Administrador de archivos de cPanel, puede hacer clic con el bot\u00f3n derecho en el archivo y seleccionar Editar en el men\u00fa.<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img decoding=\"async\" width=\"1600\" height=\"857\" src=\"https:\/\/memberpress.com\/wp-content\/uploads\/2019\/11\/Force-Logout-All-Users-Edit-Menu.png\" alt=\"Men\u00fa Administrador de archivos\" class=\"wp-image-20045\" srcset=\"https:\/\/memberpress.com\/wp-content\/uploads\/2019\/11\/Force-Logout-All-Users-Edit-Menu.png 1600w, https:\/\/memberpress.com\/wp-content\/uploads\/2019\/11\/Force-Logout-All-Users-Edit-Menu-300x161.png 300w, https:\/\/memberpress.com\/wp-content\/uploads\/2019\/11\/Force-Logout-All-Users-Edit-Menu-1024x548.png 1024w, https:\/\/memberpress.com\/wp-content\/uploads\/2019\/11\/Force-Logout-All-Users-Edit-Menu-768x411.png 768w, https:\/\/memberpress.com\/wp-content\/uploads\/2019\/11\/Force-Logout-All-Users-Edit-Menu-1536x823.png 1536w, https:\/\/memberpress.com\/wp-content\/uploads\/2019\/11\/Force-Logout-All-Users-Edit-Menu-317x170.png 317w, https:\/\/memberpress.com\/wp-content\/uploads\/2019\/11\/Force-Logout-All-Users-Edit-Menu-840x450.png 840w, https:\/\/memberpress.com\/wp-content\/uploads\/2019\/11\/Force-Logout-All-Users-Edit-Menu-1216x651.png 1216w, https:\/\/memberpress.com\/wp-content\/uploads\/2019\/11\/Force-Logout-All-Users-Edit-Menu-700x375.png 700w, https:\/\/memberpress.com\/wp-content\/uploads\/2019\/11\/Force-Logout-All-Users-Edit-Menu-156x84.png 156w, https:\/\/memberpress.com\/wp-content\/uploads\/2019\/11\/Force-Logout-All-Users-Edit-Menu-1080x578.png 1080w\" sizes=\"(max-width: 1600px) 100vw, 1600px\" \/><\/figure>\n\n\n\n<p>Una vez que est\u00e9s editando el archivo wp-config.php, podr\u00e1s cambiar las l\u00edneas que se relacionan con la autenticaci\u00f3n de los usuarios logueados. Al hacerlo, forzar\u00e1s el cierre de sesi\u00f3n de todos los usuarios de tu sitio de membres\u00eda.<\/p>\n\n\n\n<p>Para encontrar la parte relevante del archivo wp-config.php, busque Autenticaci\u00f3n. Esto le llevar\u00e1 a esta parte del archivo:<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img decoding=\"async\" width=\"1600\" height=\"556\" src=\"https:\/\/memberpress.com\/wp-content\/uploads\/2019\/11\/Force-Logout-All-Users-Authentication.png\" alt=\"Claves\" class=\"wp-image-20046\" srcset=\"https:\/\/memberpress.com\/wp-content\/uploads\/2019\/11\/Force-Logout-All-Users-Authentication.png 1600w, https:\/\/memberpress.com\/wp-content\/uploads\/2019\/11\/Force-Logout-All-Users-Authentication-300x104.png 300w, https:\/\/memberpress.com\/wp-content\/uploads\/2019\/11\/Force-Logout-All-Users-Authentication-1024x356.png 1024w, https:\/\/memberpress.com\/wp-content\/uploads\/2019\/11\/Force-Logout-All-Users-Authentication-768x267.png 768w, https:\/\/memberpress.com\/wp-content\/uploads\/2019\/11\/Force-Logout-All-Users-Authentication-1536x534.png 1536w, https:\/\/memberpress.com\/wp-content\/uploads\/2019\/11\/Force-Logout-All-Users-Authentication-489x170.png 489w, https:\/\/memberpress.com\/wp-content\/uploads\/2019\/11\/Force-Logout-All-Users-Authentication-840x292.png 840w, https:\/\/memberpress.com\/wp-content\/uploads\/2019\/11\/Force-Logout-All-Users-Authentication-1216x423.png 1216w, https:\/\/memberpress.com\/wp-content\/uploads\/2019\/11\/Force-Logout-All-Users-Authentication-700x243.png 700w, https:\/\/memberpress.com\/wp-content\/uploads\/2019\/11\/Force-Logout-All-Users-Authentication-156x54.png 156w, https:\/\/memberpress.com\/wp-content\/uploads\/2019\/11\/Force-Logout-All-Users-Authentication-1080x375.png 1080w\" sizes=\"(max-width: 1600px) 100vw, 1600px\" \/><\/figure>\n\n\n\n<p>Si sustituye estas claves en el archivo wp-config.php por otras nuevas, forzar\u00e1 el cierre de sesi\u00f3n de todos los usuarios de su sitio web WordPress. Para obtener nuevas claves, visite el sitio mencionado en el archivo: <a href=\"https:\/\/api.wordpress.org\/secret-key\/1.1\/salt\/\" target=\"_blank\" rel=\"noreferrer noopener\">https:\/\/api.wordpress.org\/secret-key\/1.1\/salt\/<\/a><\/p>\n\n\n\n<p>All\u00ed encontrar\u00e1 un nuevo conjunto de claves que puede copiar y pegar en su archivo wp-config.php para reemplazar las existentes. Despu\u00e9s de guardar el archivo, todos los usuarios conectados se desconectar\u00e1n.<\/p>\n\n\n\n<p>Mientras sus cuentas sigan activas en tu sitio, esos usuarios podr\u00e1n volver a iniciar sesi\u00f3n. Sin embargo, si est\u00e1s trabajando en tu sitio web y quieres evitar que nadie, aparte de ti mismo, pueda iniciar sesi\u00f3n, puedes hacerlo con un plugin como <a rel=\"noreferrer noopener\" href=\"https:\/\/wordpress.org\/plugins\/disable-login\/\" target=\"_blank\">Desactivar inicio de sesi\u00f3n<\/a>.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Final_Thoughts\"><\/span>Reflexiones finales<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<p>Ahora ya conoces dos maneras diferentes de forzar el cierre de sesi\u00f3n de todos los usuarios en tu sitio de membres\u00eda.<\/p>\n\n\n\n<p>Tanto si decide <a href=\"https:\/\/wordpress.org\/plugins\/wp-force-logout\/\" target=\"_blank\" rel=\"noreferrer noopener\">utilizar un plugin<\/a> o decides editar el archivo wp-config.php, es muy f\u00e1cil cerrar la sesi\u00f3n de tus usuarios.<\/p>\n\n\n\n<p><em>Si tiene alguna pregunta al respecto, deje un comentario a continuaci\u00f3n. <\/em><\/p>","protected":false},"excerpt":{"rendered":"<p>WordPress is ideal for creating membership websites as the software already has good built-in support for handling multiple logged in users. Then, by installing a reputable membership plugin, you can enhance this functionality to control how those users get access to your site, which content they can view, and a lot more. However, if there [\u2026]<\/p>\n","protected":false},"author":2122,"featured_media":20048,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"om_disable_all_campaigns":false,"_strive_editorial_status":"not-started","_strive_copy_of":0,"inline_featured_image":false,"_monsterinsights_skip_tracking":false,"_monsterinsights_sitenote_active":false,"_monsterinsights_sitenote_note":"","_monsterinsights_sitenote_category":0,"_genesis_hide_title":false,"_genesis_hide_breadcrumbs":false,"_genesis_hide_singular_image":false,"_genesis_hide_footer_widgets":false,"_genesis_custom_body_class":"","_genesis_custom_post_class":"","_genesis_layout":"","_FSMCFIC_featured_image_caption":"","_FSMCFIC_featured_image_nocaption":"","_FSMCFIC_featured_image_hide":"","_strive_checklists":"\"\"","_strive_active_checklist":"62291e2bb2422","_strive_post_notes":"","footnotes":""},"categories":[134],"tags":[610,611,299],"class_list":{"0":"post-20039","1":"post","2":"type-post","3":"status-publish","4":"format-standard","5":"has-post-thumbnail","7":"category-how-to-2","8":"tag-force-logout","9":"tag-logout-users","10":"tag-security","11":"entry"},"acf":{"plans":["scale"],"is_featured":false,"download_source":"none","mothership_slug":"","download_url":""},"aioseo_notices":[],"aioseo_head":"\n\t\t<!-- All in One SEO Pro 4.9.6.2 - aioseo.com -->\n\t<meta name=\"description\" content=\"Find out how to force logout all users in your membership site by using a WordPress plugin or editing the wp-config.php file directly.\" \/>\n\t<meta name=\"robots\" content=\"max-image-preview:large\" \/>\n\t<meta name=\"author\" content=\"Joe Fylan\"\/>\n\t<meta name=\"keywords\" content=\"force logout users,,force logout,logout users,security\" \/>\n\t<link rel=\"canonical\" href=\"https:\/\/memberpress.com\/es\/blog\/how-to-force-logout-all-users-in-your-membership-site\/\" \/>\n\t<meta name=\"generator\" content=\"All in One SEO Pro (AIOSEO) 4.9.6.2\" \/>\n\t\t<meta property=\"og:locale\" content=\"es_ES\" \/>\n\t\t<meta property=\"og:site_name\" content=\"MemberPress\" \/>\n\t\t<meta property=\"og:type\" content=\"article\" \/>\n\t\t<meta property=\"og:title\" content=\"How to Force Logout All Users in Your Membership Site\" \/>\n\t\t<meta property=\"og:description\" content=\"Find out how to force logout all users in your membership site by using a WordPress plugin or editing the wp-config.php file directly.\" \/>\n\t\t<meta property=\"og:url\" content=\"https:\/\/memberpress.com\/es\/blog\/how-to-force-logout-all-users-in-your-membership-site\/\" \/>\n\t\t<meta property=\"og:image\" content=\"https:\/\/memberpress.com\/wp-content\/uploads\/2019\/11\/Force-Logout-All-Users-FT.jpg\" \/>\n\t\t<meta property=\"og:image:secure_url\" content=\"https:\/\/memberpress.com\/wp-content\/uploads\/2019\/11\/Force-Logout-All-Users-FT.jpg\" \/>\n\t\t<meta property=\"og:image:width\" content=\"1100\" \/>\n\t\t<meta property=\"og:image:height\" content=\"733\" \/>\n\t\t<meta property=\"article:published_time\" content=\"2019-11-27T16:14:35+00:00\" \/>\n\t\t<meta property=\"article:modified_time\" content=\"2019-11-27T16:18:52+00:00\" \/>\n\t\t<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/memberpress\/\" \/>\n\t\t<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n\t\t<meta name=\"twitter:site\" content=\"@memberpress\" \/>\n\t\t<meta name=\"twitter:title\" content=\"How to Force Logout All Users in Your Membership Site\" \/>\n\t\t<meta name=\"twitter:description\" content=\"Find out how to force logout all users in your membership site by using a WordPress plugin or editing the wp-config.php file directly.\" \/>\n\t\t<meta name=\"twitter:image\" content=\"https:\/\/memberpress.com\/wp-content\/uploads\/2019\/11\/Force-Logout-All-Users-FT.jpg\" \/>\n\t\t<script type=\"application\/ld+json\" class=\"aioseo-schema\">\n\t\t\t{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"BlogPosting\",\"@id\":\"https:\\\/\\\/memberpress.com\\\/es\\\/blog\\\/how-to-force-logout-all-users-in-your-membership-site\\\/#blogposting\",\"name\":\"How to Force Logout All Users in Your Membership Site\",\"headline\":\"How to Force Logout All Users in Your Membership Site\",\"author\":{\"@id\":\"https:\\\/\\\/memberpress.com\\\/es\\\/blog\\\/author\\\/jfylan\\\/#author\"},\"publisher\":{\"@id\":\"https:\\\/\\\/memberpress.com\\\/es\\\/#organization\"},\"image\":{\"@type\":\"ImageObject\",\"url\":\"https:\\\/\\\/memberpress.com\\\/wp-content\\\/uploads\\\/2019\\\/11\\\/Force-Logout-All-Users-FT.jpg\",\"width\":1100,\"height\":733},\"datePublished\":\"2019-11-27T09:14:35-05:00\",\"dateModified\":\"2019-11-27T09:18:52-05:00\",\"inLanguage\":\"es-ES\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/memberpress.com\\\/es\\\/blog\\\/how-to-force-logout-all-users-in-your-membership-site\\\/#webpage\"},\"isPartOf\":{\"@id\":\"https:\\\/\\\/memberpress.com\\\/es\\\/blog\\\/how-to-force-logout-all-users-in-your-membership-site\\\/#webpage\"},\"articleSection\":\"How To, force logout, logout users, security\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/memberpress.com\\\/es\\\/blog\\\/how-to-force-logout-all-users-in-your-membership-site\\\/#breadcrumblist\",\"itemListElement\":[{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/memberpress.com\\\/es#listItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/memberpress.com\\\/es\",\"nextItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/memberpress.com\\\/es\\\/blog\\\/category\\\/how-to-2\\\/#listItem\",\"name\":\"How To\"}},{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/memberpress.com\\\/es\\\/blog\\\/category\\\/how-to-2\\\/#listItem\",\"position\":2,\"name\":\"How To\",\"item\":\"https:\\\/\\\/memberpress.com\\\/es\\\/blog\\\/category\\\/how-to-2\\\/\",\"nextItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/memberpress.com\\\/es\\\/blog\\\/how-to-force-logout-all-users-in-your-membership-site\\\/#listItem\",\"name\":\"How to Force Logout All Users in Your Membership Site\"},\"previousItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/memberpress.com\\\/es#listItem\",\"name\":\"Home\"}},{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/memberpress.com\\\/es\\\/blog\\\/how-to-force-logout-all-users-in-your-membership-site\\\/#listItem\",\"position\":3,\"name\":\"How to Force Logout All Users in Your Membership Site\",\"previousItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/memberpress.com\\\/es\\\/blog\\\/category\\\/how-to-2\\\/#listItem\",\"name\":\"How To\"}}]},{\"@type\":\"Organization\",\"@id\":\"https:\\\/\\\/memberpress.com\\\/es\\\/#organization\",\"name\":\"MemberPress\",\"description\":\"The All-In-One WordPress Membership Plugin\",\"url\":\"https:\\\/\\\/memberpress.com\\\/es\\\/\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https:\\\/\\\/memberpress.com\\\/wp-content\\\/uploads\\\/2022\\\/10\\\/mp-icon-RGB_Icon-01.jpg\",\"@id\":\"https:\\\/\\\/memberpress.com\\\/es\\\/blog\\\/how-to-force-logout-all-users-in-your-membership-site\\\/#organizationLogo\",\"width\":1650,\"height\":1275,\"caption\":\"memberpress logo icon\"},\"image\":{\"@id\":\"https:\\\/\\\/memberpress.com\\\/es\\\/blog\\\/how-to-force-logout-all-users-in-your-membership-site\\\/#organizationLogo\"},\"sameAs\":[\"https:\\\/\\\/www.instagram.com\\\/memberpress\\\/\",\"https:\\\/\\\/www.pinterest.com\\\/memberpressplugin\\\/\",\"https:\\\/\\\/www.youtube.com\\\/c\\\/MemberPressPlugin\",\"https:\\\/\\\/www.linkedin.com\\\/company\\\/memberpress\\\/\"]},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/memberpress.com\\\/es\\\/blog\\\/author\\\/jfylan\\\/#author\",\"url\":\"https:\\\/\\\/memberpress.com\\\/es\\\/blog\\\/author\\\/jfylan\\\/\",\"name\":\"Joe Fylan\",\"image\":{\"@type\":\"ImageObject\",\"url\":\"https:\\\/\\\/memberpress.com\\\/wp-content\\\/litespeed\\\/avatar\\\/8efbb5b67aecb906b5f72f49bd070141.jpg?ver=1785426175\"}},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/memberpress.com\\\/es\\\/blog\\\/how-to-force-logout-all-users-in-your-membership-site\\\/#webpage\",\"url\":\"https:\\\/\\\/memberpress.com\\\/es\\\/blog\\\/how-to-force-logout-all-users-in-your-membership-site\\\/\",\"name\":\"How to Force Logout All Users in Your Membership Site\",\"description\":\"Find out how to force logout all users in your membership site by using a WordPress plugin or editing the wp-config.php file directly.\",\"inLanguage\":\"es-ES\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/memberpress.com\\\/es\\\/#website\"},\"breadcrumb\":{\"@id\":\"https:\\\/\\\/memberpress.com\\\/es\\\/blog\\\/how-to-force-logout-all-users-in-your-membership-site\\\/#breadcrumblist\"},\"author\":{\"@id\":\"https:\\\/\\\/memberpress.com\\\/es\\\/blog\\\/author\\\/jfylan\\\/#author\"},\"creator\":{\"@id\":\"https:\\\/\\\/memberpress.com\\\/es\\\/blog\\\/author\\\/jfylan\\\/#author\"},\"image\":{\"@type\":\"ImageObject\",\"url\":\"https:\\\/\\\/memberpress.com\\\/wp-content\\\/uploads\\\/2019\\\/11\\\/Force-Logout-All-Users-FT.jpg\",\"@id\":\"https:\\\/\\\/memberpress.com\\\/es\\\/blog\\\/how-to-force-logout-all-users-in-your-membership-site\\\/#mainImage\",\"width\":1100,\"height\":733},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/memberpress.com\\\/es\\\/blog\\\/how-to-force-logout-all-users-in-your-membership-site\\\/#mainImage\"},\"datePublished\":\"2019-11-27T09:14:35-05:00\",\"dateModified\":\"2019-11-27T09:18:52-05:00\"},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/memberpress.com\\\/es\\\/#website\",\"url\":\"https:\\\/\\\/memberpress.com\\\/es\\\/\",\"name\":\"MemberPress\",\"description\":\"The All-In-One WordPress Membership Plugin\",\"inLanguage\":\"es-ES\",\"publisher\":{\"@id\":\"https:\\\/\\\/memberpress.com\\\/es\\\/#organization\"}}]}\n\t\t<\/script>\n\t\t<!-- All in One SEO Pro -->\r\n\t\t<title>How to Force Logout All Users in Your Membership Site<\/title>\n\n","aioseo_head_json":{"title":"C\u00f3mo forzar el cierre de sesi\u00f3n de todos los usuarios en su sitio de membres\u00eda","description":"Descubra c\u00f3mo forzar el cierre de sesi\u00f3n de todos los usuarios en su sitio de membres\u00eda utilizando un plugin de WordPress o editando directamente el archivo wp-config.php.","canonical_url":"https:\/\/memberpress.com\/es\/blog\/how-to-force-logout-all-users-in-your-membership-site\/","robots":"max-image-preview:large","keywords":"force logout users,,force logout,logout users,security","webmasterTools":{"miscellaneous":""},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"BlogPosting","@id":"https:\/\/memberpress.com\/es\/blog\/how-to-force-logout-all-users-in-your-membership-site\/#blogposting","name":"How to Force Logout All Users in Your Membership Site","headline":"How to Force Logout All Users in Your Membership Site","author":{"@id":"https:\/\/memberpress.com\/es\/blog\/author\/jfylan\/#author"},"publisher":{"@id":"https:\/\/memberpress.com\/es\/#organization"},"image":{"@type":"ImageObject","url":"https:\/\/memberpress.com\/wp-content\/uploads\/2019\/11\/Force-Logout-All-Users-FT.jpg","width":1100,"height":733},"datePublished":"2019-11-27T09:14:35-05:00","dateModified":"2019-11-27T09:18:52-05:00","inLanguage":"es-ES","mainEntityOfPage":{"@id":"https:\/\/memberpress.com\/es\/blog\/how-to-force-logout-all-users-in-your-membership-site\/#webpage"},"isPartOf":{"@id":"https:\/\/memberpress.com\/es\/blog\/how-to-force-logout-all-users-in-your-membership-site\/#webpage"},"articleSection":"How To, force logout, logout users, security"},{"@type":"BreadcrumbList","@id":"https:\/\/memberpress.com\/es\/blog\/how-to-force-logout-all-users-in-your-membership-site\/#breadcrumblist","itemListElement":[{"@type":"ListItem","@id":"https:\/\/memberpress.com\/es#listItem","position":1,"name":"Home","item":"https:\/\/memberpress.com\/es","nextItem":{"@type":"ListItem","@id":"https:\/\/memberpress.com\/es\/blog\/category\/how-to-2\/#listItem","name":"How To"}},{"@type":"ListItem","@id":"https:\/\/memberpress.com\/es\/blog\/category\/how-to-2\/#listItem","position":2,"name":"How To","item":"https:\/\/memberpress.com\/es\/blog\/category\/how-to-2\/","nextItem":{"@type":"ListItem","@id":"https:\/\/memberpress.com\/es\/blog\/how-to-force-logout-all-users-in-your-membership-site\/#listItem","name":"How to Force Logout All Users in Your Membership Site"},"previousItem":{"@type":"ListItem","@id":"https:\/\/memberpress.com\/es#listItem","name":"Home"}},{"@type":"ListItem","@id":"https:\/\/memberpress.com\/es\/blog\/how-to-force-logout-all-users-in-your-membership-site\/#listItem","position":3,"name":"How to Force Logout All Users in Your Membership Site","previousItem":{"@type":"ListItem","@id":"https:\/\/memberpress.com\/es\/blog\/category\/how-to-2\/#listItem","name":"How To"}}]},{"@type":"Organization","@id":"https:\/\/memberpress.com\/es\/#organization","name":"MemberPress","description":"The All-In-One WordPress Membership Plugin","url":"https:\/\/memberpress.com\/es\/","logo":{"@type":"ImageObject","url":"https:\/\/memberpress.com\/wp-content\/uploads\/2022\/10\/mp-icon-RGB_Icon-01.jpg","@id":"https:\/\/memberpress.com\/es\/blog\/how-to-force-logout-all-users-in-your-membership-site\/#organizationLogo","width":1650,"height":1275,"caption":"memberpress logo icon"},"image":{"@id":"https:\/\/memberpress.com\/es\/blog\/how-to-force-logout-all-users-in-your-membership-site\/#organizationLogo"},"sameAs":["https:\/\/www.instagram.com\/memberpress\/","https:\/\/www.pinterest.com\/memberpressplugin\/","https:\/\/www.youtube.com\/c\/MemberPressPlugin","https:\/\/www.linkedin.com\/company\/memberpress\/"]},{"@type":"Person","@id":"https:\/\/memberpress.com\/es\/blog\/author\/jfylan\/#author","url":"https:\/\/memberpress.com\/es\/blog\/author\/jfylan\/","name":"Joe Fylan","image":{"@type":"ImageObject","url":"https:\/\/memberpress.com\/wp-content\/litespeed\/avatar\/8efbb5b67aecb906b5f72f49bd070141.jpg?ver=1785426175"}},{"@type":"WebPage","@id":"https:\/\/memberpress.com\/es\/blog\/how-to-force-logout-all-users-in-your-membership-site\/#webpage","url":"https:\/\/memberpress.com\/es\/blog\/how-to-force-logout-all-users-in-your-membership-site\/","name":"How to Force Logout All Users in Your Membership Site","description":"Find out how to force logout all users in your membership site by using a WordPress plugin or editing the wp-config.php file directly.","inLanguage":"es-ES","isPartOf":{"@id":"https:\/\/memberpress.com\/es\/#website"},"breadcrumb":{"@id":"https:\/\/memberpress.com\/es\/blog\/how-to-force-logout-all-users-in-your-membership-site\/#breadcrumblist"},"author":{"@id":"https:\/\/memberpress.com\/es\/blog\/author\/jfylan\/#author"},"creator":{"@id":"https:\/\/memberpress.com\/es\/blog\/author\/jfylan\/#author"},"image":{"@type":"ImageObject","url":"https:\/\/memberpress.com\/wp-content\/uploads\/2019\/11\/Force-Logout-All-Users-FT.jpg","@id":"https:\/\/memberpress.com\/es\/blog\/how-to-force-logout-all-users-in-your-membership-site\/#mainImage","width":1100,"height":733},"primaryImageOfPage":{"@id":"https:\/\/memberpress.com\/es\/blog\/how-to-force-logout-all-users-in-your-membership-site\/#mainImage"},"datePublished":"2019-11-27T09:14:35-05:00","dateModified":"2019-11-27T09:18:52-05:00"},{"@type":"WebSite","@id":"https:\/\/memberpress.com\/es\/#website","url":"https:\/\/memberpress.com\/es\/","name":"MemberPress","description":"The All-In-One WordPress Membership Plugin","inLanguage":"es-ES","publisher":{"@id":"https:\/\/memberpress.com\/es\/#organization"}}]},"og:locale":"es_ES","og:site_name":"MemberPress","og:type":"article","og:title":"How to Force Logout All Users in Your Membership Site","og:description":"Find out how to force logout all users in your membership site by using a WordPress plugin or editing the wp-config.php file directly.","og:url":"https:\/\/memberpress.com\/es\/blog\/how-to-force-logout-all-users-in-your-membership-site\/","og:image":"https:\/\/memberpress.com\/wp-content\/uploads\/2019\/11\/Force-Logout-All-Users-FT.jpg","og:image:secure_url":"https:\/\/memberpress.com\/wp-content\/uploads\/2019\/11\/Force-Logout-All-Users-FT.jpg","og:image:width":1100,"og:image:height":733,"article:published_time":"2019-11-27T16:14:35+00:00","article:modified_time":"2019-11-27T16:18:52+00:00","article:publisher":"https:\/\/www.facebook.com\/memberpress\/","twitter:card":"summary_large_image","twitter:site":"@memberpress","twitter:title":"How to Force Logout All Users in Your Membership Site","twitter:description":"Find out how to force logout all users in your membership site by using a WordPress plugin or editing the wp-config.php file directly.","twitter:image":"https:\/\/memberpress.com\/wp-content\/uploads\/2019\/11\/Force-Logout-All-Users-FT.jpg"},"aioseo_meta_data":{"post_id":"20039","title":null,"description":"Descubra c\u00f3mo forzar el cierre de sesi\u00f3n de todos los usuarios en su sitio de membres\u00eda utilizando un plugin de WordPress o editando directamente el archivo wp-config.php.","keywords":[{"label":"force logout users,","value":"force logout users,"}],"keyphrases":null,"primary_term":null,"canonical_url":null,"og_title":null,"og_description":null,"og_object_type":"default","og_image_type":"default","og_image_url":null,"og_image_width":null,"og_image_height":null,"og_image_custom_url":null,"og_image_custom_fields":null,"og_video":null,"og_custom_url":null,"og_article_section":null,"og_article_tags":null,"twitter_use_og":false,"twitter_card":"default","twitter_image_type":"default","twitter_image_url":null,"twitter_image_custom_url":null,"twitter_image_custom_fields":null,"twitter_title":null,"twitter_description":null,"schema":{"blockGraphs":[],"customGraphs":[],"default":{"data":{"Article":[],"Course":[],"Dataset":[],"FAQPage":[],"Movie":[],"Person":[],"Product":[],"ProductReview":[],"Car":[],"Recipe":[],"Service":[],"SoftwareApplication":[],"WebPage":[]},"graphName":"","isEnabled":true},"graphs":[],"defaultGraph":"","defaultPostTypeGraph":""},"schema_type":null,"schema_type_options":null,"pillar_content":false,"robots_default":true,"robots_noindex":false,"robots_noarchive":false,"robots_nosnippet":false,"robots_nofollow":false,"robots_noimageindex":false,"robots_noodp":false,"robots_notranslate":false,"robots_max_snippet":null,"robots_max_videopreview":null,"robots_max_imagepreview":"large","priority":null,"frequency":null,"local_seo":null,"seo_analyzer_scan_date":"2025-10-09 18:12:29","breadcrumb_settings":null,"limit_modified_date":false,"reviewed_by":null,"open_ai":null,"ai":null,"created":"2020-12-21 16:17:43","updated":"2026-03-03 15:06:00"},"aioseo_breadcrumb":"<div class=\"aioseo-breadcrumbs\"><span class=\"aioseo-breadcrumb\">\n\t<a href=\"https:\/\/memberpress.com\/es\" title=\"Home\">Home<\/a>\n<\/span><span class=\"aioseo-breadcrumb-separator\">&raquo;<\/span><span class=\"aioseo-breadcrumb\">\n\t<a href=\"https:\/\/memberpress.com\/es\/blog\/category\/how-to-2\/\" title=\"How To\">How To<\/a>\n<\/span><span class=\"aioseo-breadcrumb-separator\">&raquo;<\/span><span class=\"aioseo-breadcrumb\">\n\tHow to Force Logout All Users in Your Membership Site\n<\/span><\/div>","aioseo_breadcrumb_json":[{"label":"Home","link":"https:\/\/memberpress.com\/es"},{"label":"How To","link":"https:\/\/memberpress.com\/es\/blog\/category\/how-to-2\/"},{"label":"How to Force Logout All Users in Your Membership Site","link":"https:\/\/memberpress.com\/es\/blog\/how-to-force-logout-all-users-in-your-membership-site\/"}],"app_bookmark":{"bookmark_id":0,"is_bookmarked":false,"bookmark_date":0},"comments_count":"0","content_native":[{"type":"core\/paragraph","render":"<p>WordPress is ideal for creating membership websites as the software already has good built-in support for handling multiple logged in users. Then, by installing a <a href=\"https:\/\/memberpress.com\/features\/\">reputable membership plugin<\/a>, you can enhance this functionality to control how those users get access to your site, which content they can view, and a lot more.<\/p>","content":[{"type":"text","data":"WordPress is ideal for creating membership websites as the software already has good built-in support for handling multiple logged in users. Then, by installing a <a href=\"https:\/\/memberpress.com\/features\/\">reputable membership plugin<\/a>, you can enhance this functionality to control how those users get access to your site, which content they can view, and a lot more."}],"data":[],"style":{"textAlign":"left","color":"","dropCap":false,"parent_style":{}}},{"type":"core\/paragraph","render":"<p>However, if there comes a time when you need to force logout all users in your membership site, you\u2019ll soon discover that this functionality isn\u2019t present in the core WordPress software. So if you suspect that unauthorized users might be logged into your site, or you need to restrict access to your membership content before updating it, by default there\u2019s not much you can do through the WordPress dashboard to force those users to log out.<\/p>","content":[{"type":"text","data":"However, if there comes a time when you need to force logout all users in your membership site, you\u2019ll soon discover that this functionality isn\u2019t present in the core WordPress software. So if you suspect that unauthorized users might be logged into your site, or you need to restrict access to your membership content before updating it, by default there\u2019s not much you can do through the WordPress dashboard to force those users to log out."}],"data":[],"style":{"textAlign":"left","color":"","dropCap":false,"parent_style":{}}},{"type":"core\/paragraph","render":"<p>Thankfully, as you\u2019re about to see in this guide, it's relatively easy to force logout all users in your WordPress membership site by either installing a free plugin or taking a more hands-on approach to get the job done.<\/p>","content":[{"type":"text","data":"Thankfully, as you\u2019re about to see in this guide, it's relatively easy to force logout all users in your WordPress membership site by either installing a free plugin or taking a more hands-on approach to get the job done."}],"data":[],"style":{"textAlign":"left","color":"","dropCap":false,"parent_style":{}}},{"type":"core\/paragraph","render":"<p>But before we get to how you can force all, or some, of your members to log out of your site, here\u2019s a quick look at why you might want to do this in the first place.<\/p>","content":[{"type":"text","data":"But before we get to how you can force all, or some, of your members to log out of your site, here\u2019s a quick look at why you might want to do this in the first place."}],"data":[],"style":{"textAlign":"left","color":"","dropCap":false,"parent_style":{}}},{"type":"core\/heading","render":"<h2 class=\"wp-block-heading\">Why Force Logout All Users in Your Membership Site<\/h2>","content":"Por qu\u00e9 forzar el cierre de sesi\u00f3n de todos los usuarios en su sitio de afiliaci\u00f3n","data":[],"style":{"align":"left","parent_style":{},"header":"h2","fontSize":"27px"}},{"type":"core\/paragraph","render":"<p>There are many reasons why you might want to force all of the users in your membership site to logout. <\/p>","content":[{"type":"text","data":"There are many reasons why you might want to force all of the users in your membership site to logout. "}],"data":[],"style":{"textAlign":"left","color":"","dropCap":false,"parent_style":{}}},{"type":"core\/heading","render":"<h3 class=\"wp-block-heading\">Dealing with Security Issues<\/h3>","content":"Cuestiones de seguridad","data":[],"style":{"align":"left","parent_style":{},"header":"h3","fontSize":"21px"}},{"type":"core\/paragraph","render":"<p>Perhaps one of the most common scenarios is if you suspect your site has been hacked or its security has been compromised in some way. By using the WPForce Logout plugin that we look at later on in this guide, you can see exactly who is logged into your site, and then if necessary, individually force logout any of those users.<\/p>","content":[{"type":"text","data":"Perhaps one of the most common scenarios is if you suspect your site has been hacked or its security has been compromised in some way. By using the WPForce Logout plugin that we look at later on in this guide, you can see exactly who is logged into your site, and then if necessary, individually force logout any of those users."}],"data":[],"style":{"textAlign":"left","color":"","dropCap":false,"parent_style":{}}},{"type":"core\/heading","render":"<h3 class=\"wp-block-heading\">Changing Registration Policies<\/h3>","content":"Modificaci\u00f3n de las pol\u00edticas de inscripci\u00f3n","data":[],"style":{"align":"left","parent_style":{},"header":"h3","fontSize":"21px"}},{"type":"core\/paragraph","render":"<p>Another reason why you might want to force all of your users to logout is if you\u2019ve updated the security of your membership site. If you\u2019ve now started requiring all members or users to confirm their email address before being able to log in, but have users who've already logged in, prior to this change, you can now force logout those users, by following the advice in this guide,  and require them to confirm their email before being able to log in again.<\/p>","content":[{"type":"text","data":"Another reason why you might want to force all of your users to logout is if you\u2019ve updated the security of your membership site. If you\u2019ve now started requiring all members or users to confirm their email address before being able to log in, but have users who've already logged in, prior to this change, you can now force logout those users, by following the advice in this guide,  and require them to confirm their email before being able to log in again."}],"data":[],"style":{"textAlign":"left","color":"","dropCap":false,"parent_style":{}}},{"type":"core\/heading","render":"<h3 class=\"wp-block-heading\">Updating Your Site and Its Content<\/h3>","content":"Actualizar su sitio web y su contenido","data":[],"style":{"align":"left","parent_style":{},"header":"h3","fontSize":"21px"}},{"type":"core\/paragraph","render":"<p>If you\u2019re about to update your membership site, by adding more content or perhaps changing its design, then you might want to force logout all users before starting work. Doing so will prevent them from experiencing any issues while you are working on your website.<\/p>","content":[{"type":"text","data":"If you\u2019re about to update your membership site, by adding more content or perhaps changing its design, then you might want to force logout all users before starting work. Doing so will prevent them from experiencing any issues while you are working on your website."}],"data":[],"style":{"textAlign":"left","color":"","dropCap":false,"parent_style":{}}},{"type":"core\/heading","render":"<h3 class=\"wp-block-heading\">Temporarily Closing Your Membership Site<\/h3>","content":"Cierre temporal de su sitio de afiliaci\u00f3n","data":[],"style":{"align":"left","parent_style":{},"header":"h3","fontSize":"21px"}},{"type":"core\/paragraph","render":"<p>If there\u2019s another reason why you need to temporarily close your membership site or restrict access, then knowing how to force all of your users to log out will enable you to ensure that there isn\u2019t anyone who still has access to your site and its content.<\/p>","content":[{"type":"text","data":"If there\u2019s another reason why you need to temporarily close your membership site or restrict access, then knowing how to force all of your users to log out will enable you to ensure that there isn\u2019t anyone who still has access to your site and its content."}],"data":[],"style":{"textAlign":"left","color":"","dropCap":false,"parent_style":{}}},{"type":"core\/heading","render":"<h3 class=\"wp-block-heading\">Removing Inactive Members<\/h3>","content":"Baja de miembros inactivos","data":[],"style":{"align":"left","parent_style":{},"header":"h3","fontSize":"21px"}},{"type":"core\/paragraph","render":"<p>Finally, if a member cancels their subscription or their membership is terminated for some other reason, you can force log them out to end their session and prevent them from accessing your members-only content.<\/p>","content":[{"type":"text","data":"Finally, if a member cancels their subscription or their membership is terminated for some other reason, you can force log them out to end their session and prevent them from accessing your members-only content."}],"data":[],"style":{"textAlign":"left","color":"","dropCap":false,"parent_style":{}}},{"type":"core\/heading","render":"<h2 class=\"wp-block-heading\">How to Force Logout All Users of Your WordPress Membership Site<\/h2>","content":"C\u00f3mo forzar el cierre de sesi\u00f3n de todos los usuarios de su sitio de membres\u00eda de WordPress","data":[],"style":{"align":"left","parent_style":{},"header":"h2","fontSize":"27px"}},{"type":"core\/paragraph","render":"<p>As you\u2019re using WordPress for your membership site, you can easily force the log out of all of your users -- or just some of them -- in a few clicks by using a purpose-built plugin. <\/p>","content":[{"type":"text","data":"As you\u2019re using WordPress for your membership site, you can easily force the log out of all of your users -- or just some of them -- in a few clicks by using a purpose-built plugin. "}],"data":[],"style":{"textAlign":"left","color":"","dropCap":false,"parent_style":{}}},{"type":"core\/paragraph","render":"<p>In this guide, as well as showing you how to force your logged-in users to log out with a plugin, we\u2019ll demonstrate how to do it manually, just in case you\u2019d rather not install another plugin on your WordPress website. <\/p>","content":[{"type":"text","data":"In this guide, as well as showing you how to force your logged-in users to log out with a plugin, we\u2019ll demonstrate how to do it manually, just in case you\u2019d rather not install another plugin on your WordPress website. "}],"data":[],"style":{"textAlign":"left","color":"","dropCap":false,"parent_style":{}}},{"type":"core\/paragraph","render":"<p>However, if you think you\u2019ll be forcing your members to logout on multiple occasions, using the recommended plugin is the most convenient method.<\/p>","content":[{"type":"text","data":"However, if you think you\u2019ll be forcing your members to logout on multiple occasions, using the recommended plugin is the most convenient method."}],"data":[],"style":{"textAlign":"left","color":"","dropCap":false,"parent_style":{}}},{"type":"core\/heading","render":"<h3 class=\"wp-block-heading\">How to Force Logout Your WordPress Users with a Plugin<\/h3>","content":"C\u00f3mo forzar el cierre de sesi\u00f3n de los usuarios de WordPress con un plugin","data":[],"style":{"align":"left","parent_style":{},"header":"h3","fontSize":"21px"}},{"type":"core\/paragraph","render":"<p>When it comes to choosing a plugin that'll enable you to force logout your membership site users, <a rel=\"noreferrer noopener\" href=\"https:\/\/wordpress.org\/plugins\/wp-force-logout\/\" target=\"_blank\">WPForce Logout<\/a> is the obvious choice. Not only is this plugin free to use but it also has impressive five out of five-stars rating (albeit from only six reviews).<\/p>","content":[{"type":"text","data":"When it comes to choosing a plugin that'll enable you to force logout your membership site users, <a rel=\"noreferrer noopener\" href=\"https:\/\/wordpress.org\/plugins\/wp-force-logout\/\" target=\"_blank\">WPForce Logout<\/a> is the obvious choice. Not only is this plugin free to use but it also has impressive five out of five-stars rating (albeit from only six reviews)."}],"data":[],"style":{"textAlign":"left","color":"","dropCap":false,"parent_style":{}}},{"type":"core\/image","render":"<figure class=\"wp-block-image size-full\"><img src=\"https:\/\/memberpress.com\/wp-content\/uploads\/2019\/11\/Force-Logout-All-Users-Add-Plugin.png\" alt=\"WPForce Logout Plugin\" class=\"wp-image-20040\"\/><\/figure>","content":"https:\/\/memberpress.com\/wp-content\/uploads\/2019\/11\/Force-Logout-All-Users-Add-Plugin.png","data":{"alt":"WPForce Logout Plugin","src":"https:\/\/memberpress.com\/wp-content\/uploads\/2019\/11\/Force-Logout-All-Users-Add-Plugin.png"},"style":{"width":1600,"height":900,"align":"left","parent_style":{},"sizeSlug":"full"}},{"type":"core\/paragraph","render":"<p>As this plugin is freely available, it can be installed directly from inside your WordPress dashboard. To add it to your site, simply log in to your WordPress admin area and click on the Add New item from the Plugins menu on the left side of your dashboard. From there, enter WPForce Logout into the search box, and then click on the Install Now and Activate buttons.<\/p>","content":[{"type":"text","data":"As this plugin is freely available, it can be installed directly from inside your WordPress dashboard. To add it to your site, simply log in to your WordPress admin area and click on the Add New item from the Plugins menu on the left side of your dashboard. From there, enter WPForce Logout into the search box, and then click on the Install Now and Activate buttons."}],"data":[],"style":{"textAlign":"left","color":"","dropCap":false,"parent_style":{}}},{"type":"core\/paragraph","render":"<p>Once the plugin is running on your website, you can see which of your members or users are currently logged in to your site from the WordPress Users screen inside your dashboard.<\/p>","content":[{"type":"text","data":"Once the plugin is running on your website, you can see which of your members or users are currently logged in to your site from the WordPress Users screen inside your dashboard."}],"data":[],"style":{"textAlign":"left","color":"","dropCap":false,"parent_style":{}}},{"type":"core\/image","render":"<figure class=\"wp-block-image size-full\"><img src=\"https:\/\/memberpress.com\/wp-content\/uploads\/2019\/11\/Force-Logout-All-Users-View-Users.png\" alt=\"View logged in users\" class=\"wp-image-20041\"\/><\/figure>","content":"https:\/\/memberpress.com\/wp-content\/uploads\/2019\/11\/Force-Logout-All-Users-View-Users.png","data":{"alt":"View logged in users","src":"https:\/\/memberpress.com\/wp-content\/uploads\/2019\/11\/Force-Logout-All-Users-View-Users.png"},"style":{"width":1600,"height":691,"align":"left","parent_style":{},"sizeSlug":"full"}},{"type":"core\/paragraph","render":"<p>From the WordPress Users screen you now force logout all users on your membership site or logout individual users. You can also logout multiple users at the same time by checking the boxes next to their details, selecting Logout from the Bulk Actions dropdown menu, and then pressing the Apply button.<\/p>","content":[{"type":"text","data":"From the WordPress Users screen you now force logout all users on your membership site or logout individual users. You can also logout multiple users at the same time by checking the boxes next to their details, selecting Logout from the Bulk Actions dropdown menu, and then pressing the Apply button."}],"data":[],"style":{"textAlign":"left","color":"","dropCap":false,"parent_style":{}}},{"type":"core\/image","render":"<figure class=\"wp-block-image size-full\"><img src=\"https:\/\/memberpress.com\/wp-content\/uploads\/2019\/11\/Force-Logout-All-Users-Multiple-Users.png\" alt=\"Log out multiple users\" class=\"wp-image-20042\"\/><\/figure>","content":"https:\/\/memberpress.com\/wp-content\/uploads\/2019\/11\/Force-Logout-All-Users-Multiple-Users.png","data":{"alt":"Log out multiple users","src":"https:\/\/memberpress.com\/wp-content\/uploads\/2019\/11\/Force-Logout-All-Users-Multiple-Users.png"},"style":{"width":1600,"height":455,"align":"left","parent_style":{},"sizeSlug":"full"}},{"type":"core\/paragraph","render":"<p>Once you\u2019ve logged out one or more users, their status will change to Offline and they will have to log in to your membership site again in order to access your protected content.<\/p>","content":[{"type":"text","data":"Once you\u2019ve logged out one or more users, their status will change to Offline and they will have to log in to your membership site again in order to access your protected content."}],"data":[],"style":{"textAlign":"left","color":"","dropCap":false,"parent_style":{}}},{"type":"core\/heading","render":"<h3 class=\"wp-block-heading\">How to Force Logout All Users Without Using a Plugin<\/h3>","content":"C\u00f3mo forzar el cierre de sesi\u00f3n de todos los usuarios sin usar un plugin","data":[],"style":{"align":"left","parent_style":{},"header":"h3","fontSize":"21px"}},{"type":"core\/paragraph","render":"<p>If you don\u2019t want to use a plugin, perhaps you only need to force logout all your users once, or you\u2019re just curious to know how it\u2019s done, this part of our guide will explain the process for doing it in a more manual way. For this to work, you will need access to the files on your hosting server, with the ability to edit the wp-config.php file from your WordPress installation.<\/p>","content":[{"type":"text","data":"If you don\u2019t want to use a plugin, perhaps you only need to force logout all your users once, or you\u2019re just curious to know how it\u2019s done, this part of our guide will explain the process for doing it in a more manual way. For this to work, you will need access to the files on your hosting server, with the ability to edit the wp-config.php file from your WordPress installation."}],"data":[],"style":{"textAlign":"left","color":"","dropCap":false,"parent_style":{}}},{"type":"core\/paragraph","render":"<p>Two common ways to access this file include accessing your server space via the File Manager of cPanel -- or another type of control panel software \u2013 provided by your web host or via FTP software. To find out how to get this access, you\u2019ll need to refer to the documentation supplied by your choice of web host.<\/p>","content":[{"type":"text","data":"Two common ways to access this file include accessing your server space via the File Manager of cPanel -- or another type of control panel software \u2013 provided by your web host or via FTP software. To find out how to get this access, you\u2019ll need to refer to the documentation supplied by your choice of web host."}],"data":[],"style":{"textAlign":"left","color":"","dropCap":false,"parent_style":{}}},{"type":"core\/image","render":"<figure class=\"wp-block-image size-full\"><img src=\"https:\/\/memberpress.com\/wp-content\/uploads\/2019\/11\/Force-Logout-All-Users-cPanel.png\" alt=\"cPanel\" class=\"wp-image-20043\"\/><\/figure>","content":"https:\/\/memberpress.com\/wp-content\/uploads\/2019\/11\/Force-Logout-All-Users-cPanel.png","data":{"alt":"cPanel","src":"https:\/\/memberpress.com\/wp-content\/uploads\/2019\/11\/Force-Logout-All-Users-cPanel.png"},"style":{"width":1600,"height":741,"align":"left","parent_style":{},"sizeSlug":"full"}},{"type":"core\/paragraph","render":"<p>Once you know how to access the files on your web server, you\u2019ll need to find the wp-config.php file that\u2019s located inside the public_html folder of your website\u2019s root directory.<\/p>","content":[{"type":"text","data":"Once you know how to access the files on your web server, you\u2019ll need to find the wp-config.php file that\u2019s located inside the public_html folder of your website\u2019s root directory."}],"data":[],"style":{"textAlign":"left","color":"","dropCap":false,"parent_style":{}}},{"type":"core\/image","render":"<figure class=\"wp-block-image size-full\"><img src=\"https:\/\/memberpress.com\/wp-content\/uploads\/2019\/11\/Force-Logout-All-Users-cPanel-File-Manager.png\" alt=\"cPanel File Manager\" class=\"wp-image-20044\"\/><\/figure>","content":"https:\/\/memberpress.com\/wp-content\/uploads\/2019\/11\/Force-Logout-All-Users-cPanel-File-Manager.png","data":{"alt":"cPanel File Manager","src":"https:\/\/memberpress.com\/wp-content\/uploads\/2019\/11\/Force-Logout-All-Users-cPanel-File-Manager.png"},"style":{"width":1600,"height":900,"align":"left","parent_style":{},"sizeSlug":"full"}},{"type":"core\/paragraph","render":"<p>Once you\u2019ve found the file, you\u2019ll need to open it for editing. First, though, it\u2019s recommended that you back up the file, either by creating a copy of it or downloading it to your computer.<\/p>","content":[{"type":"text","data":"Once you\u2019ve found the file, you\u2019ll need to open it for editing. First, though, it\u2019s recommended that you back up the file, either by creating a copy of it or downloading it to your computer."}],"data":[],"style":{"textAlign":"left","color":"","dropCap":false,"parent_style":{}}},{"type":"core\/paragraph","render":"<p>If you are accessing wp-config.php via the cPanel File Manager, you can right-click on the file, and then select Edit from the menu.<\/p>","content":[{"type":"text","data":"If you are accessing wp-config.php via the cPanel File Manager, you can right-click on the file, and then select Edit from the menu."}],"data":[],"style":{"textAlign":"left","color":"","dropCap":false,"parent_style":{}}},{"type":"core\/image","render":"<figure class=\"wp-block-image size-full\"><img src=\"https:\/\/memberpress.com\/wp-content\/uploads\/2019\/11\/Force-Logout-All-Users-Edit-Menu.png\" alt=\"File Manager Menu\" class=\"wp-image-20045\"\/><\/figure>","content":"https:\/\/memberpress.com\/wp-content\/uploads\/2019\/11\/Force-Logout-All-Users-Edit-Menu.png","data":{"alt":"File Manager Menu","src":"https:\/\/memberpress.com\/wp-content\/uploads\/2019\/11\/Force-Logout-All-Users-Edit-Menu.png"},"style":{"width":1600,"height":857,"align":"left","parent_style":{},"sizeSlug":"full"}},{"type":"core\/paragraph","render":"<p>Once you\u2019re editing the wp-config.php file, you\u2019ll be able to change the lines that relate to the authentication of the logged in users. Doing so will force logout all of the users in your membership site.<\/p>","content":[{"type":"text","data":"Once you\u2019re editing the wp-config.php file, you\u2019ll be able to change the lines that relate to the authentication of the logged in users. Doing so will force logout all of the users in your membership site."}],"data":[],"style":{"textAlign":"left","color":"","dropCap":false,"parent_style":{}}},{"type":"core\/paragraph","render":"<p>To find the relevant part of the wp-config.php file, search for Authentication. This will take you to this part of the file:<\/p>","content":[{"type":"text","data":"To find the relevant part of the wp-config.php file, search for Authentication. This will take you to this part of the file:"}],"data":[],"style":{"textAlign":"left","color":"","dropCap":false,"parent_style":{}}},{"type":"core\/image","render":"<figure class=\"wp-block-image size-full\"><img src=\"https:\/\/memberpress.com\/wp-content\/uploads\/2019\/11\/Force-Logout-All-Users-Authentication.png\" alt=\"Keys\" class=\"wp-image-20046\"\/><\/figure>","content":"https:\/\/memberpress.com\/wp-content\/uploads\/2019\/11\/Force-Logout-All-Users-Authentication.png","data":{"alt":"Keys","src":"https:\/\/memberpress.com\/wp-content\/uploads\/2019\/11\/Force-Logout-All-Users-Authentication.png"},"style":{"width":1600,"height":556,"align":"left","parent_style":{},"sizeSlug":"full"}},{"type":"core\/paragraph","render":"<p>Replacing these keys in the wp-config.php file with new ones will force logout all users on your WordPress website. To get new keys, visit the site mentioned in the file: <a href=\"https:\/\/api.wordpress.org\/secret-key\/1.1\/salt\/\" target=\"_blank\" rel=\"noreferrer noopener\">https:\/\/api.wordpress.org\/secret-key\/1.1\/salt\/<\/a><\/p>","content":[{"type":"text","data":"Replacing these keys in the wp-config.php file with new ones will force logout all users on your WordPress website. To get new keys, visit the site mentioned in the file: <a href=\"https:\/\/api.wordpress.org\/secret-key\/1.1\/salt\/\" target=\"_blank\" rel=\"noreferrer noopener\">https:\/\/api.wordpress.org\/secret-key\/1.1\/salt\/<\/a>"}],"data":[],"style":{"textAlign":"left","color":"","dropCap":false,"parent_style":{}}},{"type":"core\/paragraph","render":"<p>There, you\u2019ll find a new set of keys that you can copy and then paste into your wp-config.php file to replace the existing ones. After saving the file, all of the logged-in users will be logged out.<\/p>","content":[{"type":"text","data":"There, you\u2019ll find a new set of keys that you can copy and then paste into your wp-config.php file to replace the existing ones. After saving the file, all of the logged-in users will be logged out."}],"data":[],"style":{"textAlign":"left","color":"","dropCap":false,"parent_style":{}}},{"type":"core\/paragraph","render":"<p>As long as their accounts are still active on your site, those users will be able to log in again. However, if you are working on your website and want to prevent anyone apart from yourself from logging in, you can do so with a plugin like <a rel=\"noreferrer noopener\" href=\"https:\/\/wordpress.org\/plugins\/disable-login\/\" target=\"_blank\">Disable Login<\/a>.<\/p>","content":[{"type":"text","data":"As long as their accounts are still active on your site, those users will be able to log in again. However, if you are working on your website and want to prevent anyone apart from yourself from logging in, you can do so with a plugin like <a rel=\"noreferrer noopener\" href=\"https:\/\/wordpress.org\/plugins\/disable-login\/\" target=\"_blank\">Disable Login<\/a>."}],"data":[],"style":{"textAlign":"left","color":"","dropCap":false,"parent_style":{}}},{"type":"core\/heading","render":"<h2 class=\"wp-block-heading\">Final Thoughts<\/h2>","content":"Reflexiones finales","data":[],"style":{"align":"left","parent_style":{},"header":"h2","fontSize":"27px"}},{"type":"core\/paragraph","render":"<p>You now know two different ways to force logout all users in your membership site.<\/p>","content":[{"type":"text","data":"You now know two different ways to force logout all users in your membership site."}],"data":[],"style":{"textAlign":"left","color":"","dropCap":false,"parent_style":{}}},{"type":"core\/paragraph","render":"<p>Whether you choose to <a href=\"https:\/\/wordpress.org\/plugins\/wp-force-logout\/\" target=\"_blank\" rel=\"noreferrer noopener\">use a plugin<\/a> or decide to edit the wp-config.php file, it\u2019s very easy to log out your users.<\/p>","content":[{"type":"text","data":"Whether you choose to <a href=\"https:\/\/wordpress.org\/plugins\/wp-force-logout\/\" target=\"_blank\" rel=\"noreferrer noopener\">use a plugin<\/a> or decide to edit the wp-config.php file, it\u2019s very easy to log out your users."}],"data":[],"style":{"textAlign":"left","color":"","dropCap":false,"parent_style":{}}},{"type":"core\/paragraph","render":"<p><em>If you have any questions about this, please leave a comment below. <\/em><\/p>","content":[{"type":"text","data":"<em>If you have any questions about this, please leave a comment below. <\/em>"}],"data":[],"style":{"textAlign":"left","color":"","dropCap":false,"parent_style":{}}}],"app_access":{"can_access":true,"restrict_message":null},"_links":{"self":[{"href":"https:\/\/memberpress.com\/es\/wp-json\/wp\/v2\/posts\/20039","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/memberpress.com\/es\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/memberpress.com\/es\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/memberpress.com\/es\/wp-json\/wp\/v2\/users\/2122"}],"replies":[{"embeddable":true,"href":"https:\/\/memberpress.com\/es\/wp-json\/wp\/v2\/comments?post=20039"}],"version-history":[{"count":0,"href":"https:\/\/memberpress.com\/es\/wp-json\/wp\/v2\/posts\/20039\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/memberpress.com\/es\/wp-json\/wp\/v2\/media\/20048"}],"wp:attachment":[{"href":"https:\/\/memberpress.com\/es\/wp-json\/wp\/v2\/media?parent=20039"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/memberpress.com\/es\/wp-json\/wp\/v2\/categories?post=20039"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/memberpress.com\/es\/wp-json\/wp\/v2\/tags?post=20039"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}