by Ken Task.
Now one follow up question and something to try.
Follow up: does the 'redirection' plugin have rules? or a configuration screen that would allow you to 'exclude' a directory from it's control?
And something to try ...
I think this is now in every install ... in moodledata, there is an .htaccess file created by the install script.
It contains:
deny from all
AllowOverride None
Note: this file is broken intentionally, we do not want anybody to undo it in subdirectory!
Are you sure the moodledata directory compressed is '219kb' ... that's really small for a moodledata directory from a site that's been used!
Example of some sandbox sites probably not used as much as a homeschool moodle:
65M ./moodle35data
3.1G ./moodle30data
86M ./moodle33data
The largest directory in moodle??data is filedir.
If old site is still up or the server where it was hosted still accessible, re-compress the moodledata directory and see if it's not larger.
If you followed the directions from https://docs.moodle.org/35/en/Moodle_migration#Recommended_method that said to make a compressed file of only filedir of moodledata. The other directories on a restore of the site would be rebuilt by moodle.
Now before you start to restore the site, you must manually create a 'moodledata' directory with the correct ownerships and permissions ... same ownerships/permissions of that you see on wp- files. The zip/tar ball of filedir from old site should create a 'filedir' directory in moodledata.
Re-read the section of the above url entitled:
"Copy moodledata from the old server to the new server"
What was your original Moodles version?
In your moodledata directory, create a hidden .htaccess file with the above contents.
Then move moodledata to the same location as your 'moodle' code directory - which is also where you see all those wp- directories.
Edit the config.php file of the moodle site to reflect the new path to moodledata.
Also, the theme may not be compatible for upgrading. So you can add a line to config.php of Moodle that sets the theme to be a stock theme from the Moodle code you have. Look in moodlecode/theme/ and you'll see the names of the stock themes.
Example: you see a 'clean' and a 'more'... in config.php file add a line:
$CFG->theme='clean';
Yes, that will hard set theme ... we can deal with that later after getting the site accessible and you can see/log into it consistently ... with no errors.
Try to hit your site.
Do the images that didn't show before show now?
Also test security of the moodledata directory:
https://yoursite/moodledata/ should not list any directories.
https://yoursite/moodledata/filedir/ should not also.
'spirit of sharing', Ken