Title: Mobile redirection
Last modified: August 24, 2016

---

# Mobile redirection

 *  [coupontales](https://wordpress.org/support/users/coupontales/)
 * (@coupontales)
 * [10 years, 11 months ago](https://wordpress.org/support/topic/mobile-redirection-2/)
 * Hello ,
 * My website is `http://www.coupontales.com` ,
    I am having two more Domains `http://
   www.thecoupondeals.in` and `wwww.coupontales.in` , All my domains are redirected
   to `http://www.coupontales.com`
 * I have created a sub-domain m.coupontales.com for mobile version ( the design
   and content of the websites are different ) , I need help regarding the redirection
   for mobile users.
 * If any one could help me with .htaccess code to redirect my mobile traffic of
   all the three domains to m.coupontales.com it will be a great favor 🙂
 * Is it possible that whenever a desktop user types `m.coupontales.com` it should
   redirect to `http://www.coupontales.com` , because the design and content of 
   the websites are different ?

Viewing 2 replies - 1 through 2 (of 2 total)

 *  [jc62](https://wordpress.org/support/users/jc62/)
 * (@jc62)
 * [10 years, 10 months ago](https://wordpress.org/support/topic/mobile-redirection-2/#post-6153048)
 * Looks like there may be a plugin for that. [Plugin Link Here.](https://wordpress.org/plugins/simple-mobile-url-redirect/faq/).
   Let me know if this might resolve your issues.
 *  Thread Starter [coupontales](https://wordpress.org/support/users/coupontales/)
 * (@coupontales)
 * [10 years, 10 months ago](https://wordpress.org/support/topic/mobile-redirection-2/#post-6153049)
 * Hey jc62 , thank you ….
    it worked woith plugin and i just saw a feature within
   my CDN i can just use it to redirect mobile users to mobiel subdomain.
 * but i got a problem with desktop users,
 * If any dektop users use m.coupontales.com it should redirect to [http://www.coupontales.com](http://www.coupontales.com),
   for which i am using this .htacccess code
 * RewriteEngine On
    RewriteCond %{QUERY_STRING} !^desktop RewriteCond %{HTTP_USER_AGENT}“
   android|blackberry|googlebot-mobile|iemobile|iphone|ipod|#opera mobile|palmos
   |webos” [NC] RewriteRule ^$ [http://m.website.com](http://m.website.com) [L,R
   =302]
 * but as i use wordpress , whenever i go to m.coupontales.com/wp-admin , it is 
   redirecting me to coupontales.com/wp-admin .. how can i access admin panel ???

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Mobile redirection’ is closed to new replies.

## Tags

 * [mobile](https://wordpress.org/support/topic-tag/mobile/)
 * [Themes](https://wordpress.org/support/topic-tag/themes/)
 * [url](https://wordpress.org/support/topic-tag/url/)

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 2 replies
 * 2 participants
 * Last reply from: [coupontales](https://wordpress.org/support/users/coupontales/)
 * Last activity: [10 years, 10 months ago](https://wordpress.org/support/topic/mobile-redirection-2/#post-6153049)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
