---
title: New Plugin: Mobile Redirect for WordPress
date: 2012-11-04T22:00:26+00:00
modified: 2020-08-06T08:56:18+00:00
image:: https://kaspars.net/wp-content/uploads/2012/11/mobile-redirect-standalone-ui.png
permalink: https://kaspars.net/blog/mobile-redirect-plugin
post_type: post
author:
  name: Kaspars
  avatar: https://reverse.kaspars.net/gravatar/avatar/92bfcd3a8c3a21a033a6484d32c25a40b113ec6891f674336081513d5c98ef76?s=96&d=mm&r=g
post_tag:
  - How to
  - Plugin
  - Tool
category:
  - WordPress
---

# New Plugin: Mobile Redirect for WordPress

[Mobile Redirect](https://github.com/kasparsd/mobile-redirect) is a WordPress plugin that allows you to redirect visitors to another URL based on their User Agent string on per-page basis. It uses the built-in WordPress function `wp_is_mobile()` for detecting if a visitor is using a mobile (handheld) device. This plugin is extremely useful for websites that use WordPress multisite for serving different sites with slightly different content based on visitor’s user-agent.

It adds a new tab to the WordPress SEO plugin user interface, if it is installed:

[![Mobile Redirect plugin for WordPress with WordPress SEO UI](https://kaspars.net/wp-content/uploads/2012/11/mobile-redirect-wordpress-seo-ui.png?strip=all&quality=90&resize=708,152 "Mobile Redirect plugin for WordPress with WordPress SEO user interface")](https://kaspars.net/wp-content/uploads/2012/11/mobile-redirect-wordpress-seo-ui.png)or provides a very simple standalone UI:

[![Mobile Redirect plugin for WordPress with a standalone user interface](https://kaspars.net/wp-content/uploads/2012/11/mobile-redirect-standalone-ui.png?strip=all&quality=90&resize=707,130 "Mobile Redirect plugin for WordPress with a standalone user interface")](https://kaspars.net/wp-content/uploads/2012/11/mobile-redirect-standalone-ui.png)### Mobile SEO Included

This plugin also takes care of adding the `Vary: User-Agent` HTTP header to all requests and an alternate link tag to the of the `<head>` of every page with a redirect enabled, as [recommended by Google](https://developers.google.com/webmasters/smartphone-sites/redirects).