0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 1 year has passed since last update.

【WordPress】WordPressの編集ログインパスワード忘れ対策

Posted at

Wordpressの新規投稿をするために、編集画面にログインしようとしたときにパスワード忘れをした時の対策。もしくは、変更したり忘れてないのに違うと表示された際の対策。

登録ユーザーに対して有効なメールアドレスや設定が実施済みの場合はパスワード忘れのページで変更作業をすれば良いが登録できていないメールが飛ばない場合はAWSコンソールからSSH接続で以下のコマンドで変更可能。

①sudo wp user listで登録ユーザの確認

②sudo wp user update 1 --user_pass=passwordで登録されているユーザーのパスワードを変更する。wp user update の後にユーザのインデックス番号、pass=の後に任意のパスワードを入力                       

【注意】wordpress上でメール設定プラグインでサーバを設定しているが正常に機能していないとエラーとなり変更ができない。

0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?