A simple mobile redirect plugin for those who use a separate website URL for their mobile content. Simply put in the full path URL and you are ready to send users to your mobile-only content.
This section describes how to install the plugin and get it working.
- Activate the plugin through the ‘Plugins’ menu in WordPress.
- Go to Settings > Mobile Redirect.
- Put in a full path URL (inluding http://) to the website you would like to redirect mobile traffic to.
- Select the method of redirect you want. 301 is generally the best option.
Saveand you are done.
I’ve disabled the plugin but the redirect is still happening, how do I fix this?
First, check if this is happening on another computer. If not, the redirect is simply cached on your machine. Clear the cache and you should be fine.
If the redirect remains everywhere, check if there are other redirect scripts running.
Can I link to pages inside of my site?
(v1.1) Yes, but mobile users will be stuck only viewing that page as the plugin will redirect them back there if they navigate away.
You will still need to use a full path as well, and make sure the URL is exactly as what will be redirected including / at the end if necessary.
As of v1.2, you can use the Redirect Once option to redirect users to an internal page on their first visit, afterward they’ll be able to browse the site normally.
Does this redirect iPad traffic?
Yes. The built in WordPress function redirects tablets as mobile
توسعه دهندگان و همکاران
“Simple Mobile URL Redirect” نرم افزار متن باز است. افراد زیر در این افزونه مشارکت کردهاند.مشارکت کنندگان
- Tested in 5.5, it works!
- Fixed home page only redirect
- Fixed various bugs in WordPress 4.1+
- Removed tablet option and moved entirely to wp_is_mobile() function
- Reverted a fix that broke redirect home page only
- Fixed issues with caching
- Added support for windows phones
- Added redirect home page option
- Added json redirect support
- Tested tablet support, appears to be working as intended
- Fixed php notice HTTP_ALL
- Added support to chose how to redirect tablet traffic
- Updated included instructions
- Code clean up
- Use core’s mobile detection
- New option to redirect only once
- Fixed bug with missing functon is_mobile()
- Stable version and includes 301/302 option