I ended up using some code I found for a php redirect.
Below is the only code in the index.php file.
I’ve read that you can modify the htaccess file to do the same thing also.
I can’t say why making the change suggested broke my blog. There seemed to be some weirdness about the setting which tells the browser to add www. to the address or not. When I have this setting as leave it as it is things went pear shaped. when I set it to add www. it worked…