WordPress.org

Ready to get started?Download WordPress

Plugin Directory

PHP Mobile Redirect

Easily detect mobile devices and redirect them to the mobile version of your site.

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.

Requires: 3.2 or higher
Compatible up to: 3.5.2
Last Updated: 2013-6-5
Downloads: 6,809

Ratings

4 stars
4 out of 5 stars

Support

Got something to say? Need help?

Compatibility

+
=
Not enough data

0 people say it works.
0 people say it's broken.

100,3,3 100,1,1 100,1,1