WordPress.org

Forums

Files in my host are bloated-how to prune? (2 posts)

  1. MigsWPORG
    Member
    Posted 9 months ago #

    Friends:

    I have my template up and running, but there seems to be a lot of bloat on the host. How can I decide what to dump from the /public directory (where the blog resides)?
    If I list the directory would one of you point it out?
    For example: at the top there seems to be a WP zip file then deeper down in the hierarchy more WP and a same with a couple .ico files. I'm sure some of this is unnecessary.
    Why do I want to get rid of it? Because as a newbie I want to be sure that the files that do something are actually the files I edit, and not have the doubt which one to edit.

    Thanks in advance,

    migs

  2. RossMitchell
    Member
    Posted 9 months ago #

    To identify which files "belong" in your wordpress, you can unzip the WP install file as a local copy on your PC. To these files you would add /wp-config.php also in wp-content/themes and wp-content/plugins, also in wp-content/uploads and possibly wp-content/upgrade

    Maybe you will also add a favicon file, also .htaccess, but with the above exceptions there are no extra files which fit into a wordpress site.

    Also the smart and experienced operators NEVER change any other files, create you own child theme and edit that, and NEVER touch core files, theme files, nor plugins. By all means create your own plugins, and read as much code as you can to learn the wp way. This will save your sanity when updates arrive.

Reply

You must log in to post.

About this Topic