Easily detect mobile devices and redirect them to the mobile version of your site.
As of April 2026, PHP Mobile Redirect is a WordPress mobile detect plugin with 30 active installations and a 3.8/5 rating from 9 reviews. It has been downloaded 10K+ times in total. Requires WordPress 3.2+ and PHP false+. Available on WordPress.org since 2013. Last updated 12 years ago — may have compatibility concerns. Top alternative: Any Mobile Theme Switcher.
This plugin easily detects mobile devices and redirects them to the mobile version of your site. This plugin also gives you the ability to bypass the mobile redirect based upon a cookie that is set on your mobile site. This allows you to redirect mobile users and give the option to “View Full Site.”
If you are upgrading you must enable the redirect via Settings > PHP Redirect
To set the cookie simply add the following PHP code to your mobile site:
setcookie(“mobile”,”m”, time()+3600, “/”);
The mobile redirect bypass cookie is optional, and should only be used to give your users a “View Full Site” option
Code 96 offers WordPress Design services and custom WordPress Themes.
| WordPress | 3.2+ requiredTested up to 3.5.2 |
| PHP | false+ required |
Plugin data sourced from WordPress.org. Analysis and metrics by PluginSift.