PHP Mobile Redirect
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…
Consider an alternative
PHP Mobile Redirect shows warning signs in 2026 — compare the alternatives below before installing. It runs on 30+ sites, is rated 3.8/5 and was last updated 14 years ago, and scores 31/100 on our health check.
- Small user base (30+ active installs)
- No update in 13 years
- Only tested up to WordPress 3.5 (latest is 7.1)
How does it stack up?
Side-by-side on installs, updates, ratings & supportDaily downloads
Download spikes usually follow a new release — each site that auto-updates counts as a download.
Rankings
Where PHP Mobile Redirect stands todayWordPress.org search rankings
Live position in the plugin search, top 100| Keyword | Position |
|---|---|
| mobile detect | >100 |
| mobile detection | >100 |
| mobile redirect | >100 |
Version adoption
Share of active sites per release.
Rating breakdown
★★★★★★★★★★ 3.8 from 9 reviews
About PHP Mobile Redirect
From the official readme · v1.4Description
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.
Installation
- Upload the zip file to the /wp-content/plugins/ directory.
- Activate the plugin through the ‘Plugins’ menu in WordPress.
- Go to Settings > PHP Redirect.
- Enable the mobile redirect by checking the enable checkbox.
- Put in the mobile site URL (excluding http://) to the website you would like to redirect mobile traffic to.
- Select the name of the cookie you will set on your mobile site to bypass the redirect.
- Select “Save Options” and you are done.
Changelog
1.4
- Updated Mobile_Detect class to current version 2.6.1
1.3
- Admin option added to exclude tablets from the redirect.
1.2
- Fixed issue with detecting iPad’s.
1.1
- Added the option to enable/disable the mobile redirect.
1.0
- Origninal Release
For developers
Is this your plugin? Show off the numbers.
Add a live badge to your site, docs or GitHub README. It updates on its own — no account needed.
Best PHP Mobile Redirect alternatives
All mobile detect plugins →FAQ
PHP Mobile Redirect: quick answers
Straight answers, pulled from live WordPress.org data.
Source: WordPress.org
Is PHP Mobile Redirect free?
Yes. PHP Mobile Redirect is free to download and use from the official WordPress.org plugin directory.
Is PHP Mobile Redirect safe to use in 2026?
PHP Mobile Redirect shows warning signs in 2026 — compare the alternatives below before installing. It runs on 30+ sites, is rated 3.8/5 and was last updated 14 years ago, and scores 31/100 on our health check.
How many websites use PHP Mobile Redirect?
PHP Mobile Redirect is active on 30+ WordPress websites and has been downloaded 10,909 times since it launched in March 2013. It was downloaded 105 times in the last 30 days.
Does PHP Mobile Redirect work with WordPress 7.1?
PHP Mobile Redirect is officially tested up to WordPress 3.5.2, while the latest release is 7.1.5. It may still work, but try it on a staging site first.
When was PHP Mobile Redirect last updated?
The latest version, 1.4, was released on June 5, 2013 (14 years ago).
Who makes PHP Mobile Redirect?
PHP Mobile Redirect is developed and maintained by Code96.
What are the best alternatives to PHP Mobile Redirect?
The most popular alternatives to PHP Mobile Redirect are Any Mobile Theme Switcher (20K+ installs), Equivalent Mobile Redirect (2K+ installs) and Conditional Display for Mob… (1K+ installs).
Powered by PageForge
One template and a spreadsheet. A real page for every search.
PageForge turns each row of a CSV into a WordPress page with its own title, URL, SEO fields and schema, built on the layout you already designed. Free on WordPress.org.
- CSV and XLSX, plus Google Sheets on Professional and Enterprise
- Its own title, URL, SEO fields and schema for every page
- Works with the block editor, Elementor, Divi and Avada
- Free on WordPress.org, no credit card
