{"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\/pt\/blog\/how-to-force-logout-all-users-in-your-membership-site\/","title":{"rendered":"Como for\u00e7ar o logout de todos os usu\u00e1rios em seu site de associa\u00e7\u00e3o"},"content":{"rendered":"<p>O WordPress \u00e9 ideal para criar sites de associa\u00e7\u00e3o, pois o software j\u00e1 tem um bom suporte interno para lidar com v\u00e1rios usu\u00e1rios conectados. Ent\u00e3o, ao instalar um <a href=\"https:\/\/memberpress.com\/pt\/features\/\">plugin de associa\u00e7\u00e3o respeit\u00e1vel<\/a>Se voc\u00ea quiser, pode aprimorar essa funcionalidade para controlar como esses usu\u00e1rios t\u00eam acesso ao seu site, qual conte\u00fado eles podem visualizar e muito mais.<\/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-6a1b945d2c7f3\" class=\"ez-toc-cssicon-toggle-label\"><p class=\"ez-toc-title\" style=\"cursor:inherit\">O QUE H\u00c1 DENTRO<\/p>\n<span class=\"ez-toc-cssicon\"><span class=\"eztoc-hide\" style=\"display:none;\">Alternar<\/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-6a1b945d2c7f3\"  \/><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\/pt\/blog\/how-to-force-logout-all-users-in-your-membership-site\/#Why_Force_Logout_All_Users_in_Your_Membership_Site\" >Por que for\u00e7ar o logout de todos os usu\u00e1rios em seu site de associa\u00e7\u00e3o?<\/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\/pt\/blog\/how-to-force-logout-all-users-in-your-membership-site\/#Dealing_with_Security_Issues\" >Lidando com problemas de seguran\u00e7a<\/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\/pt\/blog\/how-to-force-logout-all-users-in-your-membership-site\/#Changing_Registration_Policies\" >Altera\u00e7\u00e3o das pol\u00edticas de registro<\/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\/pt\/blog\/how-to-force-logout-all-users-in-your-membership-site\/#Updating_Your_Site_and_Its_Content\" >Atualiza\u00e7\u00e3o do site e do conte\u00fado<\/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\/pt\/blog\/how-to-force-logout-all-users-in-your-membership-site\/#Temporarily_Closing_Your_Membership_Site\" >Fechamento tempor\u00e1rio de seu site de associa\u00e7\u00e3o<\/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\/pt\/blog\/how-to-force-logout-all-users-in-your-membership-site\/#Removing_Inactive_Members\" >Remo\u00e7\u00e3o de membros inativos<\/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\/pt\/blog\/how-to-force-logout-all-users-in-your-membership-site\/#How_to_Force_Logout_All_Users_of_Your_WordPress_Membership_Site\" >Como for\u00e7ar o logout de todos os usu\u00e1rios do seu site de associa\u00e7\u00e3o do 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\/pt\/blog\/how-to-force-logout-all-users-in-your-membership-site\/#How_to_Force_Logout_Your_WordPress_Users_with_a_Plugin\" >Como for\u00e7ar o logout de seus usu\u00e1rios do WordPress com um plug-in<\/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\/pt\/blog\/how-to-force-logout-all-users-in-your-membership-site\/#How_to_Force_Logout_All_Users_Without_Using_a_Plugin\" >Como for\u00e7ar o logout de todos os usu\u00e1rios sem usar um plug-in<\/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\/pt\/blog\/how-to-force-logout-all-users-in-your-membership-site\/#Final_Thoughts\" >Considera\u00e7\u00f5es finais<\/a><\/li><\/ul><\/nav><\/div>\n\n\n\n\n<p>Entretanto, se chegar um momento em que voc\u00ea precise for\u00e7ar o logout de todos os usu\u00e1rios em seu site de associa\u00e7\u00e3o, logo descobrir\u00e1 que essa funcionalidade n\u00e3o est\u00e1 presente no software principal do WordPress. Portanto, se voc\u00ea suspeitar que usu\u00e1rios n\u00e3o autorizados possam estar conectados ao seu site ou se precisar restringir o acesso ao conte\u00fado da associa\u00e7\u00e3o antes de atualiz\u00e1-lo, por padr\u00e3o, n\u00e3o h\u00e1 muito o que fazer no painel do WordPress para for\u00e7ar o logout desses usu\u00e1rios.<\/p>\n\n\n\n<p>Felizmente, como voc\u00ea ver\u00e1 neste guia, \u00e9 relativamente f\u00e1cil for\u00e7ar o logout de todos os usu\u00e1rios em seu site de associa\u00e7\u00e3o do WordPress instalando um plug-in gratuito ou adotando uma abordagem mais pr\u00e1tica para realizar o trabalho.<\/p>\n\n\n\n<p>Mas antes de falarmos sobre como voc\u00ea pode for\u00e7ar todos ou alguns dos seus membros a fazer logout do seu site, vamos dar uma olhada r\u00e1pida no motivo pelo qual voc\u00ea pode querer fazer isso em primeiro 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 que for\u00e7ar o logout de todos os usu\u00e1rios em seu site de associa\u00e7\u00e3o?<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<p>H\u00e1 muitos motivos pelos quais voc\u00ea pode querer for\u00e7ar todos os usu\u00e1rios do seu site de associa\u00e7\u00e3o a fazer logout. <\/p>\n\n\n\n<h3 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Dealing_with_Security_Issues\"><\/span>Lidando com problemas de seguran\u00e7a<span class=\"ez-toc-section-end\"><\/span><\/h3>\n\n\n\n<p>Talvez um dos cen\u00e1rios mais comuns seja quando voc\u00ea suspeita que seu site foi invadido ou que sua seguran\u00e7a foi comprometida de alguma forma. Usando o plugin WPForce Logout, que veremos mais adiante neste guia, voc\u00ea pode ver exatamente quem est\u00e1 conectado ao seu site e, se necess\u00e1rio, for\u00e7ar individualmente o logout de qualquer um desses usu\u00e1rios.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Changing_Registration_Policies\"><\/span>Altera\u00e7\u00e3o das pol\u00edticas de registro<span class=\"ez-toc-section-end\"><\/span><\/h3>\n\n\n\n<p>Outro motivo pelo qual voc\u00ea pode querer for\u00e7ar o logout de todos os seus usu\u00e1rios \u00e9 se voc\u00ea atualizou a seguran\u00e7a do seu site de associa\u00e7\u00e3o. Se voc\u00ea come\u00e7ou a exigir que todos os membros ou usu\u00e1rios confirmem seus endere\u00e7os de e-mail antes de poderem fazer login, mas h\u00e1 usu\u00e1rios que j\u00e1 fizeram login antes dessa altera\u00e7\u00e3o, voc\u00ea pode for\u00e7ar o logout desses usu\u00e1rios, seguindo as orienta\u00e7\u00f5es deste guia, e exigir que eles confirmem seus e-mails antes de poderem fazer login novamente.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Updating_Your_Site_and_Its_Content\"><\/span>Atualiza\u00e7\u00e3o do site e do conte\u00fado<span class=\"ez-toc-section-end\"><\/span><\/h3>\n\n\n\n<p>Se voc\u00ea estiver prestes a atualizar seu site de associa\u00e7\u00e3o, adicionando mais conte\u00fado ou talvez alterando seu design, talvez queira for\u00e7ar o logout de todos os usu\u00e1rios antes de come\u00e7ar a trabalhar. Isso evitar\u00e1 que eles tenham problemas enquanto voc\u00ea estiver trabalhando no site.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Temporarily_Closing_Your_Membership_Site\"><\/span>Fechamento tempor\u00e1rio de seu site de associa\u00e7\u00e3o<span class=\"ez-toc-section-end\"><\/span><\/h3>\n\n\n\n<p>Se houver outro motivo pelo qual voc\u00ea precise fechar temporariamente seu site de associa\u00e7\u00e3o ou restringir o acesso, saber como for\u00e7ar o logout de todos os seus usu\u00e1rios permitir\u00e1 que voc\u00ea garanta que ningu\u00e9m ainda tenha acesso ao seu site e ao seu conte\u00fado.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Removing_Inactive_Members\"><\/span>Remo\u00e7\u00e3o de membros inativos<span class=\"ez-toc-section-end\"><\/span><\/h3>\n\n\n\n<p>Por fim, se um membro cancelar a assinatura ou a associa\u00e7\u00e3o for encerrada por algum outro motivo, voc\u00ea poder\u00e1 for\u00e7ar o logout para encerrar a sess\u00e3o e impedir que ele acesse o conte\u00fado exclusivo para membros.<\/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>Como for\u00e7ar o logout de todos os usu\u00e1rios do seu site de associa\u00e7\u00e3o do WordPress<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<p>Como voc\u00ea est\u00e1 usando o WordPress para o seu site de associa\u00e7\u00e3o, pode facilmente for\u00e7ar o logout de todos os seus usu\u00e1rios - ou apenas de alguns deles - com alguns cliques, usando um plug-in espec\u00edfico. <\/p>\n\n\n\n<p>Neste guia, al\u00e9m de mostrar como for\u00e7ar os usu\u00e1rios conectados a fazer logout com um plug-in, demonstraremos como fazer isso manualmente, caso voc\u00ea prefira n\u00e3o instalar outro plug-in no seu site WordPress. <\/p>\n\n\n\n<p>No entanto, se voc\u00ea acha que for\u00e7ar\u00e1 seus membros a fazer logout em v\u00e1rias ocasi\u00f5es, usar o plug-in recomendado \u00e9 o m\u00e9todo mais 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>Como for\u00e7ar o logout de seus usu\u00e1rios do WordPress com um plug-in<span class=\"ez-toc-section-end\"><\/span><\/h3>\n\n\n\n<p>Quando se trata de escolher um plug-in que permita for\u00e7ar o logout dos usu\u00e1rios do seu site de associa\u00e7\u00e3o, <a rel=\"noreferrer noopener\" href=\"https:\/\/wordpress.org\/plugins\/wp-force-logout\/\" target=\"_blank\">Logout do WPForce<\/a> \u00e9 a escolha \u00f3bvia. Esse plug-in n\u00e3o \u00e9 apenas gratuito, mas tamb\u00e9m tem uma impressionante classifica\u00e7\u00e3o de cinco em cinco estrelas (embora com apenas seis avalia\u00e7\u00f5es).<\/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=\"Plug-in de logout do 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 esse plug-in est\u00e1 dispon\u00edvel gratuitamente, ele pode ser instalado diretamente no painel do WordPress. Para adicion\u00e1-lo ao seu site, basta fazer login na \u00e1rea de administra\u00e7\u00e3o do WordPress e clicar no item Add New (Adicionar novo) no menu Plugins, no lado esquerdo do painel. A partir da\u00ed, digite WPForce Logout na caixa de pesquisa e, em seguida, clique nos bot\u00f5es Install Now (Instalar agora) e Activate (Ativar).<\/p>\n\n\n\n<p>Quando o plug-in estiver em execu\u00e7\u00e3o no seu site, voc\u00ea poder\u00e1 ver quais dos seus membros ou usu\u00e1rios est\u00e3o atualmente conectados ao seu site na tela Usu\u00e1rios do WordPress, dentro do seu painel.<\/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=\"Exibir usu\u00e1rios 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>Na tela Usu\u00e1rios do WordPress, agora voc\u00ea pode for\u00e7ar o logout de todos os usu\u00e1rios do seu site de associa\u00e7\u00e3o ou de usu\u00e1rios individuais. Tamb\u00e9m \u00e9 poss\u00edvel fazer o logout de v\u00e1rios usu\u00e1rios ao mesmo tempo marcando as caixas ao lado dos detalhes deles, selecionando Logout no menu suspenso A\u00e7\u00f5es em massa e pressionando o bot\u00e3o 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=\"Fazer logout de v\u00e1rios usu\u00e1rios\" 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>Depois de desconectar um ou mais usu\u00e1rios, o status deles mudar\u00e1 para Off-line e eles ter\u00e3o que fazer login no site de associa\u00e7\u00e3o novamente para acessar o conte\u00fado 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>Como for\u00e7ar o logout de todos os usu\u00e1rios sem usar um plug-in<span class=\"ez-toc-section-end\"><\/span><\/h3>\n\n\n\n<p>Se voc\u00ea n\u00e3o quiser usar um plug-in, talvez precise for\u00e7ar o logout de todos os seus usu\u00e1rios apenas uma vez, ou se estiver apenas curioso para saber como isso \u00e9 feito, esta parte do nosso guia explicar\u00e1 o processo para fazer isso de forma mais manual. Para que isso funcione, voc\u00ea precisar\u00e1 ter acesso aos arquivos do seu servidor de hospedagem, com a capacidade de editar o arquivo wp-config.php da sua instala\u00e7\u00e3o do WordPress.<\/p>\n\n\n\n<p>Duas maneiras comuns de acessar esse arquivo incluem acessar o espa\u00e7o do servidor por meio do Gerenciador de arquivos do cPanel - ou outro tipo de software de painel de controle - fornecido pelo seu host da Web ou por meio do software FTP. Para saber como obter esse acesso, voc\u00ea precisar\u00e1 consultar a documenta\u00e7\u00e3o fornecida pelo host da Web de sua escolha.<\/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>Depois de saber como acessar os arquivos em seu servidor da Web, voc\u00ea precisar\u00e1 encontrar o arquivo wp-config.php que est\u00e1 localizado dentro da pasta public_html do diret\u00f3rio raiz do seu site.<\/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=\"Gerenciador de arquivos do 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>Depois de encontrar o arquivo, voc\u00ea precisar\u00e1 abri-lo para edi\u00e7\u00e3o. Antes, por\u00e9m, \u00e9 recomend\u00e1vel fazer backup do arquivo, seja criando uma c\u00f3pia dele ou fazendo o download para o computador.<\/p>\n\n\n\n<p>Se estiver acessando o wp-config.php por meio do Gerenciador de arquivos do cPanel, clique com o bot\u00e3o direito do mouse no arquivo e selecione Editar no menu.<\/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=\"Menu do gerenciador de arquivos\" 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>Depois de editar o arquivo wp-config.php, voc\u00ea poder\u00e1 alterar as linhas relacionadas \u00e0 autentica\u00e7\u00e3o dos usu\u00e1rios conectados. Isso for\u00e7ar\u00e1 o logout de todos os usu\u00e1rios em seu site de associa\u00e7\u00e3o.<\/p>\n\n\n\n<p>Para localizar a parte relevante do arquivo wp-config.php, procure por Authentication. Isso o levar\u00e1 a essa parte do arquivo:<\/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=\"Chaves\" 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>A substitui\u00e7\u00e3o dessas chaves no arquivo wp-config.php por novas chaves for\u00e7ar\u00e1 o logout de todos os usu\u00e1rios no seu site WordPress. Para obter novas chaves, visite o site mencionado no arquivo: <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>L\u00e1, voc\u00ea encontrar\u00e1 um novo conjunto de chaves que poder\u00e1 copiar e colar no arquivo wp-config.php para substituir as existentes. Depois de salvar o arquivo, todos os usu\u00e1rios conectados ser\u00e3o desconectados.<\/p>\n\n\n\n<p>Desde que as contas deles ainda estejam ativas no seu site, esses usu\u00e1rios poder\u00e3o fazer login novamente. No entanto, se estiver trabalhando no seu site e quiser impedir que qualquer pessoa, al\u00e9m de voc\u00ea, fa\u00e7a login, poder\u00e1 fazer isso com um plug-in como <a rel=\"noreferrer noopener\" href=\"https:\/\/wordpress.org\/plugins\/disable-login\/\" target=\"_blank\">Desativar login<\/a>.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Final_Thoughts\"><\/span>Considera\u00e7\u00f5es finais<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<p>Agora voc\u00ea conhece duas maneiras diferentes de for\u00e7ar o logout de todos os usu\u00e1rios em seu site de associa\u00e7\u00e3o.<\/p>\n\n\n\n<p>Se voc\u00ea optar por <a href=\"https:\/\/wordpress.org\/plugins\/wp-force-logout\/\" target=\"_blank\" rel=\"noreferrer noopener\">usar um plug-in<\/a> ou decidir editar o arquivo wp-config.php, \u00e9 muito f\u00e1cil fazer o logout dos usu\u00e1rios.<\/p>\n\n\n\n<p><em>Se voc\u00ea tiver alguma d\u00favida sobre isso, deixe um coment\u00e1rio abaixo. <\/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\/pt\/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=\"pt_BR\" \/>\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\/pt\/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\\\/pt\\\/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\\\/pt\\\/blog\\\/author\\\/jfylan\\\/#author\"},\"publisher\":{\"@id\":\"https:\\\/\\\/memberpress.com\\\/pt\\\/#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\":\"pt-BR\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/memberpress.com\\\/pt\\\/blog\\\/how-to-force-logout-all-users-in-your-membership-site\\\/#webpage\"},\"isPartOf\":{\"@id\":\"https:\\\/\\\/memberpress.com\\\/pt\\\/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\\\/pt\\\/blog\\\/how-to-force-logout-all-users-in-your-membership-site\\\/#breadcrumblist\",\"itemListElement\":[{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/memberpress.com\\\/pt#listItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/memberpress.com\\\/pt\",\"nextItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/memberpress.com\\\/pt\\\/blog\\\/category\\\/how-to-2\\\/#listItem\",\"name\":\"How To\"}},{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/memberpress.com\\\/pt\\\/blog\\\/category\\\/how-to-2\\\/#listItem\",\"position\":2,\"name\":\"How To\",\"item\":\"https:\\\/\\\/memberpress.com\\\/pt\\\/blog\\\/category\\\/how-to-2\\\/\",\"nextItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/memberpress.com\\\/pt\\\/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\\\/pt#listItem\",\"name\":\"Home\"}},{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/memberpress.com\\\/pt\\\/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\\\/pt\\\/blog\\\/category\\\/how-to-2\\\/#listItem\",\"name\":\"How To\"}}]},{\"@type\":\"Organization\",\"@id\":\"https:\\\/\\\/memberpress.com\\\/pt\\\/#organization\",\"name\":\"MemberPress\",\"description\":\"The All-In-One WordPress Membership Plugin\",\"url\":\"https:\\\/\\\/memberpress.com\\\/pt\\\/\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https:\\\/\\\/memberpress.com\\\/wp-content\\\/uploads\\\/2022\\\/10\\\/mp-icon-RGB_Icon-01.jpg\",\"@id\":\"https:\\\/\\\/memberpress.com\\\/pt\\\/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\\\/pt\\\/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\\\/pt\\\/blog\\\/author\\\/jfylan\\\/#author\",\"url\":\"https:\\\/\\\/memberpress.com\\\/pt\\\/blog\\\/author\\\/jfylan\\\/\",\"name\":\"Joe Fylan\",\"image\":{\"@type\":\"ImageObject\",\"url\":\"https:\\\/\\\/memberpress.com\\\/wp-content\\\/litespeed\\\/avatar\\\/8efbb5b67aecb906b5f72f49bd070141.jpg?ver=1779982501\"}},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/memberpress.com\\\/pt\\\/blog\\\/how-to-force-logout-all-users-in-your-membership-site\\\/#webpage\",\"url\":\"https:\\\/\\\/memberpress.com\\\/pt\\\/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\":\"pt-BR\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/memberpress.com\\\/pt\\\/#website\"},\"breadcrumb\":{\"@id\":\"https:\\\/\\\/memberpress.com\\\/pt\\\/blog\\\/how-to-force-logout-all-users-in-your-membership-site\\\/#breadcrumblist\"},\"author\":{\"@id\":\"https:\\\/\\\/memberpress.com\\\/pt\\\/blog\\\/author\\\/jfylan\\\/#author\"},\"creator\":{\"@id\":\"https:\\\/\\\/memberpress.com\\\/pt\\\/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\\\/pt\\\/blog\\\/how-to-force-logout-all-users-in-your-membership-site\\\/#mainImage\",\"width\":1100,\"height\":733},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/memberpress.com\\\/pt\\\/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\\\/pt\\\/#website\",\"url\":\"https:\\\/\\\/memberpress.com\\\/pt\\\/\",\"name\":\"MemberPress\",\"description\":\"The All-In-One WordPress Membership Plugin\",\"inLanguage\":\"pt-BR\",\"publisher\":{\"@id\":\"https:\\\/\\\/memberpress.com\\\/pt\\\/#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":"Como for\u00e7ar o logout de todos os usu\u00e1rios em seu site de associa\u00e7\u00e3o","description":"Descubra como for\u00e7ar o logout de todos os usu\u00e1rios em seu site de associa\u00e7\u00e3o usando um plug-in do WordPress ou editando diretamente o arquivo wp-config.php.","canonical_url":"https:\/\/memberpress.com\/pt\/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\/pt\/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\/pt\/blog\/author\/jfylan\/#author"},"publisher":{"@id":"https:\/\/memberpress.com\/pt\/#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":"pt-BR","mainEntityOfPage":{"@id":"https:\/\/memberpress.com\/pt\/blog\/how-to-force-logout-all-users-in-your-membership-site\/#webpage"},"isPartOf":{"@id":"https:\/\/memberpress.com\/pt\/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\/pt\/blog\/how-to-force-logout-all-users-in-your-membership-site\/#breadcrumblist","itemListElement":[{"@type":"ListItem","@id":"https:\/\/memberpress.com\/pt#listItem","position":1,"name":"Home","item":"https:\/\/memberpress.com\/pt","nextItem":{"@type":"ListItem","@id":"https:\/\/memberpress.com\/pt\/blog\/category\/how-to-2\/#listItem","name":"How To"}},{"@type":"ListItem","@id":"https:\/\/memberpress.com\/pt\/blog\/category\/how-to-2\/#listItem","position":2,"name":"How To","item":"https:\/\/memberpress.com\/pt\/blog\/category\/how-to-2\/","nextItem":{"@type":"ListItem","@id":"https:\/\/memberpress.com\/pt\/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\/pt#listItem","name":"Home"}},{"@type":"ListItem","@id":"https:\/\/memberpress.com\/pt\/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\/pt\/blog\/category\/how-to-2\/#listItem","name":"How To"}}]},{"@type":"Organization","@id":"https:\/\/memberpress.com\/pt\/#organization","name":"MemberPress","description":"The All-In-One WordPress Membership Plugin","url":"https:\/\/memberpress.com\/pt\/","logo":{"@type":"ImageObject","url":"https:\/\/memberpress.com\/wp-content\/uploads\/2022\/10\/mp-icon-RGB_Icon-01.jpg","@id":"https:\/\/memberpress.com\/pt\/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\/pt\/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\/pt\/blog\/author\/jfylan\/#author","url":"https:\/\/memberpress.com\/pt\/blog\/author\/jfylan\/","name":"Joe Fylan","image":{"@type":"ImageObject","url":"https:\/\/memberpress.com\/wp-content\/litespeed\/avatar\/8efbb5b67aecb906b5f72f49bd070141.jpg?ver=1779982501"}},{"@type":"WebPage","@id":"https:\/\/memberpress.com\/pt\/blog\/how-to-force-logout-all-users-in-your-membership-site\/#webpage","url":"https:\/\/memberpress.com\/pt\/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":"pt-BR","isPartOf":{"@id":"https:\/\/memberpress.com\/pt\/#website"},"breadcrumb":{"@id":"https:\/\/memberpress.com\/pt\/blog\/how-to-force-logout-all-users-in-your-membership-site\/#breadcrumblist"},"author":{"@id":"https:\/\/memberpress.com\/pt\/blog\/author\/jfylan\/#author"},"creator":{"@id":"https:\/\/memberpress.com\/pt\/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\/pt\/blog\/how-to-force-logout-all-users-in-your-membership-site\/#mainImage","width":1100,"height":733},"primaryImageOfPage":{"@id":"https:\/\/memberpress.com\/pt\/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\/pt\/#website","url":"https:\/\/memberpress.com\/pt\/","name":"MemberPress","description":"The All-In-One WordPress Membership Plugin","inLanguage":"pt-BR","publisher":{"@id":"https:\/\/memberpress.com\/pt\/#organization"}}]},"og:locale":"pt_BR","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\/pt\/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 como for\u00e7ar o logout de todos os usu\u00e1rios em seu site de associa\u00e7\u00e3o usando um plug-in do WordPress ou editando diretamente o arquivo 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\/pt\" title=\"Home\">Home<\/a>\n<\/span><span class=\"aioseo-breadcrumb-separator\">&raquo;<\/span><span class=\"aioseo-breadcrumb\">\n\t<a href=\"https:\/\/memberpress.com\/pt\/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\/pt"},{"label":"How To","link":"https:\/\/memberpress.com\/pt\/blog\/category\/how-to-2\/"},{"label":"How to Force Logout All Users in Your Membership Site","link":"https:\/\/memberpress.com\/pt\/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 que for\u00e7ar o logout de todos os usu\u00e1rios em seu site de associa\u00e7\u00e3o?","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":"Lidando com problemas de seguran\u00e7a","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":"Altera\u00e7\u00e3o das pol\u00edticas de registro","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":"Atualiza\u00e7\u00e3o do site e do conte\u00fado","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":"Fechamento tempor\u00e1rio de seu site de associa\u00e7\u00e3o","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":"Remo\u00e7\u00e3o de membros inativos","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":"Como for\u00e7ar o logout de todos os usu\u00e1rios do seu site de associa\u00e7\u00e3o do 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":"Como for\u00e7ar o logout de seus usu\u00e1rios do WordPress com um plug-in","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":"Como for\u00e7ar o logout de todos os usu\u00e1rios sem usar um plug-in","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":"Considera\u00e7\u00f5es finais","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\/pt\/wp-json\/wp\/v2\/posts\/20039","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/memberpress.com\/pt\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/memberpress.com\/pt\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/memberpress.com\/pt\/wp-json\/wp\/v2\/users\/2122"}],"replies":[{"embeddable":true,"href":"https:\/\/memberpress.com\/pt\/wp-json\/wp\/v2\/comments?post=20039"}],"version-history":[{"count":0,"href":"https:\/\/memberpress.com\/pt\/wp-json\/wp\/v2\/posts\/20039\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/memberpress.com\/pt\/wp-json\/wp\/v2\/media\/20048"}],"wp:attachment":[{"href":"https:\/\/memberpress.com\/pt\/wp-json\/wp\/v2\/media?parent=20039"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/memberpress.com\/pt\/wp-json\/wp\/v2\/categories?post=20039"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/memberpress.com\/pt\/wp-json\/wp\/v2\/tags?post=20039"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}