You do not need an external plugin for something, which is already implemented in WordPress system.
You can use the wp_is_mobile();
conditional tag to check if the user is visiting using a mobile device. This is a boolean function, meaning it returns either TRUE
or FALSE
, you can place it in your header.php
and then redirect the users to the proper content.
<?php if ( wp_is_mobile() ) {
/* Display and echo mobile specific stuff or redirect here */
wp_redirect( $location, $status );
exit;
} ?>