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

WordPressで保存先フォルダがすでに存在するエラーを修正する方法

WordPressで’Destination folder already exists’エラーが出ていませんか?

このエラーは通常、テーマやプラグインをサイトにインストールする際に発生しますが、WordPressは同じファイルがすでに以前にインストールされていると考えます。

この投稿では、WordPressの「Destination folder already exists」エラーを修正する方法を紹介します。

 How to Fix Destination Folder Already Exists Error in WordPress

動画チュートリアル

Subscribe to WPBeginner

文章での説明がお好きな方は、そのまま読み進めてください。

WordPressで宛先フォルダがすでに存在するエラーの原因は?

WordPressの’Destination folder already exists’エラーは、プラグインやテーマをインストールしようとしているときに、これらのファイルのフォルダーがすでに存在している場合に発生します。WordPressは次のエラーメッセージとともにインストールをキャンセルします:

開梱…

プラグインのインストール…

保存先フォルダーはすでに存在します。/home/websitename/public_html/wp-content/plugins/plugin-name/。

このプラグインはすでにインストールされています。

Example of the Destination folder already exists error in WordPress

このエラーの原因を突き止めるには、テーマやプラグインのページにアクセスして、WordPressサイトにプラグインやテーマがすでにインストールされているかどうかを確認する必要があります。

すでにインストールされていない場合、2つのことが考えられます。1つは、以前のインストールが失敗し、プラグインまたはテーマのフォルダーが残ってしまったことです。

もしそうなら、WordPressプラグインのアンインストールと WordPressテーマのアンインストールの初心者ガイドをお読みください。

あるいは、以前のインストールが中断され、インストール先のフォルダーが空になっている可能性もあります。

どちらの場合でも、インストールしようとしているテーマやプラグインと同じ名前のフォルダーがあるはずです。このフォルダーがWordPressのインストール完了を妨げているのです。

ということで、WordPressブログやサイトの「保存先フォルダーはすでに存在します」エラーを簡単に修正する方法を見ていきましょう。以下のクイックリンクから、使いたい方法にジャンプできます:

注: このチュートリアルではファイルの削除と置換を扱うので、先に進む前にDuplicatorのようなプラグインでバックアップを作成することを強くお勧めします。こうすることで、エラーが発生した場合に以前のバージョンのサイトにロールバックすることができます。

方法1:現在のフォルダーをアップロードされたファイルで置き換える

インストール先フォルダがすでに存在する」エラーを解決するには、既存のプラグインまたはテーマフォルダを新しいアップロードフォルダに置き換えてみてください。この方法には、インストールしたいプラグインまたはテーマのzipフォルダーが必要です。

WordPressダッシュボードのプラグインまたは外観 ” テーマページに行き、コンピューターからzipフォルダーを手動でアップロードするだけです。

WordPressは、すでにプラグインやテーマがサイトにインストールされていることを伝え、置き換えるかどうかを尋ねます。

Clicking the Replace current with uploaded button in WordPress

現在のものをアップロードしたものに置き換える」をクリックするだけです。これで新しいテーマやプラグインのインストールは成功するはずです。

方法2:プラグイン/テーマのフォルダーを削除し、再インストールする。

アップロードされたフォルダーで現在のフォルダーを置き換える」機能が利用できない、または機能しない場合は、既存のフォルダーを手動で削除することができます。

まず、FileZillaやcPanelファイルマネージャーなどのFTPクライアントを使用してWordPressサイトに接続する必要があります。

接続したら、/wp-content/plugins/または/wp-content/themes/フォルダーに移動する必要があります(インストールしようとしていたものによる)。

インストールしようとしていたプラグインやテーマの名前のフォルダーを探し、削除する。

Delete folder

WordPressの管理エリアに戻り、通常通りにプラグインやテーマのインストールをやり直してください。

プロのヒント FTPクライアントやファイルマネージャーにアクセスできない?WP File Managerプラグインを使ってWordPress内にFTPのようなファイルマネージャーを追加してみてください。

WordPressのよくあるエラーを解決する専門家のヒント

WordPressでよくあるエラーはありますか?以下のガイドをご覧ください:

この投稿がWordPressの「Destination folder already exists」エラーの修正方法のお役に立てば幸いです。また、WordPressのブロックエディターでよくある問題のリストや、WordPressのメモリ枯渇エラーを修正するためにPHPのメモリ制限を増やす方法もご覧ください。

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.

Disclosure: Our content is reader-supported. This means if you click on some of our links, then we may earn a commission. See how WPBeginner is funded, why it matters, and how you can support us. Here's our editorial process.

The Ultimate WordPress Toolkit

Get FREE access to our toolkit - a collection of WordPress related products and resources that every professional should have!

Reader Interactions

56件のコメントLeave a Reply

  1. Hello.

    Thanks for the great post. The solution seems quite straight forward method to use when working on a live site that has a cpanel. How do I apply this method if I am using a Wamp server as my local host for a wordpress site. I had uninstalled a plugin and when I tried to reinstall it I got the error message: Installation failed: Destination folder already exists.

    Please help

  2. Hi, thanks for this quick tutorial. I was wondering if uploading the plugin with a different zip name would also work since then a new folder would be created with another name? I’m not too sure if this is the right way to go about it though, but I’m looking for other options than FTP since I don’t have access to that myself, just to WordPress. If you could clear that up, that’d be great!

    • We would not recommend using that method as depending on the plugin it could cause problems with its features or if you were able to install it under a second name it would cause errors with duplicate function names.

      Admin

  3. Hi
    The Filezilla has connect to the Hosts server. and I can see the dirrectory, but when I want to delete the files. Filezilla show message of “permission denied”. Do I need to do anything on Hosts server to permit the files can be deleted?
    thx for promt reply

    • We would recommend reaching out to your hosting provider and they should be able to check your permissions for your FTP user.

      Admin

  4. Instad of delete you can also rename for the backup purpose (like woocommerce to woocommerce backup )

    • That is another option as well but normally if there is an issue with a plugin it would be better to delete the files that are causing the problem.

      Admin

  5. Is there a way to fix this without using an FTP client? I’ve never used one before but believe the issue I am having is due to deleting a plug in that I should not have deleted.

    • Your hosting provider may have a file manager that would work as an FTP that you could use if you reach out to them for assistance.

      Admin

  6. I am a little apprehensive about deleting the Woocommerce folder as I had a bunch of things setup in my Woocommerce shop already-products, etc. Will doing this restore those or will I have to start over? I lost Woocommerce in my plugin list after WordPress update and now I get this message when trying to install. Thanks.

  7. I had a problem with my website
    after using this method, now it is fine.
    thanks for such a great article.

    • If you are still receiving the error, we would recommend reaching out to your hosting provider and they should be able to assist.

      Admin

  8. Thank you for helping. Jetpack plugin was unable to install with your help i downloaded filezilla in PC and solved the issue.

  9. I use an older version of WPBakery plugin on my site. The updated version of it is included in my template that I use. What can I do? I tried to upload it but I did not make it.

    Can I delete the old version via FTP method and upload I again? Any risk of losing my current settings on the front-end of my site?

    • While normally that shouldn’t be an issue, you would want to reach out to WPBakery for if you can safely do that with their settings.

      Admin

  10. This was a very helpful video! Solved my problem in less than 10 minutes. Thanks so much! My Jetpack plugin is working again!

  11. this works i have deleted the folder through FTp and reinstalled visual composer plugin and it worked

    thanks
    vivek

  12. I am installing a DIFFERENT plugin that uses the same folder name (I guess) so there’s no real solution…? They are both ‘accordions’ and it seems crazy WordPress struggles with this at all.

  13. I received this error message when trying to update a plugin (Modern Events Calendar) to its newer version because an auto-update option is not available.

    If did this manually through the cpanel and deleted the old folder, would I lose my existing content?

    Thanks!

      • To be on the safe side, you can rename the existing plugin folder. I usually just add an underscore and the word “old” (_old) to the end of the directory name. Run the new install and test to see if it’s working. If it doesn’t work properly you can just delete it and then go back and change the name of the original folder to its original name. If it does work properly I leave the old folder there for a month or so just to be on the safe side.

  14. This only works for wordpress.org sites. Do you have a solution for wordpress.com site where FTP and cPanel are not available?

  15. What an amazing post! I have been waiting for support from my plugin provider for 3 days!!!!! And when speaking to my hosting provider this morning they suggested I Google the error, saying that it was quite common. And you guys came through once again, providing simple and to the point guidance. I’m new to WordPress and appreciate what you do so much.

  16. I’ve deleted the offending folder both through FTP, and through my provider’s back end file manager.

    I STILL get the error. I’m stumped.

Leave A Reply

Thanks for choosing to leave a comment. Please keep in mind that all comments are moderated according to our comment policy, and your email address will NOT be published. Please Do NOT use keywords in the name field. Let's have a personal and meaningful conversation.