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

非アクティブなプラグインはWordPressを遅くする?削除すべき?

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

最近、ある読者から無効化されたプラグインがWordPressの速度を低下させていることについて、また無効化されたプラグインを削除すべきかどうかについての質問がありました。

WordPressユーザーの多くは、テストのためにプラグインをインストールし、その後無効化することが多い。

この投稿では、無効化されたプラグインはWordPressの速度を低下させるのか、また、無効化されたプラグインを削除しても安全なのかという疑問にお答えします。

Do deactivated plugins slow down WordPress? Should you delete inactive plugins?

WordPressの無効化プラグインとは?

WordPressの最も優れた点は、WordPressプラグインを使って拡張できることです。WordPressプラグインをインストールすると、WordPressはプラグインファイルをWebサーバーにダウンロードします。

プラグインを使い始めるには、有効化する必要があります。

Activate a WordPress plugin

プラグインをインストールし、後で有効化することができます。

また、試したが役に立たなかったプラグインを無効化することもできます。WordPress管理エリアのプラグインページで、有効化したプラグインと無効化したプラグインをすべて確認できます。

Installed plugins

有効化したプラグインは青くハイライトされ、非有効化プラグインはその下に「削除」リンクが表示されます。

非アクティブなプラグインはWordPressを遅くする?

いいえ、無効化されたプラグインがWordPressの動作を遅くすることはありません。それを理解するために、WordPressが舞台裏でどのように動いているのかを見てみましょう。

ユーザーがWordPressサイトからページをリクエストするたびに、WordPressは読み込みプロセスを開始します。このプロセスでは、サイトに有効化したプラグインのみがロードされます。非アクティブなプラグインはすべて無視され、読み込まれませんし、見ることもできません。

WordPressサイトに何十もの非アクティブなプラグインがインストールされていても、サイトのパフォーマンスに影響を与えたり、動作が重くなったりすることはありません。

WordPressがサイト上のアクティブでないプラグインを探すのは、WordPress管理エリアの「インストール済みプラグイン」ページをロードするときだけです。その場合でも、プラグインのヘッダーファイルを探すだけで、プラグイン自体を読み込むことはありません。

WordPressサイトの動作が遅い場合、プラグインが有効でないことが原因ではありません。WordPressを高速化し、パフォーマンスを向上させるためのステップバイステップガイドをご覧ください。

WordPressの非アクティブなプラグインは削除すべきか?

WordPressでプラグインを直接削除する代わりに無効化できるのは、プラグインを一時的にオフにしたい場合があるからです。

近々そのプラグインを使う予定があり、プラグインを削除するとその設定が削除されてしまうことを恐れているのであれば、プラグインは残しておくべきだ。

そうでなければ、非アクティブなプラグインをサイトにインストールしたままにしておく意味がない。実際、これらのプラグインは時として非常に問題となることがある。

例えば、そのプラグインを使用しているかどうかにかかわらず、WordPressはそれらのプラグインの更新を表示します。これは、特に定期的に更新されるプラグインを多くインストールしているサイトでは、少し煩わしいかもしれません。

非アクティブなプラグインは無害ですが、実行可能ファイルであることに変わりはありません。ハッキングを試みられた場合、これらのファイルは感染したり、あなたのサイトにマルウェアをインストールするために使用される可能性があります。

WordPressのセキュリティ対策として、使用しないプラグインは削除しておきましょう。WordPressプラグインの正しいアンインストール方法については、初心者向けガイドをご覧ください。

Deleting an Inactive Plugin in WordPress

WordPressプラグインのエキスパートガイド

非アクティブなプラグインがサイトにどのような影響を与えるかお分かりいただけたと思いますので、WordPressのプラグインのベストプラクティスに関連する他の投稿もご覧ください。

この投稿が、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

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

  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. Dayo Olobayo says

    Thanks for clearing this up… I always thought inactive plugins might be slowing things down, but it’s good to know that’s not the case. However, I will be more mindful of keeping my plugin list clean to avoid any security vulnerabilities.

  3. Mrteesurez says

    For me, the reason why I keep inactive is for a fear of if plugin will be available for download again. It has happened to me twice, I got to the plugin directly to download the plugin but no find it again (has been removed or stopped).
    Although, this day I don’t usually keep them much as I would have downloaded the plugin files on my system in case I later need it or it’s elements.
    thanks.

    • WPBeginner Support says

      You’re welcome and there’s nothing wrong with downloading the file off your site instead of keeping the plugin inactive on your site :)

      管理者

  4. Chris says

    HI,

    I have deactivated a few plugins but have not deleted them in case I want to use them later.
    But the Updates to these Plugins show up on my Dashboard under the Updates and Plugin tabs.

    Is there a way to turn off the notifications for updates to Deactivated Plugins?

    Thanks.

    • WPBeginner Support says

      We would not recommend removing the update notification and you should keep the deactivated plugins up to date to keep your site safe.

      管理者

      • Chris says

        Thanks for the reply to my question and confirming that deactivated plugins should be kept up to date.

  5. Harwinder Karwal says

    Do I lose the database on deactivating a plugin?
    Do I get the database after reactivating a plugin?
    Any other benefit of the deactivation/activation process of the plugin (s)?

    • WPBeginner Support says

      It would depend on the plugin but you should keep the plugin data when you deactivate a plugin and don’t completely remove it so it would have all of your information when reactivating your plugin.

      You would normally only have deactivated plugins on your site if you are troubleshooting a problem or have a very specific need for a plugin for a limited time.

      管理者

  6. Mark says

    Is there any performance benefit (or problem) in deactivating a plugin that is used to develop your site so for example Elementor or Contact Form 7. It could then be activated if you need to edit later.

    • WPBeginner Support says

      Deactivating a plugin would remove its functionality until the plugin is reactivated. If you’re not using the plugin then deactivating it could help a small amount with your site’s performance.

      管理者

  7. rakesh kumar says

    I do understand that inactive plugins do not slow-down you website if they are not in a very large number as they have very small footprint in your database, Since the information of the plugin is stored in the database and every time WordPress generate a new page, looks in the database, So according to me if you are not using any plugin then all the traces of that plugin must not appear on your system. If they are there then it should slow-down the website.

  8. Luis Daniel Carbia says

    Hey, I had this doubt and this article resolved it the correct way: concise and detailed. Thanks!

  9. Jason says

    If working on a client’s site, i always like to remove any inactive plugins I do not think we will need to use. That way, your client does not intentionally or inadvertently active any plugin(s) they are not familiar with. Removing inactive plugins also lessens any hacker’s targets.

返信を残す

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