After tearing my hair out all weekend with a client site www.siteneame.com/moodle I learned something about wordpress and moodle. Wordpress rewrites rules in the .htaccess file in public_html that interfere with a moodle install. Moodle was not designed to work in a subdirectory of a wordpress install.
The workaround is to place another .htaccess file in the base directory of the moodle install with the line RewriteEngine Off.
I have no idea if this is known by others but I did not find it documented here in a forum search.