Trusted WordPress tutorials, when you need them most.
Beginner’s Guide to WordPress
WPBカップ
25 Million+
Websites using our plugins
16+
Years of WordPress experience
3000+
WordPress tutorials
by experts

FTPでWordPressプラグインを手動更新する方法

編集メモ: WPBeginner のパートナーリンクから手数料を得ています。手数料は編集者の意見や評価に影響を与えません。編集プロセスについて詳しく知る。

FTP経由でWordPressプラグインを手動更新する方法を学びたいですか?

時々、1-click WordPressプラグインの更新が失敗し、サイトが壊れてしまうことがあります。これを解決するには、手動でプラグインを更新するしかありません。

この投稿では、サイトを壊すことなくFTP経由でWordPressプラグインを手動更新する方法を紹介します。

Manually updating WordPress plugins via FTP

なぜWordPressプラグインを手動で更新するのか?

FTP経由でWordPressプラグインを手動更新したい理由はいくつかあります。

テーマや他のプラグイン、サーバー設定との競合により、プラグインの自動更新が正常に機能しないことがあります。

また、ファイルの権限が正しくないために失敗することもあります。このような場合は、手動更新で問題を解決することができます。

サーバーが過負荷の場合、自動更新に失敗することがあります。定期メンテナンスのため利用できません」、「構文エラー」、「内部サーバーエラー」が表示されることもあります。手動更新は、サーバーの負荷を増やすことなく、プラグインを最新の状態に保つことができます。

手動更新では、どのバージョンのプラグインをインストールするかもコントロールできます。これは、新しいバージョンですぐに実装したくない機能や変更がある場合に便利です。

最後に、複数のWordPressサイトを管理している場合、各サイトにログイン中やログアウト中に個別に更新を行うよりも、一元管理された場所で手動更新を行う方が簡単です。

それを念頭に置いて、FTP経由でWordPressプラグインを手動更新する方法を見てみましょう。

動画チュートリアル

Subscribe to WPBeginner

動画が気に入らなかったり、もっと説明が必要な場合は、このまま読み進めてください。

FTPによるWordPressプラグインの手動更新

まず、更新しようとしているプラグインの最新バージョンをダウンロードする必要があります。無料のプラグインであれば、WordPress.orgのプラグインページからダウンロードできます。

downloading a free WordPress plugin

それがプレミアムプラグインであれば, あなたは、特定のプラグインのサイトから最新バージョンをダウンロードすることができます.あなたのアカウントにログインし、コンピュータにプラグインをダウンロードする必要があります.

プラグインはすべて.zipファイルになっているので、解凍する必要がある。

Unzip plugin file

次に、コンピューターにFTPクライアントをインストールする必要があります。この例ではFileZillaを使用しますが、お好きなFTPクライアントを使用できます。

FTPを使用してサイトに接続するには、ホスト名にサイト名を入力し、FTPユーザー名とパスワードを入力する必要があります。

Connecting FTP client to your website

FTPユーザー名またはパスワードがわからない場合は、WordPressホスティングサービス会社がサインアップしたときに送信したメールを確認してください。通常、そのメールにはFTPユーザー名とパスワードがコンテナされています。

または、cPanelまたはホスティングアカウントのダッシュボードでこの情報を見つけることもできます。

あなたのサイトがBluehostでホストされている場合は、ダッシュボードにログインし、[ホスティング]タブに移動することができます。その後、[サーバー情報]セクションまでスクロールダウンし、[FTPアクセス]の横にある[管理]をクリックします。

Accessing the hosting account's FTP accounts in Bluehost

cPanelのFTP Accountsページに到着します。FTPクライアントとホスティングサービスを接続するために使用できるFTPアカウントのリストがあるはずです。

パスワードをお忘れの場合は、アクションの下にある「パスワードの変更」をクリックするだけで、新しいパスワードを設定することができます。その後、「パスワードの変更」ボタンをクリックしてください。

Changing an FTP account password in Bluehost's cPanel

その後、FTPクライアントに新しいパスワードを入力します。

FTPでサイトに接続したら、/wp-content/plugins/フォルダーに移動する必要があります。

WordPressサイトにインストールされているすべてのプラグインについて、異なるフォルダーが表示されます。更新したいプラグインを右クリックし、「名前の変更」を選択します。

Rename old plugin folder

プラグイン・フォルダー名に-oldを加えるだけで、このプラグインの名前を変更できます。例えば、wpforms-old.

次に、名前を変更したフォルダーをバックアップとしてコンピューターにダウンロードする必要があります。これにより、万が一の場合に古いバージョンに戻すことができます。

Backup old version of plugin

古いプラグインをコンピューターにダウンロードした後、サイトから削除することができます。

こうすることで、WordPressからプラグインの痕跡が削除されます。

Delete old version of plugin from your website

また、WordPressのデータベースでプラグインが無効化されていることも確認したい。そのためには、WordPressの管理エリアにログインし、プラグインページにアクセスする必要があります。

プラグインがエラーにより無効化されたというエラーが表示されます。

Deactivated

古いバージョンを削除したので、次は最新バージョンのプラグインをインストールしましょう。

FTPクライアントに切り替え、’ローカル’セクションで、コンピューター上の新しいプラグインフォルダーを探します。ここで右クリックし、FTPメニューから「アップロード」を選択します。

Upload new version of the plugin

FTPクライアントがコンピューターからサイトへプラグインフォルダーの転送を開始します。

完了したら、WordPress管理エリアにログインし、プラグインページに移動します。新しくインストールしたプラグインを見つけて有効化する必要があります。

Activate the latest version of plugin

プラグインの更新バージョンを確認し、すべてが正しく動作していることを確認することができます。

以上で、FTPによるWordPressプラグインの更新は完了です。

古いWordPressプラグインを使うべきか?

WordPressのセキュリティには、常に最新バージョンのWordPressを使用することが重要です。また、WordPressのプラグインやテーマを更新しておくことも同様に重要です。

WordPressプラグインが更新後に動作しなくなった場合は、プラグインをロールバックし、プラグイン開発者に問題を報告することができます。

とはいえ、WordPressの最新バージョンでテストされていないWordPressプラグインがあったとしても、それが動かないというわけではありません。

それは単に、開発者が最近プラグインをテストしていないか、readmeファイルを更新していないことを意味します。WPBeginnerでは、まだテストされていないプラグインを推奨することがあります。

プラグインを使用しても安全かどうかわからない場合は、いつでもWordPressサイトのローカル版にインストールすることができます。そうすれば、プラグインによって引き起こされるエラーは、サイトの本番バージョンには影響しません。

この投稿が、FTP経由でWordPressプラグインを手動更新する方法を学ぶのにお役に立てば幸いです。WordPressのよくあるエラーとその修正方法のリストや、WordPressの管理画面にアクセスできないときにプラグインを無効化する方法についての投稿もご覧ください。

If you liked this article, then please subscribe to our YouTube Channel for WordPress video tutorials. You can also find us on Twitter and Facebook.

情報開示 私たちのコンテンツは読者支援型です。これは、あなたが私たちのリンクの一部をクリックした場合、私たちはコミッションを得ることができることを意味します。 WPBeginnerの資金源 をご覧ください。3$編集プロセスをご覧ください。

Avatar

Editorial Staff at WPBeginner is a team of WordPress experts led by Syed Balkhi with over 16 years of experience in WordPress, Web Hosting, eCommerce, SEO, and Marketing. Started in 2009, WPBeginner is now the largest free WordPress resource site in the industry and is often referred to as the Wikipedia for WordPress.

究極のWordPressツールキット

ツールキットへの無料アクセス - すべてのプロフェッショナルが持つべきWordPress関連製品とリソースのコレクション!

Reader Interactions

14件のコメント返信を残す

  1. Syed Balkhi says

    Hey WPBeginner readers,
    Did you know you can win exciting prizes by commenting on WPBeginner?
    Every month, our top blog commenters will win HUGE rewards, including premium WordPress plugin licenses and cash prizes.
    You can get more details about the contest from here.
    Start sharing your thoughts below to stand a chance to win!

  2. Sanmeet says

    Hello everyone !
    I just saw the comments and I am glad to tell that whenever you delete a plugin and then reinstall it the whole data is restored ; let’s take an example of Woocommerce , the plugin which I updated via this method and my data was there….

    • WPBeginner Support says

      It would depend on how it is deleted but you ar correct, this method would not delete the settings for the plugin :)

      管理者

  3. Roman says

    Sometimes, plugins (and WordPress as well), need to make changes in the database during the update process. If you simply replace the files, the database update won’t happen, will it? And you will end up with new plugin files and incompatible database schema and/or data. Is that correct?

    • WPBeginner Support says

      This is more for if the default update method did not work but WordPress and most plugins should check and give the option to update the database if needed to prevent those errors.

      管理者

  4. Ritul says

    When I have deleted the old plugin and now uploading the new one will my live site be broken because of it, for example, if I m updating Thrive Content builder or elementor??

  5. David says

    Thanks for the tutorial. I uploaded a brand new plugin, in the correct location, but for some reason it’s not showing in my list of plugins so i can activate it. Any idea why this would happen? Thanks.

    • WPBeginner Support says

      Hi David,

      WordPress may not recognize a plugin if it cannot locate the plugin header. Please reach out to the plugin author to make sure that you are uploading the correct folder.

      管理者

  6. Jenn says

    I recently downloaded a social share button plugin from a third party. They’ve recently come out with an update. Can I just deactivate and delete the old version and then just download the new updated version and activate it instead of using FTP to update? Would that be easier? Thanks for your feedback.

  7. Emma Bazai says

    It does update the plugin but I’ve lost all my configurations and data. All SEO has gone :(

    I had 304 posts and I will have to redo SEO for all of them :(

    Please help me :( I don’t have backups because I trusted this site for all my WordPress issues.

    • WPBeginner Support says

      Hi Emma,

      Which SEO plugin was that? Most WordPress plugins store data in your WordPress database and this data is not deleted when a plugin is deactivated or reactivated. You can also try reaching out to plugin authors for support.

      管理者

返信を残す

コメントありがとうございます。すべてのコメントは私たちのコメントポリシーに従ってモデレートされ、あなたのメールアドレスが公開されることはありませんのでご留意ください。名前欄にキーワードを使用しないでください。個人的で有意義な会話をしましょう。