跳到内容

PHP Mobile Redirect

v1.4

Code96 · 2013年3月10日 上架

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

正在使用
30+
评分
3.8 / 5
累计下载
1.1 万
最近更新
2013年6月5日
9 条评价需要 WordPress 3.2+已测试到 3.5.2

贡献者

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.

Plums

按场景查找 WordPress 插件。安装量、评分和兼容版本来自官方目录。

导航

说明

WordPress 是 WordPress Foundation 的商标。本站与 WordPress Foundation、Automattic 没有隶属关系。这里不托管插件文件,下载和安装以 WordPress.org 上的页面为准。

© 2026 Plums