[Solved] Changing media upload directory doesn't work

The change of upload folder is not handled by a rewrite rule but rather internally by WordPress.

You can use the following rules (that is, I use these rules): things that are needed to display your site properly should be in the assets folder, anything content related should be in the media folder.