@dralezero — the 3 lines you suggested worked perfectly for me with one exception. My wp-admin site was no longer accessible, as the redirect prevented me from getting to example.com/wp-admin/.
Is there a way to exclude the wp-admin site from the redirect? Or can I access the admin site from http://www.example.com/wp-admin somehow?
Thanks,
Jon