df -htells you about your devices’ storage usage
du -sh <directory>gives you an idea how much space a directory is using
- Logfiles are your friends, until one day they become your enemy and eat up all storage
- To truncate a file (remove contents), just use
Understanding how WordPress rewrites its URLs is not as easy as Apache’s mod_rewrite. It is much easier to instead use available plugins as a baseline if you were to take advantage of the WordPress URL rewriting engine. This plugin that provides an easy hack for these rewrites should do the job. I know I’ll be using it one of these days.