You need to enable JavaScript to run this app.
优惠活动
大模型
产品
解决方案
定价
更多

WordPress后台因已停用的Clef插件无法登录,如何移除该双因素验证?

How to Remove the Clef Plugin When It Blocks WordPress Admin Access

Alright, let's fix this frustrating Clef plugin issue—since it shut down back in 2017, its broken "loading clef login" screen is locking you out of your WordPress admin. Here are two solid methods to get rid of it:

This is the simplest approach, no database tweaks required:

  • Log into your web host's control panel (like cPanel) and open the File Manager, or connect to your server using an FTP tool (e.g., FileZilla).
  • Navigate to the wp-content/plugins directory in your WordPress installation.
  • Locate the folder named clef—rename it to something like clef-disabled (any name works as long as it's not the original).
  • Head back to your WordPress login page: the Clef plugin will be automatically disabled, and you can log into the admin dashboard normally. Once inside, you can delete the renamed clef-disabled folder permanently from the Plugins menu.

Method 2: Disable via Database (If FTP Access Isn't Available)

If you can't access FTP, you can tweak the WordPress database to deactivate Clef:

  • Log into your web host's control panel and open phpMyAdmin.
  • Select your WordPress database from the left sidebar (it’ll have a name matching your site, often with a wp_ prefix).
  • Find and click on the wp_options table (the prefix might differ if you changed it during setup).
  • Use the search bar to look for the option_name value active_plugins.
  • Click the Edit button next to this entry. You’ll see a serialized array of active plugins.
  • Locate the line that reads clef/clef.php and remove it—make sure to adjust the array count at the start (e.g., if it was a:3:{...} and you remove one plugin, change it to a:2:{...}) to avoid breaking the serialization.
  • Save your changes, then return to your WordPress login page. You should now be able to log in without the stuck Clef loading screen.

Quick Notes

  • Always back up your database before making edits—this prevents accidental data loss if something goes wrong.
  • Once you’re back in the admin, consider switching to a maintained 2FA plugin (like Google Authenticator) if you still want two-factor authentication for your site.

内容的提问来源于stack exchange,提问作者Amir Vafaei

相关产品推荐
方舟 Agent Plan

超全模态模型 × Harness 升级,最新支持 Deepseek-V4.1-Flash、GLM-5.3 系列、Doubao-Seedream-5.0-pro、Kimi-K3 (部分), 限时 9.9 元起

最近更新时间:2026.05.22 07:48:57