So I am having problems where the plugin directs perfectly to the mobile site. Which is an external html website, but the redirect back to the full site does not work.
The full wordpress website is: http://www.t4run.co.uk
and the mobile html website is: m.t4run.co.uk
I then converted the index.html to index.php (just renaming the document, is that okay to do?) and then added this code to the top before any html code as I heard you have to have an index.php page, am i correct?:
<?php setcookie("mobile","m", time()+3600, "/", ".t4run.co.uk"); ?>
I then added this code to the footer so the user can go back to the full site.
<div><a href="http://www.t4run.co.uk/" title="mobile" target="_blank" rel="external"><p1> View Full Site</p1> </a></div>
Even when the user clicks the link i get an endless loop of going back to the mobile site (m.t4run.co.uk) and never goes to the full site.
Please someone tell me if I am doing something majorly wrong or any advice would be grateful.
- The topic ‘Cannot get full view to work’ is closed to new replies.