I have a mobile website on m.domainname.com and a redirect script from the main site at www.domainname.com, which detects a mobile browser and redirects to the mobile site.
I have used this identical script on another site and it works perfectly.
However, on this new site, the same script, copied exactly, is giving this error:
Warning: Cannot modify header information – headers already sent by (output started at /home/content/16/8000816/html/wp-content/themes/cosmetics/homepage.php:11) in/home/content/16/8000816/html/wp-content/themes/cosmetics/mobile_device_detect.php on line 165
I can’t see anything obvious, like white space etc. It is probably something simple but I just can’t see the problem myself.
Naturally, you will need to be able to view the site on a mobile phone if you bid for this job.
