How to clean up unnecessary file inside wp-contentpluginswordpress-seo?

admin2025-06-02  0

I currently maintaining 7 years of Wordpress site. Disk usage are recently full, so I need to check automatic back up regularly and save those back up, and delete it from the server.

And when I check, that wordpress-seo folder inside plugins folder (which is Yoast Seo default plugin folder) are taking too much space. All I know, it's full of that plugins file from various version. To be precise, it's inside js/dist folder of wordpress-seo plugin.

It is containing several type of minified javascript with some kind of sequence or version number at the end of each name, with a total around 250-300 MB.

Can I clean up those file? If yes, is it safe? What might be the worse case I will face if I delete all of those each type from previous version, and just keep like 3 newest version?

I currently maintaining 7 years of Wordpress site. Disk usage are recently full, so I need to check automatic back up regularly and save those back up, and delete it from the server.

And when I check, that wordpress-seo folder inside plugins folder (which is Yoast Seo default plugin folder) are taking too much space. All I know, it's full of that plugins file from various version. To be precise, it's inside js/dist folder of wordpress-seo plugin.

It is containing several type of minified javascript with some kind of sequence or version number at the end of each name, with a total around 250-300 MB.

Can I clean up those file? If yes, is it safe? What might be the worse case I will face if I delete all of those each type from previous version, and just keep like 3 newest version?

Share Improve this question asked Mar 1, 2019 at 7:23 adadionadadion 992 bronze badges 1
  • Why the down vote? – adadion Commented Mar 1, 2019 at 8:59
Add a comment  | 

1 Answer 1

Reset to default 1

250-300MB is really a lot and I'm not sure if that is a normal situation. I'd suggest you to check how was that site maintained and managed. Maybe the updates were not made correctly (for example plugins were not updated and only overwritten using FTP).

And back to your question... The easiest way to clean these files would be to:

  1. Download original, current version from Plugin Repo: https://wordpress/plugins/wordpress-seo/
  2. Login to your FTP server and go to wp-content/plugins/
  3. Rename wordpress-seo folder
  4. Upload original folder from downloaded package
  5. Remove old (renamed) folder.
转载请注明原文地址:http://conceptsofalgorithm.com/Algorithm/1748852201a314257.html

最新回复(0)