Title: Device-Based Redirect
Author: Nithin
Published: <strong>2024 年 11 月 15 日</strong>
Last modified: 2026 年 4 月 12 日

---

搜索插件

![](https://ps.w.org/device-based-redirect/assets/banner-772x250.jpg?rev=3195850)

![](https://ps.w.org/device-based-redirect/assets/icon-256x256.png?rev=3504582)

# Device-Based Redirect

 作者：[Nithin](https://profiles.wordpress.org/ncherian/)

[下载](https://downloads.wordpress.org/plugin/device-based-redirect.1.2.2.zip)

 * [详情](https://cn.wordpress.org/plugins/device-based-redirect/#description)
 * [评价](https://cn.wordpress.org/plugins/device-based-redirect/#reviews)
 *  [安装](https://cn.wordpress.org/plugins/device-based-redirect/#installation)
 * [开发进展](https://cn.wordpress.org/plugins/device-based-redirect/#developers)

 [支持](https://wordpress.org/support/plugin/device-based-redirect/)

## 描述

Device Based Redirect allows you to easily set up redirects to your mobile apps 
or mobile-friendly URLs based on the user’s device type. Perfect for promoting your
mobile apps to website visitors and implementing platform-specific deep linking 
through a single URL.

Features:

 * Page-specific redirects – Configure different redirects for different pages on
   your site
 * Custom URL redirects – Create custom URLs that redirect users based on their 
   device
 * Set different destinations for iOS and Android users. Can be used to send users
   to iOS and Android app store pages.
 * Deep linking support – Direct users to specific sections of your app through 
   platform-specific deep links
 * Fallback URLs for other devices – Specify where non-mobile users should be redirected
 * Easy-to-use admin interface – Simple configuration through WordPress admin panel
 * Bulk enable/disable option – Quickly turn all redirects on/off
 * Transient Cache for end-user redirects – Reduces database load for high traffic
   sites
 * Titles for Custom URL Redirects for better organizing of redirects

Use Cases:

 * App Store Promotion: Direct mobile users to your app’s store listing while showing
   desktop users your website
 * Deep Linking: Create a single URL that opens different app screens on iOS and
   Android
 * Redirect users to mobile-friendly URLs based on their device type
 * Marketing Campaigns: Share one link that works across all platforms
 * Cross-Platform Navigation: Seamlessly guide users to the right platform-specific
   destination
 * 302 redirects – Redirects are of 302 type as they are not permanent.

The plugin handles user agent detection and routing automatically, making it easy
to implement complex platform-specific navigation through simple WordPress configuration.

## 屏幕截图

 * [[
 * Accessing Device Redirect Settings Page
 * [[
 * Configuring Pages or URLs for Device Specific Redirection
 * [[
 * Edit URL Redirects within table itself in Edit mode.
 * [[
 * Hover to access Edit and Remove actions
 * [[
 * Add Slug or Page Redirects on left sidebar

## 安装

 1. Upload the plugin files to `/wp-content/plugins/device-based-redirect`
 2. Activate the plugin through the ‘Plugins’ screen in WordPress
 3. Go to Settings -> Device Redirect to configure redirects

## 常见问题

### Will this plugin work with plain permalinks?

No, this plugin requires the use of pretty permalinks.

### Can I set different redirects for different pages?

Yes, you can configure page-specific redirects as well as custom URL redirects.

### Can I temporarily disable all redirects?

Yes, use the bulk actions to disable redirects in bulk. Alternatively, you can deactivate
the plugin temporarily.

### Is there a limit to the number of redirects I can set?

No, there is no limit to the number of redirects you can set.

### Is the Backup URL or Other Device URL required?

No, it is optional. If not set, users will be redirected to the current page for
Page redirects and home page for Slug redirects in non-mobile devices.

### What is the nature of redirects?

Redirects are of 302 type as they are not permanent.

### Will the redirection work on dynamic resizing of pages in web?

No, the redirection happens when the page is loaded and not on dynamic resizing 
of pages in web.

## 评价

![](https://secure.gravatar.com/avatar/e9ce4d0153ac564f723baccb4c695f7b246cc582fd5aeb791c4770e6f6b9ddf2?
s=60&d=retro&r=g)

### 󠀁[the only redirect that works](https://wordpress.org/support/topic/the-only-redirect-that-works/)󠁿

 [logisticsbugs](https://profiles.wordpress.org/logisticsbugs/) 2025 年 5 月 29 
日

tried many redirect to mobile home page plugins, they either work and at the same
time cause lots of fatal errors or they simply dead doesn’t work,, this plugin as
simple as do one job and it works without any issues. the only little unnecessary
details, that the website user sees the redirect process for milliseconds seconds.
MansourContainers.com.au

![](https://secure.gravatar.com/avatar/80e914c33cfcb58bb025742ce294e1d12f214079d7e14ac31b35e24477c06eda?
s=60&d=retro&r=g)

### 󠀁[Perfekt – Genau die Funktionalität die ich gesucht habe](https://wordpress.org/support/topic/perfekt-genau-die-funktionalitat-die-ich-gesucht-habe/)󠁿

 [lacoste89](https://profiles.wordpress.org/lacoste89/) 2025 年 3 月 25 日

Super Plugin. Funktioniert wie beschrieben. Weiterleitung auf IOS oder Android Store
funktionieren wie gewünscht. Wenn kein passendes Gerät den Link aufruft, dann erfolgt
ebenfalls wie gewünscht die Fallback-Ebene. Vielen Dank für das tolle Plugin.

![](https://secure.gravatar.com/avatar/17ee90a203ec501e39787e0c8ec29c8cb2b67a893d07c429a0f912e0617b5e96?
s=60&d=retro&r=g)

### 󠀁[Happy to use the redirect feature for free.](https://wordpress.org/support/topic/happy-to-use-the-redirect-feature-for-free/)󠁿

 [](https://profiles.wordpress.org/digimaga/) 2025 年 1 月 28 日 1 回复

デバイスを判別してリダイレクトする機能のあるプラグインは有料のものが多いですが、
このプラグインはなんと無料で使えます。しかも、動作が軽いです。 私はこのプラグイン
をスマホ用アプリのアフィリエイトリンクの振り分けに使っています。とくにPC版も配信
しているタイトルで、1クリックでpc、iOS、Androidと振り分けできてとても助かります。
可能であれば「Page/Custom URL」に個別に名前をつけられるようになって欲しいです。いま
はリダイレクトURLになっているため、リンクごとの判別が難しいです。 Many plug-ins 
with the ability to detect and redirect by device have a fee, but this plug-in is
free to use.Moreover, it is lightweight. I use this plugin to redirect affiliate
links for smartphone apps.Especially for titles that are also available on PC, it
is very helpful to be able to sort them into PC, iOS, and Android with a single 
click. If possible, I would like to be able to name the “Page/Custom URL” individually.
Currently, the URL is a redirect URL, so it is difficult to distinguish each link.

 [ 阅读所有3条评价 ](https://wordpress.org/support/plugin/device-based-redirect/reviews/)

## 贡献者及开发者

「Device-Based Redirect」是开源软件。 以下人员对此插件做出了贡献。

贡献者

 *   [ Nithin ](https://profiles.wordpress.org/ncherian/)

[帮助将「Device-Based Redirect」翻译成简体中文。](https://translate.wordpress.org/projects/wp-plugins/device-based-redirect)

### 对开发感兴趣吗?

您可以[浏览代码](https://plugins.trac.wordpress.org/browser/device-based-redirect/)，
查看[SVN仓库](https://plugins.svn.wordpress.org/device-based-redirect/)，或通过[RSS](https://plugins.trac.wordpress.org/log/device-based-redirect/?limit=100&mode=stop_on_copy&format=rss)
订阅[开发日志](https://plugins.trac.wordpress.org/log/device-based-redirect/)。

## 更新日志

#### 1.2.2

 * Compatibility with WordPress 6.9.4
 * Plugin Icon Rebranding

#### 1.2.1

 * Fixed issue with Params added in redirect URLs by Hosting Providers

#### 1.2.0

 * Compatibility with WordPress 6.8

#### 1.1.6

 * Added Title option for Custom URL Redirects

#### 1.1.5

 * Added a Dismissible Section for Requesting Reviews and gathering Feature Requests

#### 1.1.4

 * Updated Redirect Template for Custom URL Intermediate Page

#### 1.1.3

 * Moved Admin to top of menu

#### 1.1.2

 * Added Plugin Links for Support and Settings Page

#### 1.1.1

 * Support for DB Migration during auto upgrades without deactivation

#### 1.1.0

 * Migrated to separate database table for redirects
 * Added transient Cache for fetching redirects on end-user pages
 * Added new and improved admin UI for managing redirects
 * Added pagination for URL redirects in admin
 * Added Bulk Actions for Disable/Enable/Delete
 * Added Filter for Redirect Types
 * Added smooth scrolling to top of page when navigating between pages
 * URL validation limited to basic patterns for better flexibility

#### 1.0.0

 * Initial release

## 额外信息

 *  版本 **1.2.2**
 *  最后更新：**1 月前**
 *  活跃安装数量 **300+**
 *  WordPress 版本 ** 5.0 或更高版本 **
 *  已测试的最高版本为 **6.9.4**
 *  PHP 版本 ** 7.2 或更高版本 **
 *  语言
 * [English (US)](https://wordpress.org/plugins/device-based-redirect/)
 * 标签
 * [android](https://cn.wordpress.org/plugins/tags/android/)[ios](https://cn.wordpress.org/plugins/tags/ios/)
   [mobile redirect](https://cn.wordpress.org/plugins/tags/mobile-redirect/)[redirect](https://cn.wordpress.org/plugins/tags/redirect/)
   [redirection](https://cn.wordpress.org/plugins/tags/redirection/)
 *  [高级视图](https://cn.wordpress.org/plugins/device-based-redirect/advanced/)

## 评级

 5 星（最高 5 星）。

 *  [  3 条 5 星评价     ](https://wordpress.org/support/plugin/device-based-redirect/reviews/?filter=5)
 *  [  0 条 4 星评价     ](https://wordpress.org/support/plugin/device-based-redirect/reviews/?filter=4)
 *  [  0 条 3 星评价     ](https://wordpress.org/support/plugin/device-based-redirect/reviews/?filter=3)
 *  [  0 条 2 星评价     ](https://wordpress.org/support/plugin/device-based-redirect/reviews/?filter=2)
 *  [  0 条 1 星评价     ](https://wordpress.org/support/plugin/device-based-redirect/reviews/?filter=1)

[Your review](https://wordpress.org/support/plugin/device-based-redirect/reviews/#new-post)

[查看全部评论](https://wordpress.org/support/plugin/device-based-redirect/reviews/)

## 贡献者

 *   [ Nithin ](https://profiles.wordpress.org/ncherian/)

## 支持

有话要说吗？是否需要帮助？

 [查看支持论坛](https://wordpress.org/support/plugin/device-based-redirect/)

## 捐助

您愿意支持这个插件的发展吗?

 [ 捐助此插件 ](https://www.buymeacoffee.com/indimakes)