• Resolved t4runltd

    (@t4runltd)


    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: https://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="https://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.

    Thank you

    https://www.ads-software.com/plugins/php-mobile-redirect/

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Code96

    (@code96)

    Sorry for the dealy, I have been unable to get monitor these forums.. Everything looks good to me, have you checked to see if the cookie is set?

    Plugin Author Code96

    (@code96)

    I apologize for not getting back to you sooner. If you are still having problems, please open a new thread and send a link to the problem page.

    Thanks

    tristrella

    (@tristrella)

    @t4runltd did you managed to get it work? If so how did you do it?

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Cannot get full view to work’ is closed to new replies.