I am having a problem with the avatars. I upload them both

I am having a problem with the avatars. I upload them both the standard and alternative ways and the upload is said to be successful and the avatar has been updated. However, no avatar shows for the user. I then found out that this is due to the URL for the avatars is as follows: https://www.example.com/files/avatars/user/b72/user-50808-96.png
This results in a 404, the correct URL is https://www.example.com/wp-content/uploads/avatars/user/b72/user-50808-96.png
I don't believe it's related, but for good measure I have the following line in my .htaccess file: RewriteRule ^([_0-9a-zA-Z-]+/)?files/(.+) wp-includes/ms-files.php?file=$2 [L] This line is a default RewriteRule as part of the Multisite Network Setup.