0

How can i make automatic redirect to mobile site if user enter it from mobile ( see description )

Hi, i need help. first sorry for my language now if you go to www.youtube.com or www.twitter.com from mobile you will be redirect to www.m.youtube.com ( mobile version of youtube site ) so, how can i do that in my site ,, thanks

12th Apr 2018, 3:12 PM
Abdelrahman Ashref
Abdelrahman Ashref - avatar
4 Réponses
+ 1
Go to Cpanel add sub domain. Then add redirect to your main domain to your sub domain name with queries.
12th Apr 2018, 3:17 PM
Akib
Akib - avatar
12th Apr 2018, 3:26 PM
Akib
Akib - avatar
0
ok but how can it will redirect him to the mobile version , if i added a sub domain for example mobile.example.org and my main domain is example.org how it will redirect him from example.org to mobile.example.org ?
12th Apr 2018, 3:22 PM
Abdelrahman Ashref
Abdelrahman Ashref - avatar
0
thanks, i will check it.
12th Apr 2018, 3:28 PM
Abdelrahman Ashref
Abdelrahman Ashref - avatar