BINGO Maxxdog!
I really appreciate all your suggestions, they were all good. But I thought I’d start with the easiest, least disruptive first – which was Maxxdog’s suggestion about looking at the .htaccess file.
I’m not sure what the code was in there that was stopping tinymce – but I tried first deleting all the content of the file – and suddenly it all started working fine!
Then I pasted the content back into the file and saved it, and nothing worked. Visual nor Text editing. So removed the content again and saved it and it all worked again.
I’m not sure what part of this .htaccess code was causing the problem, but I thought I’d paste it here and see if anyone can spot the problem.
<Files wp-tinymce.php>
allow from all
</Files>
<Files ms-files.php>
allow from all
</Files>
<FilesMatch “\.(?i:php)$”>
<IfModule !mod_authz_core.c>
Order allow,deny
Deny from all
</IfModule>
<IfModule mod_authz_core.c>
Require all denied
</IfModule>
</FilesMatch>
<Files wp-tinymce.php>
Allow from all
</Files>
<Files ms-files.php>
Allow from all
</Files>
Everything is allowed there except these two things:
<IfModule !mod_authz_core.c>
Order allow,deny
Deny from all
</IfModule>
<IfModule mod_authz_core.c>
Require all denied
But I have no idea what mod_authz_core.c is.
Apparently it’s safe to just remove the wp-includes/.htaccess file. I checked on a couple of my other WordPress sites where everything is working fine and they didn’t even have an .htaccess file in wp-includes. So I’m just going to leave it off for now unless anyone knows of a reason to keep it.