If you have not tried it already you should change the wwwroot in you config.php to http://www.mysite.com/moodle this should change it on every page to use the www.
Installing and upgrading help
The adjust www is incorrect
This discussion has been locked so you can no longer reply to it.