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.

httpでwordpressのapplication passwordsを有効にする方法。

Last updated at Posted at 2022-08-20

やったこと

Application Passwordsをdockerでlocalhostに立てたwordpressで使おうとした際、Application Passwordsをhttpで使うには"WP_ENVIRONMENT_TYPE"を"local"にする必要があり(参考)、日本語に情報がなかったため(少し調べた限りでは)記事にしてみました。
ちなみに私はWordpressをDockerでしか立ち上げたことがないため、Dockerでの設定方法のみを記載しています。申し訳ありません、、m(_ _)m

環境

設定方法

dockerの場合

docker-compose.yamlに"WP_ENVIRONMENT_TYPE: local"を追加するだけです。

docker-compose.yaml
...
   wordpress:
     ...
     environment:
       ...
       WP_ENVIRONMENT_TYPE: local
...

参考

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?