- Install a plugin called PHP Mobile Redirect to your main WordPress website.
- Once installed and activated, navigate to Settings > PHP Redirect.
- Enter in the details for the mobile website and click Save Options.
- Copy the Mobile Redirect code to your mobile website index.html and change it to index.php.
- Copy to the ftp and test. If View Full Site is not working, change the Mobile Redirect code in your index.php to <?php setcookie(“mobile”,”m”, time()+3600, “/”, “.yourwebsite.com”); ?>