You can make a simple function for this, check if is mobile (http://codex.wordpress.org/Function_Reference/wp_is_mobile). and redirect with wp_redirect()
http://codex.wordpress.org/Function_Reference/wp_redirect
add_action('wp_head', 'redirect_mobile');
function redirect_mobile()
{
if ( wp_is_mobile() )
{
wp_redirect( 'http://url' );
exit;
}
}
This is untested but should work.
Add it to your themes functions.php
file.
Related Posts:
- WP page 404 error only on mobile
- On login redirect to different homepage if user is using a mobile
- Getting error when trying to redirect WP site to mobile site
- Redirect to other page when mobile
- How do I skip wordpress’s 404 handling and redirect all 404 errors for static files to 404.html?
- Disable WordPress URL auto complete
- WordPress redirecting connections on port 8080 to 80
- Disable ONLY URL auto complete, not the whole canonical URL system
- 301 redirect instead of 404 when URL is a prefix of a post or page name?
- Redirect to referring page after logging in
- Redirecting WordPress /.htaccess / HSTS / SSL
- Htaccess redirect from ‘/%postname%.html’ to ‘/%postname%’
- Redirect to post after submission with Gravity Forms? [closed]
- Redirect www to non-www htaccess
- Stop WordPress Redirection From /keyword to /some-post-containing-keyword/
- Specific URL has 403 Forbidden status code
- Using redirection plugin to pass URLs as lowercase to wordpress
- Prevent redirect to page/page when reserved term ‘name’ in $_POST when value is a page/post title
- Redirect to login page
- Import WordPress Post Slug with Forward Slash
- Create a php callback/endpoint for an OAuth script
- Query WP data with the WPDB API from outside WordPress
- Get the final destination after WP_Http redirects (WordPress)
- Why specific file directory fails to redirect but its parent folder succeeds?
- Cant Access Website – Changed HTTP to HTTPs
- How to remove “YEAR/MONTH/” from uploads URL & redirect old URL to the new form?
- Too many redirects when using wp super cache [closed]
- How does WordPress redirect without using .htaccess?
- How do I redirect a user when he is logged in after clicking on a menu
- How to redirect from various ?page_id= to home page?
- header and wp_redirect not working. cannot modify header information warning
- Code to create a redirection after login?
- Redirect 301 www.my-site.com/page/n to www.my-site.com/ [closed]
- Redirect not logged in users if they are on a specific page
- Headless WordPress redirect front-page to login page [closed]
- How to set up a single portfolio page as home page?
- 301 Redirect To Post ID
- Redirect after password update
- How code a redirect back to page from form thanks
- How to add new redirection on wordpress site
- How to use Regex to add to a url?
- htaccess redirect invoice.php to /client/invoice.php
- redirect wp-admin/install.php
- Redirect homepage with htaccess, except if I enter the link adding “/home”
- How to properly encode url with parameters for redirect_to
- How to disable redirect on pagination first page
- Redirect user to a form until they have filled it out [closed]
- Buddyboss Platform plugin causing “too many redirects”
- Always redirect current user to certain page
- Redirections and rewrites to subdomain
- Redirect user to previous page after signup from custom form
- How To Fix 404 errors caused by Google Indexing WordPress In Subdirectory
- Unable to access folders in same level as wordpress installation
- 301 Redirect all page and post urls from .html to /
- Get query parameters from external url and make a redirection
- Why does specifying ‘about-us’ as a link target take longer than specifying ‘about-us/’?
- Internal Links that Automatically Update
- Usage of the login_redirect filter
- Show different page for first time user
- Login/Register redirect user with message
- Redirecting to new URL structure and 301
- Blog has an infinite redirect loop
- WP forwarding to wrong site address
- Permalinks do not include www subdomain
- Front page is being directed to an unknown site
- Domain redirect to wp-admin/setup-config.php file
- redirect to a child theme based on the town of Internet users in france with the verification of the ip address
- How do I change the home page to the registered user’s profile page
- Upload Directory question
- 301 Redirect /author/username/ to /profile/username/
- Redirection with a wildcard
- Redirect Page ID, based on logged-in User Role
- How can I stop redirecting from a search to a taxonomy archive page
- How to return a 410 code for previously published posts now set to draft?
- htaccess redirect not working for wp-admin/edit in site using proxy
- How to access my wordpress application using two URLs?
- Redirect Pending Review Status Preview page url to custom url
- The / location 301-redirects to itself in a loop
- Redirect user from backend to frontend
- Better, more efficient redirecting
- Need to redirect from Apache2 Ubuntu Default Page to home page in wordpress
- WordPress website down with error “redirected you too many times.”
- Make a treatment before the action of the form
- Make custom post type archive for administrator only
- Is it possible to take a new visitor to the site to a disclaimer page and then return them to their previous page?
- How to 301 redirect sub domain post URL to root domain
- Homepage (domain) that redirects user toward two subdomains based on his/her preferred language
- redirect to another page if user has registered successfully
- Too many redirects error when change of base url
- How to redirect new registrars to a custom registration page instead of WP default registration page?
- WordPress redirect users from certain countries to subpage of language version
- When redirecting all URLs to homepage, what exceptions do I need to make?
- Custom Login Plugin Redirects to wp-login.php After Site Migration
- Redirect from subdomain
- New clone of WordPress site 301 redirects back to orginal site
- Remove link before another link
- WordPress as a Facebook app
- URL Custom Rewrite
- How to handle expired assets/content when user has direct URL
- Best SEO way to redirect from all “posts” to home url