• 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)
  • Looks like there may be a plugin for that. Plugin Link Here.. Let me know if this might resolve your issues.

    Thread Starter coupontales

    (@coupontales)

    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 , 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 [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.