Hi Dave
Thanks for replying.
I logged into my friends GoDaddy "Hosting Control Center"
and when I looked down the list of DNS entries I saw a record called "mobile" that pointed to ghd-mobile.dudamobile.com
See screen shot here: http://i1091.photobucket.com/albums/i395/LordLiverpool/DNS_zps7c61ded5.jpg
So I checked out dudamobile.com they offer a Freemium service to convert a traditional website into a mobile friendly version of your website.
So I deleted the DNS record for mobile. It said please allow 48 hours to update. I assume once the DNS servers have updated my friends website will no longer redirect to the mobile subdomain?
I am also assuming of course there has been no javascript inserted anywhere to force a redirect.
I dug around on the dudamobile website and found this page:
http://www.dudamobile.com/redirect/go-daddy
It tells people how to insert Javascript into index.html/php to make your site redirect to the mobile subdomain
I checked index.php, wp-blog-header.php, wp-load.php, wp-config.php but but I cant find any redirect code within them.
Do you have any idea what php file is most likely to have the javascript inside it? (if at all)
Thanks very much.