WordPress Development Stack Exchange is a question and answer site for WordPress developers and administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I want to switch to other theme at this url - www.mysite.com/m/ . And then redirect mobile users to www.mysite.com/m/ with htaccess based on their "user-agent". I have htaccess redirect rules and it is work for me. But how to switch to mobile theme based on the url? Virtual theme plugin (http://wordpress.org/extend/plugins/virtual-theme/) is great solution for me, but unfortunately it doesn`t work for mobile browsers.

share|improve this question

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.