Working for but not

Home Forums Any Mobile Theme Switcher Working for but not

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
  • #754
    Chris Bellew

    I have a wordpress site set up on Amazon EC2, and I’m having trouble getting the mobile theme switcher to work properly. I have the site set up on multiple instances, behind a load balancer, at (just an example). I also have an apache directive that causes the browser to be redirected to* when going to* (this is the way I had to set it up – points to a single instance, while points to the load balancer, which has that instance plus 1 or more instances behind it).

    Now, most of the time I try to visit the site from a mobile device, to, it serves the desktop version. However, when I temporarily comment out the apache directive so that I can visit instead, it loads the mobile version just fine, every time. Occasionally it does load the mobile version from, but it is very sporadic and rare.

    I thought it might have something to do with the auto-launched extra instances behind the load balancer, but even after terminating those, it still behaves the same way.

    I also checked the mysql options table and it does indeed define the site as being Any ideas?

    I realize the load balancer thing sounds kind of weird, but I’m pretty sure I ruled that out as being the culprit.


    can you could send me your site link via contact form ?

    Chris Bellew

    Thanks for your help. We figured out that the problem was due to page cacheing from the W3TC plugin. Disabling it fixed the problem.

Viewing 3 posts - 1 through 3 (of 3 total)
  • The topic ‘Working for but not’ is closed to new replies.