I am building a mobile friendly plugin and put the theme directory inside the plugin directory.
If it's a mobile browser, how can I redirect to the theme in the plugin directory?
/wp-content/plugins/mobview/theme/
I've managed to use the following redirection:
wp_redirect( plugins_url('/mobview/theme/index.php') );
exit ;
But am kind of lost in the directory redirect inside WordPress structure.